home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- 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
- From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
- Subject: Re: cmdtool, shelltool, and korn shell
- Message-ID: <1992Nov19.084821.22795@cbfsb.cb.att.com>
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- References: <1ebeu0INNiaf@transfer.stratus.com>
- Date: Thu, 19 Nov 1992 08:48:21 GMT
- Lines: 31
-
- From article <1ebeu0INNiaf@transfer.stratus.com>, by waisnor@norland.diag.stratus.com (Robert Waisnor):
- > I wonder if someone could tell me why my korn shell command line editor will
- > not function while running in a cmdtool window. I've got VI and VISUAL set
- > right. But the escape key is not being interpreted by the shell. A shelltool
- > window works ok.
-
- I don't know why but I know how to fix it:
-
- set -o viraw
-
- Put this in your rc file (specified by the ENV variable) and all will be fine.
-
- > Also, can I change the title bar dynamically (display my
- > current working directory)?????
- >
-
- This is all documented (somewhere) but here is a function for the header
- and icon label (second parameter):
-
- function Header
- {
- print -n "\033]l$1\033\\"
- if (( $# == 2 ))
- then
- print -n "\033]L$2\033\\"
- fi
- return $?
- }
-
- > Bob Waisnor
- >
-