home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / protocol / tcpip / ibmpc / 6978 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.3 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!psuvax1!psuvm!hdk
  2. Organization: Penn State University
  3. Date: Wed, 16 Dec 1992 14:52:35 EST
  4. From: H. D. Knoble <HDK@psuvm.psu.edu>
  5. Message-ID: <92351.145235HDK@psuvm.psu.edu>
  6. Newsgroups: comp.protocols.tcp-ip.ibmpc
  7. Subject: Re: kermit + ethernet, pc - sun Date: 16 Dec 1992 10:06 PDT
  8. Distribution: world Keywords:  kermit,ethernet,sun,ibm
  9. References:  <16DEC199210122099@eql.caltech.edu>
  10. Lines: 42
  11.  
  12. Following is a somewhat general MS-Kermit DOS .BAT file and .INI file that
  13. in effect issues TELNET to HostName. The file VT300.INI is part of the
  14. file /kermit/bin/msvibm.zip  on the anonymous FTP Columbia Server at
  15. WATSUN.CC.COLUMBIA.EDU. On the SUN you may wish to also add the following
  16. to your SUN profile:
  17.                      set term vt320
  18.                      stty decctlq intr "^C" erase "^H"
  19. where the character just before C and H is the ASCII Character (94) Caret.
  20. This may help for some SUN functions. The SET TERM  is necessary if you
  21. are going to use the (full-screen) vi editor.  You could set term vt100
  22. instead if vt320 isn't recognized. The files PSUTCP.BAT and PSUTCP.INI
  23. follow:
  24.  
  25. @Echo off
  26. REM PSUTCP.BAT
  27. REM DOS Batch file to use to show use of MS-Kermit 3.12 with TCP/IP
  28. REM running over 'class 1' device using a Clarkson packet driver, IBMTOKEN.
  29. REM R. L. Divany, RLD@PSUVM PSU/CSSL/ECE 09/04/91 Version 1.00
  30. ibmtoken 0x61 0
  31. REM Set default HostName if one is not supplied as 1st argument.
  32. set host=%1
  33. if "%1" == "" set host=psusun1
  34. REM Invoke MS-Kermit to Telnet to %host%.
  35. msvibm -f psutcp.ini, Do telnet %host%, stay
  36. set host=
  37. REM End PSUTCP.BAT
  38.  
  39. ; PSUTCP.INI
  40. ; R. L. Divany, H. D. Knoble - Penn State University
  41. ;if exist mskermit.pch if equal \v(version) 312 patch; install patch.
  42. def telnet SET TCP/IP HOST \%1, SET PORT TCP/IP, connect
  43. SET TERM VT320;      Note this supports full color.
  44. SET TCP/IP ADDRESS 128.118.50.86  ;This is your host e.g. HDK in 214C
  45. SET TCP/IP GATEWAY 128.118.50.1   ;This is your Router
  46. SET TCP/IP PRIMARY-NAMESERVER 128.118.25.3   ;This is nameserver 1.
  47. SET TCP/IP SECONDARY-NAMESERVER 130.203.3.2  ;    and nameserver 2.
  48. SET TCP/IP DOMAIN PSU.EDU                    ;tacked on to HostNames.
  49. SET TCP/IP SUBNETMASK 255.255.255.0          ;Get this right.
  50. SET DISPLAY 8
  51. SET TERMINAL COLOR 0, 37, 44
  52. take vt300.ini                               ;map keys for a VTxxx.
  53. ; End of PSUTCP.INI
  54.