bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BASH Frequently-Asked Questions (FAQ version 3.9)


From: Chet Ramey
Subject: Re: BASH Frequently-Asked Questions (FAQ version 3.9)
Date: Fri, 10 Nov 2000 10:33:37 -0500

> I can't find this answer in the FAQ or the manual page: When using sh,
> at the Unix prompt if I press the ESC key, I see ^[ appear on my
> screen. Under bash, I can't see this character visually. I'm not trying
> to generate this in a script -- I already know about \e. I need to be
> able to pass ESC and control characters from a terminal emulation
> package. Works under sh but not under bash.
> 
> What am I missing? How do I turn OFF bash's apparent filtering of
> escape/control bytes?

ESC is the readline meta-prefix.  If you want to insert a literal ESC,
or any other character that has a special meaning, for that matter,
type ^V first (which is bound to `quoted-insert'). 

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]