[BACK]Return to tipout.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tip

Diff for /src/usr.bin/tip/Attic/tipout.c between version 1.12 and 1.13

version 1.12, 2005/04/11 19:59:07 version 1.13, 2006/03/16 19:32:46
Line 38 
Line 38 
 #endif /* not lint */  #endif /* not lint */
   
 #include "tip.h"  #include "tip.h"
   
 /*  /*
  * tip   * tip
  *   *
Line 52 
Line 53 
  *   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);
Line 65 
Line 66 
  *  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;
Line 97 
Line 98 
 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)
Line 106 
Line 106 
 }  }
   
 void  void
 intSYS()  intSYS(int signo)
 {  {
   
         setboolean(value(BEAUTIFY), !boolean(value(BEAUTIFY)));          setboolean(value(BEAUTIFY), !boolean(value(BEAUTIFY)));
Line 117 
Line 117 
  * ****TIPOUT   TIPOUT****   * ****TIPOUT   TIPOUT****
  */   */
 void  void
 tipout()  tipout(void)
 {  {
         char buf[BUFSIZ];          char buf[BUFSIZ];
         char *cp;          char *cp;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13