home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!elroy.jpl.nasa.gov!news.claremont.edu!fenris!jwinstea
- From: jwinstea@fenris.claremont.edu (Jim Winstead Jr.)
- Subject: Re: bash & (literal) ESCape character
- Message-ID: <1992Aug23.020134.11081@muddcs.claremont.edu>
- Sender: news@muddcs.claremont.edu (The News System)
- Organization: Harvey Mudd College, WIBSTR
- References: <1992Aug22.230512.132343@ns1.cc.lehigh.edu>
- Date: Sun, 23 Aug 1992 02:01:34 GMT
- Lines: 22
-
- In article <1992Aug22.230512.132343@ns1.cc.lehigh.edu> jjk1@ns1.cc.lehigh.edu (Konsultant Josh/fuzzy.happy.green.box) writes:
- >(This could be solved when I actually pull some stuff off the .97 root
- >disk as opposed to just using .97pl1+, but I would doubt it...)
- >
- >When using bash, theoretically pressing \ before an ESC should give
- >you an escape character. This is tremendously useful for things like
- >the echo sequence that will change the title bar of an xterm.
- >Unfortunately, I haven't been able to enter an ESCape without the
- >shell interpreting it. Does anyone have an easy solution, or is this
- >a bash recompilation-type of thing?
-
- Um, I don't know that the \ key normally does any sort of interactive
- quoting like you describe - to enter a literal 'escape' at the command
- line, use C-V ESC. (Control-V, then ESC.)
-
- You could redefine the \ key to be the quoted-insert key, but then
- you'd have to type \ twice to get a real \ on the command line.
- --
- + Jim Winstead Jr. (CSci '95)
- | Harvey Mudd College, WIBSTR
- | jwinstea@jarthur.Claremont.EDU
- + or jwinstea@fenris.Claremont.EDU
-