home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14539 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.2 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ucbvax!ucdavis!arons
  2. From: arons@tyfon.eecs.ucdavis.edu (Tom Arons)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Problems with HPterm and tcsh
  5. Message-ID: <ARONS.93Jan5163503@tyfon.eecs.ucdavis.edu>
  6. Date: 6 Jan 93 00:35:03 GMT
  7. References: <1ia3n6INNqnm@ensta.ensta.fr>
  8. Sender: usenet@ucdavis.ucdavis.edu
  9. Organization: University of California at Davis
  10. Lines: 16
  11. In-reply-to: bouyer@babette.ensta.fr's message of 4 Jan 93 19:38:14 GMT
  12.  
  13. In article <1ia3n6INNqnm@ensta.ensta.fr> bouyer@babette.ensta.fr (Manuel Bouyer) writes:
  14.  
  15.    I have some problems with HPterm (Xwindow) amd tcsh: HPterm uses itself the 
  16.    arrow keys and don't send the sequences to tcsh. I'd prefer not to use xterm,
  17.    because HPterm has some usefull options (as -map). Is there a solution to have
  18.    the advantages of HPterm AND tcsh ?
  19.  
  20. This is what works for me:
  21.  
  22. alias precmd 'echo -n `tput smkx`'
  23.  
  24. in my .cshrc.  The tput smkx makes the cursor commands do the right thing.  Aliasing it to precmd
  25. assures that if some program you run resets the tty modes the damage will be undone by the
  26. time you give the next command to the shell.  I think I picked this fix up in this newsgroup
  27. a while ago.
  28.   Tom Arons
  29.