You are not logged in.

#1 2009-06-19 15:20:45

enito
Member
Registered: 2009-02-17
Posts: 50

strange behaviour with break control character show

Hi,

i have a strange behaviour after a upgrade, in terminal like terminal from xfce, aterm, etc and console too, when i press CONTROL + C (break control) terminal, show me now the character ^C. My question, how i can disable this ?

thx a lot for your time

Offline

#2 2009-07-05 05:17:49

SomeGuy1337
Member
Registered: 2007-08-18
Posts: 32

Re: strange behaviour with break control character show

*bump*

i have the same issue, any solution?

Offline

#3 2009-07-07 15:34:43

enito
Member
Registered: 2009-02-17
Posts: 50

Re: strange behaviour with break control character show

Hi, still waiting a reply, anyone more have the same trouble?
thx!

Offline

#4 2009-07-07 19:50:09

enito
Member
Registered: 2009-02-17
Posts: 50

Re: strange behaviour with break control character show

Aparently is a bug of new bash4, i tryed using zsh and control + c works again, but wanna fix this with bash..any tip? thx!

Offline

#5 2009-07-08 13:41:22

enito
Member
Registered: 2009-02-17
Posts: 50

Re: strange behaviour with break control character show

finnaly i found a temp fix, install a old version of bash with libreadline old..this ones fix the trouble...

Offline

#6 2009-07-08 17:53:57

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: strange behaviour with break control character show

Why is this a problem?

Offline

#7 2009-07-08 19:09:11

enito
Member
Registered: 2009-02-17
Posts: 50

Re: strange behaviour with break control character show

yep was a trouble, because everytime you press control+c you get the character with the action, is a disturb like you use some tools, like lftp, when you want correct something and you press control+c you get garbage..

Offline

#8 2009-09-25 20:34:31

hallelujah
Member
From: Paris
Registered: 2009-09-25
Posts: 2
Website

Re: strange behaviour with break control character show

Hi !
I use bash 4.0.33 and I have the same problem.
zsh is working great so I think it is a readline 6.0 issue but If someone could help us ....
It displays ^C (Ctrl-C) and ^Z (Ctrl-Z). Since readline handles some signals it seems that the trapped signal is redirected (and echoed) to the terminal by the signal handlers.

I can also report that when using irb the same problems happens and it is annoying! (irb also use readline)

Should I submit a bug to the readline list or is there a fix ?

Regards

Last edited by hallelujah (2009-09-25 20:38:46)

Offline

#9 2009-09-25 22:16:22

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: strange behaviour with break control character show

This should help.  Took me a while to remember where I had seen it but I found the answer.

From the Beginners Guide Appendix:

'Turn off Control Echo in Bash'

Some users may have noticed that since the readline update their terminal has been displaying ^C after ctrl+c has been pressed. While this is not a problem, it can be annoying. For any users who wish to disable this, simply add the following to /etc/profile or $HOME/.bash_profile:

stty -ctlecho

I added it to my ~/.bashrc.

Offline

#10 2009-09-25 23:13:32

hallelujah
Member
From: Paris
Registered: 2009-09-25
Posts: 2
Website

Re: strange behaviour with break control character show

I did that for bash (it works ...) Thanks for the tips but irb

But in irb it seems that there is another bug (probably irb implementation) I use ruby 1.9.1 p243
I will checkout subversion repository and compile it then give feedback.

EDIT :
Ok it works with the subversion stream see the bug report here : http://redmine.ruby-lang.org/issues/show/1118
readline 6.0 does not SEGV ... it is obscure to me ....

I think i will wait for a ruby 1.9 official release. Latest release 1.9.1-p243 (used in archlinux ) is buggy with readline 6.0

Last edited by hallelujah (2009-09-25 23:29:42)

Offline

Board footer

Powered by FluxBB