bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] Echoing of control chars in readline


From: Joe Peterson
Subject: [Bug-readline] Echoing of control chars in readline
Date: Mon, 14 Jul 2008 07:45:16 -0600
User-agent: Thunderbird 2.0.0.14 (X11/20080620)

Hi all,

I patched the Linux kernel a few months ago (change appeared in 2.6.25)
to allow control chars to be echoed (the "stty echoctl" functionality) -
this had been missing in previous kernels, and it was something that was
missing in Linux but existed in most/all other Unix variants.

I now notice that these echos are also suppressed by readline.  I.e., if
I hit ctrl-c on the command line, no "^C" appears.  To be consistent
with the kernel tty behavior, would it make sense to add this ability to
readline?  I can imagine it would be useful to know, e.g., that I hit
ctrl-c after typing a command (this canceling it) in a shell rather than
hitting enter, but as it stands now, they are visually the same, so
looking at previous commands in the shell window does not give this
info.  Thoughts?

                                                -Joe





reply via email to

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