home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8852 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.7 KB  |  34 lines

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