You are not logged in.
Hi!
Recently I discovered that whenever I type ^C in a console, it actually prints it..
I'm not sure how long it's been there as I havn't really noticed it before.
I've seen it on several installations, and the only connection I can see is that all 2009.2 installs have this behaviour... earlier does not.
Also it's bash 4.x on the 2009.2 installs, while the older uses 3.x..
It's no big deal, but quite annoying having it printing that =P
(I can only see this happen with ^C)
Any hints on how to get rid of it?
Regards
/Diddi
Last edited by diddi (2009-07-10 15:15:52)
Offline
Any hints on how to get rid of it?
bar 2 item 3
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Is there anything in the changelog of new bash version ?
Offline
what's the output of your PS1 variable ?
│aron@deb-aron:~$ echo $PS1
│${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
This is mine.
Offline
i fixed installing a old one libreadline package, with bash3x ...
Offline
Thanks enito for hinting with readline... that lead me to a post I found on stackoverflow.com about this.
Setting "-ctlecho" with the stty command actually solved the problem. (man stty)
Thanks all (:
/Diddi
Offline
Hi, thats look a nice fix, and how i setyp stty? for default get this -cltecho?
thx!
Offline
aa found apprently, adding this in /etc/profile can works..
thx!
Offline
actually works in ~/.bash_profile too
edit: but does not work after restarting..
stty -ctlecho
Last edited by quarkup (2009-08-13 12:04:19)
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
or simply in ~/.bashrc.
Offline
Thanks enito for hinting with readline... that lead me to a post I found on stackoverflow.com about this.
Setting "-ctlecho" with the stty command actually solved the problem. (man stty)
Cool, learned something. Thanks!
Offline