tcpip.c (17007) | tcpip.c (17404) |
---|---|
1/* | 1/* |
2 * $Id: tcpip.c,v 1.43 1996/07/02 01:03:55 jkh Exp $ | 2 * $Id: tcpip.c,v 1.44 1996/07/08 10:08:22 jkh Exp $ |
3 * 4 * Copyright (c) 1995 5 * Gary J Palmer. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 219 unchanged lines hidden (view full) --- 230 ComposeObj *first, *last; 231 int n=0, quit=FALSE, cancel=FALSE, ret; 232 int max; 233 char *tmp; 234 char help[FILENAME_MAX]; 235 char title[80]; 236 237 save = savescr(); | 3 * 4 * Copyright (c) 1995 5 * Gary J Palmer. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 219 unchanged lines hidden (view full) --- 230 ComposeObj *first, *last; 231 int n=0, quit=FALSE, cancel=FALSE, ret; 232 int max; 233 char *tmp; 234 char help[FILENAME_MAX]; 235 char title[80]; 236 237 save = savescr(); |
238 dialog_clear(); | 238 dialog_clear_norefresh(); |
239 /* We need a curses window */ 240 ds_win = newwin(LINES, COLS, 0, 0); 241 if (ds_win == 0) 242 msgFatal("Cannot open TCP/IP dialog window!!"); 243 244 /* Say where our help comes from */ 245 systemHelpFile(TCP_HELPFILE, help); 246 use_helpfile(help); --- 214 unchanged lines hidden (view full) --- 461 if (((tmp = index(hostname, '.')) != NULL) && (strlen(domainname)==0)) { 462 strncpy(domainname, tmp + 1, strlen(tmp + 1)); 463 domainname[strlen(tmp+1)] = '\0'; 464 RefreshStringObj(layout[1].obj); 465 } 466 } 467 468 /* Clear this crap off the screen */ | 239 /* We need a curses window */ 240 ds_win = newwin(LINES, COLS, 0, 0); 241 if (ds_win == 0) 242 msgFatal("Cannot open TCP/IP dialog window!!"); 243 244 /* Say where our help comes from */ 245 systemHelpFile(TCP_HELPFILE, help); 246 use_helpfile(help); --- 214 unchanged lines hidden (view full) --- 461 if (((tmp = index(hostname, '.')) != NULL) && (strlen(domainname)==0)) { 462 strncpy(domainname, tmp + 1, strlen(tmp + 1)); 463 domainname[strlen(tmp+1)] = '\0'; 464 RefreshStringObj(layout[1].obj); 465 } 466 } 467 468 /* Clear this crap off the screen */ |
469 dialog_clear(); 470 refresh(); | 469 dialog_clear_norefresh(); |
471 use_helpfile(NULL); 472 473 /* We actually need to inform the rest of sysinstall about this 474 data now - if the user hasn't selected cancel, save the stuff 475 out to the environment via the variable_set layers */ 476 477 if (!cancel) { 478 DevInfo *di; --- 98 unchanged lines hidden --- | 470 use_helpfile(NULL); 471 472 /* We actually need to inform the rest of sysinstall about this 473 data now - if the user hasn't selected cancel, save the stuff 474 out to the environment via the variable_set layers */ 475 476 if (!cancel) { 477 DevInfo *di; --- 98 unchanged lines hidden --- |