[X2serv-cvs] CVS: x2/tools botcheck.c,1.2,1.3 chanregen.sh,1.1.1.1,1.2 conv.pl,1.1,1.2 helpchange.pl
Brought to you by:
sirvulcan
From: Alex S. <ru...@us...> - 2001-05-31 01:50:52
|
Update of /cvsroot/x2serv/x2/tools In directory usw-pr-cvs1:/tmp/cvs-serv3375 Modified Files: botcheck.c chanregen.sh conv.pl helpchange.pl Removed Files: chanregen.sh.-version3.x x2db-4to5.pl Log Message: Cleaned up the tools/ directory somewhat. Index: botcheck.c =================================================================== RCS file: /cvsroot/x2serv/x2/tools/botcheck.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** botcheck.c 2000/08/28 07:44:12 1.2 --- botcheck.c 2001/05/31 01:50:28 1.3 *************** *** 1,2 **** --- 1,8 ---- + /* Copyright 1996 Steve H. -- GPL + * + * Reads output of 'ps x' from stdin and executes a process if it isn't found + * to be running. There are _WAY_ better ways to do this..this one is a dirty hack + * and should be avoided unless you understand what your doing. + */ #include <stdio.h> Index: chanregen.sh =================================================================== RCS file: /cvsroot/x2serv/x2/tools/chanregen.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** chanregen.sh 2000/04/26 03:22:50 1.1.1.1 --- chanregen.sh 2001/05/31 01:50:28 1.2 *************** *** 1,4 **** #!/bin/sh ! # this is untested for 5.0 but should work as modified echo "Regenerating a new chan.dat..." cd ../CHANS --- 1,12 ---- #!/bin/sh ! # ! # This simple shell script generates a new chan.dat file ! # based on the contents of the CHANS/ directory. Good in the ! # case where chan.dat was lost but CHANS/ wasn't. ! # ! # NOTE: this is untested for 5.0 but should work as modified ! # ! # Copyright 1998 Steven Fuller -- GPL ! # echo "Regenerating a new chan.dat..." cd ../CHANS Index: conv.pl =================================================================== RCS file: /cvsroot/x2serv/x2/tools/conv.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** conv.pl 2000/11/17 10:53:26 1.1 --- conv.pl 2001/05/31 01:50:28 1.2 *************** *** 1,3 **** --- 1,10 ---- #!/usr/bin/perl + # + # This was an attempt to remove the '//' type comments in the c code and replace them + # with '/* */' type comments, because some older gcc's cant handle c++ type '//' comments. + # + # Its not really here to be run, but just as a reference for the next time something similar + # needs to be done.. + # #print $ARGV[0]; $s = $ARGV[0]; Index: helpchange.pl =================================================================== RCS file: /cvsroot/x2serv/x2/tools/helpchange.pl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** helpchange.pl 2000/04/26 03:22:50 1.1.1.1 --- helpchange.pl 2001/05/31 01:50:28 1.2 *************** *** 3,6 **** --- 3,11 ---- # one string to another.. in the help file. # dont use it if you dont know perl. + # + # VERY handy for changing a command name reference in help files, for eg. + # + # Copyright 2000 Rubin - GPL (not that theres enough here to warrant a liscense) + # $dirname = '/home/rubin/x2serv-ts4/HELPTMP'; --- chanregen.sh.-version3.x DELETED --- --- x2db-4to5.pl DELETED --- |