home *** CD-ROM | disk | FTP | other *** search
Korn shell script | 1998-10-24 | 1.0 KB | 27 lines |
- #!/bin/ksh
- # Unix (ksh) shell script for the knm netcall tool
-
- # *** Feed the following arguments to this startup file:
- # 1. Options (optional) :
- # -c contact internet servers. If present,
- # all other arguments are optional.
- # -f filename starts knm with this configuration file
- # -s server connects to this server instead of localhost
- # 2. Gateway Name
- # 3. User Name
- # 4. User Password
- # 5. Command (currently one of GETOLD and JANUS)
- # JANUS performs a normal Janus Netcall
- # GETOLD (re)sends all articles from subscribed groups still available
- # 6. Path the called "puffer" file should be put into
- # 7. Complete caller "puffer" filename (not needed for GETOLD command)
- # Careful: this is all case sensitive!
-
- # *** Set these variables according to your needs
-
- export knmpath=.
-
- rem *** End of environment variables to set
-
- java -classpath $classpath';'$knmpath'/knm.jar net.ibm.malamut.newsmail.netcall.Netcaller' $*
-