[comp.sources.misc] v13i022: tipx patch 1

wht@gatech.edu@n4hgf.UUCP (Warren Tucker) (06/03/90)

Posting-number: Volume 13, Issue 22
Submitted-by: wht@gatech.edu@n4hgf.UUCP (Warren Tucker)
Archive-name: tipx/patch01

This patch enables the rz and ry commands to be issued without
arguments.  Previously a space had to appear after rz or ry
for the file transfer commands to work.  Sorry.

*** old-cmds.c	Fri Jun  1 18:21:55 1990
--- cmds.c	Fri Jun  1 18:21:07 1990
***************
*** 629,635
  		sprintf(xcmd,"tipsz -Y -k -. %d ",FD);
  	else if(!strncmp(buf,"sx ",3))
  		sprintf(xcmd,"tipsz -X -. %d ",FD);
! 	else if(!strncmp(buf,"rz ",3))
  		sprintf(xcmd,"tiprz -Z -. %d ",FD);
  	else if(!strncmp(buf,"ry ",3))
  		sprintf(xcmd,"tiprz -Y -. %d ",FD);

--- 629,635 -----
  		sprintf(xcmd,"tipsz -Y -k -. %d ",FD);
  	else if(!strncmp(buf,"sx ",3))
  		sprintf(xcmd,"tipsz -X -. %d ",FD);
! 	else if(!strncmp(buf,"rz",2))
  		sprintf(xcmd,"tiprz -Z -. %d ",FD);
  	else if(!strncmp(buf,"ry",2))
  		sprintf(xcmd,"tiprz -Y -. %d ",FD);
***************
*** 631,637
  		sprintf(xcmd,"tipsz -X -. %d ",FD);
  	else if(!strncmp(buf,"rz ",3))
  		sprintf(xcmd,"tiprz -Z -. %d ",FD);
! 	else if(!strncmp(buf,"ry ",3))
  		sprintf(xcmd,"tiprz -Y -. %d ",FD);
  	else if(!strncmp(buf,"rx ",3))
  		sprintf(xcmd,"tiprz -X -. %d ",FD);

--- 631,637 -----
  		sprintf(xcmd,"tipsz -X -. %d ",FD);
  	else if(!strncmp(buf,"rz",2))
  		sprintf(xcmd,"tiprz -Z -. %d ",FD);
! 	else if(!strncmp(buf,"ry",2))
  		sprintf(xcmd,"tiprz -Y -. %d ",FD);
  	else if(!strncmp(buf,"rx ",3))
  		sprintf(xcmd,"tiprz -X -. %d ",FD);
*** old-tip.c	Fri Jun  1 18:24:51 1990
--- tip.c	Fri Jun  1 18:25:23 1990
***************
*** 1,5
! char *tipx_rev = "x1.20";
! #define PATCHLEVEL 0 /* may it remain ever so */
  /*
   * Copyright (c) 1983 The Regents of the University of California.
   * All rights reserved.

--- 1,5 -----
! char *tipx_rev = "x1.21";
! #define PATCHLEVEL 1
  /*
   * Copyright (c) 1983 The Regents of the University of California.
   * All rights reserved.

---------------------------------------------------------------------
Warren Tucker, TuckerWare    gatech!n4hgf!wht or wht%n4hgf@gatech.edu
Any perceptible delay will eventually get on your nerves. --Bob Hyers