home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11608 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.3 KB

  1. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!olivea!gossip.pyramid.com!pyramid!ctnews!mitisft!dold
  2. From: dold@mitisft.Convergent.COM (Clarence Dold)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: showing the current directory in the status bar.
  5. Message-ID: <2979@mitisft.Convergent.COM>
  6. Date: 15 Nov 92 21:23:18 GMT
  7. Organization: Unisys Unix Systems Group, San Jose, CA
  8. Lines: 19
  9.  
  10.  
  11. From article <14NOV199209415284@ctrvx1.vanderbilt.edu>, by umarsa00@ctrvx1.vanderbilt.edu (PROF. A.S. UMAR, (615)322-2459):
  12. > I had obtained from this news group some scripts for putting the hostname
  13. > and the current directory on the status line of an aixterm window. It works
  14. > very well except I would like the status line to change also when I telnet
  15. > or ftp to another host from this window. Does anyone know how to do this.
  16.  
  17. I have the same .kshrc on the other machine.  I also have 
  18. trap 'clearterm' 0
  19. in my .kshrc, where clearterm erases the name, so I don't get confused after
  20. I logout, back to my original system.
  21. You can also embed this titlebar display as part of your ksh prompt, so that
  22. it gets updated, along with a $PWD-style prompt.
  23.  
  24.  
  25. -- 
  26. ---
  27. Clarence A Dold - dold@tsmiti.Convergent.COM
  28.                ...pyramid!ctnews!tsmiti!dold
  29.