version 1.12, 2005/04/11 19:59:07 |
version 1.13, 2006/03/16 19:32:46 |
|
|
#endif /* not lint */ |
#endif /* not lint */ |
|
|
#include "tip.h" |
#include "tip.h" |
|
|
/* |
/* |
* tip |
* tip |
* |
* |
|
|
* sent by TIPIN when it wants to posses the remote host |
* sent by TIPIN when it wants to posses the remote host |
*/ |
*/ |
void |
void |
intIOT() |
intIOT(int signo) |
{ |
{ |
|
|
write(repdes[1],&ccc,1); |
write(repdes[1],&ccc,1); |
|
|
* accepts script file name over the pipe and acts accordingly |
* accepts script file name over the pipe and acts accordingly |
*/ |
*/ |
void |
void |
intEMT() |
intEMT(int signo) |
{ |
{ |
char c, line[256]; |
char c, line[256]; |
char *pline = line; |
char *pline = line; |
|
|
void |
void |
intTERM(int signo) |
intTERM(int signo) |
{ |
{ |
|
|
if (boolean(value(SCRIPT)) && fscript != NULL) |
if (boolean(value(SCRIPT)) && fscript != NULL) |
fclose(fscript); |
fclose(fscript); |
if (signo && tipin_pid) |
if (signo && tipin_pid) |
|
|
} |
} |
|
|
void |
void |
intSYS() |
intSYS(int signo) |
{ |
{ |
|
|
setboolean(value(BEAUTIFY), !boolean(value(BEAUTIFY))); |
setboolean(value(BEAUTIFY), !boolean(value(BEAUTIFY))); |
|
|
* ****TIPOUT TIPOUT**** |
* ****TIPOUT TIPOUT**** |
*/ |
*/ |
void |
void |
tipout() |
tipout(void) |
{ |
{ |
char buf[BUFSIZ]; |
char buf[BUFSIZ]; |
char *cp; |
char *cp; |