home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 13267 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  3.0 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!pagesat!netsys!agate!linus!linus.mitre.org!crawford
  2. From: crawford@boole.mitre.org (Randy Crawford)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: tcsh, emacs, rlogin and termcap support
  5. Keywords: tcsh, emacs, rlogin, termcap
  6. Message-ID: <1992Nov23.220954.23628@linus.mitre.org>
  7. Date: 23 Nov 92 22:09:54 GMT
  8. References: <1992Nov23.153242.10946@relay.nswc.navy.mil>
  9. Sender: crawford@boole (Randy Crawford)
  10. Organization: The MITRE Corporation, McLean, VA
  11. Lines: 53
  12. Originator: crawford@boole.mitre.org
  13. Nntp-Posting-Host: boole.mitre.org
  14.  
  15.  
  16. In article <1992Nov23.153242.10946@relay.nswc.navy.mil>, whiles@nswc.navy.mil (William Scott Hiles x1568) writes:
  17. > There was some discussion on the termcap for HP-UX but the responses seem to 
  18. > indicate that HP does not think (or want) applications to run on multiple
  19. > platforms.  The responses seem to indicate that there are not applications
  20. > which will run on a sun and a HP.
  21.  
  22. Nah.  We do it all the time. 
  23.  
  24. > Example 1:
  25. >   TCSH is very popular and is available on the sun, sgi, dec, and ibm platforms.  
  26. >   This enhanced (much better than anything previously available) shell uses the
  27. >   termcap and requires the termcap library to be compiled completely.  When using
  28. >   the NIS to allow the passwd to be shared across machines composed of suns,
  29. >   or SGIs, or anything else, you are limited the common shell.  Users of our system
  30. >   want tcsh to the extend that they would rather just not use the HP system than
  31. >   give up the tcsh functionality.  
  32. >   My solution to this problem was to get the emacs 18.58 files and copy the
  33. >   src/termcap.c and src/tparam.c to the tcsh directory and modify the following
  34. >   lines in the Makefile for tcsh-6.00:
  35.  
  36. Don't do that.  Log in with a xterm.  Tcsh works fine for us on both architectures.
  37.  
  38. > Example 2:
  39. >   Emacs is a very popular editor for all platforms but it requires termcap to
  40. >   work.  It comes with the necessary code to be compiled without a termcap 
  41. >   library, but you need a good termcap file.  I could not find one on my system
  42. >   by typing "find / -name termcap -print" so I got one from some other system
  43. >   and added the alias of hpterm to the hp2621.  It works fine.
  44.  
  45. Use an xterm, not a hpterm.  Emacs and lemacs work fine here in xterms.
  46.  
  47. > Example 3: 
  48. >   It is very common for us to rlogin to another system.  The HP does not recognize
  49. >   the sun-cmd ad a type of terminal and the sun does not recognize the hpterm
  50. >   as a valid terminal.  
  51.  
  52. Both systems understand xterms (busted record here).
  53.  
  54. Gee.  It seems I've solved all three of your problems.  Stay away from proprietary
  55. terminal emulators (sun-cmd or hpterm) and you'll be fine.
  56.  
  57. (IMHO, the only good use for an hpterm is running SAM after rlogin-ing into a pre-
  58. HP/UX 8.0 machine.)
  59. -- 
  60.  
  61. | Randy Crawford        crawford@mitre.org        The MITRE Corporation
  62. |                                                 7525 Colshire Dr., MS Z421
  63. | N=1 -> P=NP           703 883-7940              McLean, VA  22102
  64.