msg.c (17065) | msg.c (17362) |
---|---|
1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last program in the `sysinstall' line - the next 5 * generation being essentially a complete rewrite. 6 * | 1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last program in the `sysinstall' line - the next 5 * generation being essentially a complete rewrite. 6 * |
7 * $Id: msg.c,v 1.36 1996/06/14 14:33:57 jkh Exp $ | 7 * $Id: msg.c,v 1.37 1996/07/10 11:38:28 jkh Exp $ |
8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 61 unchanged lines hidden (view full) --- 77 char *errstr; 78 int i, attrs; 79 char line[81]; 80 81 attrs = getattrs(stdscr); 82 /* NULL is a special convention meaning "erase the old stuff" */ 83 if (!fmt) { 84 move(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0); | 8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 61 unchanged lines hidden (view full) --- 77 char *errstr; 78 int i, attrs; 79 char line[81]; 80 81 attrs = getattrs(stdscr); 82 /* NULL is a special convention meaning "erase the old stuff" */ 83 if (!fmt) { 84 move(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0); |
85 attrset(A_NORMAL); | |
86 clrtoeol(); | 85 clrtoeol(); |
87 attrset(attrs); | |
88 return; 89 } 90 errstr = (char *)alloca(FILENAME_MAX); 91 va_start(args, fmt); 92 vsnprintf(errstr, FILENAME_MAX, fmt, args); 93 va_end(args); 94 memset(line, ' ', 80); 95 for (i = 0; i < 80; i++) { --- 242 unchanged lines hidden --- | 86 return; 87 } 88 errstr = (char *)alloca(FILENAME_MAX); 89 va_start(args, fmt); 90 vsnprintf(errstr, FILENAME_MAX, fmt, args); 91 va_end(args); 92 memset(line, ' ', 80); 93 for (i = 0; i < 80; i++) { --- 242 unchanged lines hidden --- |