version 1.16, 2003/06/03 02:56:17 |
version 1.17, 2003/06/10 22:20:52 |
|
|
* and build the various windows. |
* and build the various windows. |
*/ |
*/ |
void |
void |
init_display() |
init_display(void) |
{ |
{ |
struct sigaction sa; |
struct sigaction sa; |
|
|
|
|
* connection are the three edit characters. |
* connection are the three edit characters. |
*/ |
*/ |
void |
void |
set_edit_chars() |
set_edit_chars(void) |
{ |
{ |
u_char buf[3]; |
u_char buf[3]; |
int cc; |
int cc; |
|
|
} |
} |
|
|
void |
void |
sig_sent(dummy) |
sig_sent(int dummy) |
int dummy; |
|
{ |
{ |
|
|
quit("Connection closing. Exiting", 0); |
quit("Connection closing. Exiting", 0); |
} |
} |
|
|
void |
void |
sig_winch(dummy) |
sig_winch(int dummy) |
int dummy; |
|
{ |
{ |
|
|
gotwinch = 1; |
gotwinch = 1; |
|
|
* All done talking...hang up the phone and reset terminal thingy's |
* All done talking...hang up the phone and reset terminal thingy's |
*/ |
*/ |
void |
void |
quit(warning, do_perror) |
quit(char *warning, int do_perror) |
char *warning; |
|
int do_perror; |
|
{ |
{ |
|
|
if (curses_initialized) { |
if (curses_initialized) { |
|
|
* If we get SIGWINCH, recompute both window sizes and refresh things. |
* If we get SIGWINCH, recompute both window sizes and refresh things. |
*/ |
*/ |
void |
void |
resize_display() |
resize_display(void) |
{ |
{ |
struct winsize ws; |
struct winsize ws; |
|
|