home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / openloo / 4575 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.3 KB  |  43 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!cbnewsd!att-out!cbfsb!cbnewsg.cb.att.com!nh
  3. From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
  4. Subject: Re: cmdtool, shelltool, and korn shell
  5. Message-ID: <1992Nov19.084821.22795@cbfsb.cb.att.com>
  6. Sender: news@cbfsb.cb.att.com
  7. Organization: AT&T
  8. References: <1ebeu0INNiaf@transfer.stratus.com>
  9. Date: Thu, 19 Nov 1992 08:48:21 GMT
  10. Lines: 31
  11.  
  12. From article <1ebeu0INNiaf@transfer.stratus.com>, by waisnor@norland.diag.stratus.com (Robert Waisnor):
  13. > I wonder if someone could tell me why my korn shell command line editor will
  14. > not function while running in a cmdtool window.  I've got VI and VISUAL set
  15. > right.  But the escape key is not being interpreted by the shell.  A shelltool
  16. > window works ok. 
  17.  
  18. I don't know why but I know how to fix it:
  19.  
  20. set -o viraw
  21.  
  22. Put this in your rc file (specified by the ENV variable) and all will be fine.
  23.  
  24. > Also, can I change the title bar dynamically (display my 
  25. > current working directory)?????
  26.  
  27. This is all documented (somewhere) but here is a function for the header
  28. and icon label (second parameter):
  29.  
  30. function Header
  31. {
  32.         print -n "\033]l$1\033\\" 
  33.         if (( $# == 2 ))
  34.         then
  35.                 print -n "\033]L$2\033\\" 
  36.         fi
  37.         return $?
  38. }
  39.  
  40. > Bob Waisnor
  41.