home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Java / Java.zip / knm023.zip / netcall.ksh < prev    next >
Text File  |  1998-10-24  |  1KB  |  27 lines

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