home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!decwrl!netcomsv!xyzoom!rob
- From: rob@xyzoom.info.com (Rob Lingelbach)
- Subject: tcsh problem
- Message-ID: <1992Nov16.065620.21654@xyzoom.info.com>
- Organization: Altruistic Intentions, Hollywood CA
- Date: Mon, 16 Nov 1992 06:56:20 GMT
- Lines: 34
-
- Running version 6.01 of tcsh, I have a strange terminal backspace-key
- situation that I wonder if anyone else has observed. (OS is ISC v3.0,
- pretty much plain-vanilla sysv for 386)
-
- If I turn on the correct feature, with a "set correct=all", and then
- use the "e" option of the correction prompt to edit a mistyped
- command, using a backspace within an interactive script only works
- once--a second backspace immediately following the first backspace is
- something else (I'm guessing maybe ^D, or eof). The output of "stty
- -a" before and after using the "e" correction option is the same.
- Example follows:
-
- rob@xyzoom 22:41 ~ 63> Pnewt
- CORRECT>Pnews (y|n|e)?edit
- Pnews (I backspaced over the t and typed s, so far so good)
- Newsgroup(s): la.tset (now I want to backspace over t, e, and s, to
- correct my bad typing, and as soon as I do the second
- backspace, over the e, I get dumped to the next command of the
- script, the Distribution: prompt).
-
- Backspace works fine at the tcsh prompt--it's only when dealing with
- scripts like Pnews that I get the weird behavior. And I can fix the
- behavior each time by doing an "unset correct" (but I like this
- feature very much [it's still experimental?]). If I don't enter the
- "e"dit mode of the correction mechanism, and just type "y" to the
- tcsh-supplied correction, backspace works fine in scripts.
-
- Thanks in advance for any helpful hints...
- --Rob
-
- --
- Rob Lingelbach KB6CUN | 2660 Hollyridge Dr LA CA 90068 213 464 6266 (voice)
- rob@xyzoom.info.com | "I care not much for a man's religion whose dog or
- robl@netcom.com | cat are not the better for it." --Abraham Lincoln
-