[Cialug] Bash 4.1 question

Daniel A. Ramaley daniel.ramaley at drake.edu
Fri Sep 9 09:53:24 CDT 2011


That's pretty close, thanks. I ended up putting this line in my .inputrc 
file:

set echo-control-characters Off

It can also be done by playing with stty, but that breaks other 
behavior.

On 2011-09-08 at 17:01:53, Crouse wrote:
>Perhaps try adding "set disable-signal-echo on" to your .bashrc file.
>
>On Thu, Sep 8, 2011 at 3:42 PM, Daniel A. Ramaley
>
><daniel.ramaley at drake.edu>wrote:
>> On one of my machines, when i type ctrl-c bash prints "^C" and then
>> starts a fresh command prompt on the next line. On other machines
>> (including SSH sessions), it doesn't print the "^C"... it just
>> starts a new prompt on the next line.
>> 
>> Any idea what variable i have to set to change the one machine to
>> match the others? That is, to *not* print "^C"?
>> 
>> Googling for the obvious terms is not very helpful... as you might
>> imagine "ctrl-c",  "control-c", "^c" and other variants are a bit
>> too popular of search terms.
>> 
>> __
>> Daniel A. Ramaley
>> Network Engineer 2
>> 
>> Dial Center 112, Drake University
>> 2407 Carpenter Ave / Des Moines IA 50311 USA
>> Tel: +1 515 271-4540
>> Fax: +1 515 271-1938
>> E-mail: daniel.ramaley at drake.edu
>> 
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
__
Daniel A. Ramaley
Network Engineer 2

Dial Center 112, Drake University
2407 Carpenter Ave / Des Moines IA 50311 USA
Tel: +1 515 271-4540
Fax: +1 515 271-1938
E-mail: daniel.ramaley at drake.edu



More information about the Cialug mailing list