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