You are not logged in.
This started recently.
I connect to Arch with putty or cygwin ssh. When I start typing a command and then press Ctrl-c to clear it, sometimes the terminal just freezes: if I try to type again, the window flashes and I hear the bell sound.
Have to press Ctrl-c multiple times to unfreeze it.
Arch 64, xfce4
Offline
Could you be a little more specific about the command you run that make the terminal freeze?
I don't run a command. I run bash shell, start typing a command. It doesn't matter what command.
Last edited by leniviy (2015-07-12 14:46:08)
Arch 64, xfce4
Offline
Are you running a specific process or application at the time? Is it always the same one?
Also, in putty at least ctrl+s will freeze the screen. Could you have hit it by accident? Have you changed the configuration options at all?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Are you running a specific process or application at the time? Is it always the same one?
No.
Also, in putty at least ctrl+s will freeze the screen
I know.
Could you have hit it by accident? Have you changed the configuration options at all?
No.
Last edited by leniviy (2015-07-12 15:00:02)
Arch 64, xfce4
Offline
It looked like a terminal freeze, but at closer look it's a problem with bash prompt. When I press ctrl-c, bash sometimes fails to print '^C\n'
Arch 64, xfce4
Offline
Does this only happen if you use use Cygwin/Putty, or does this also happen within other terminal emulators?
What happens if you run other shells (sh/dash, zsh, ...)?
Are you using some sort of terminal multiplexer (tmux, screen)?
Offline
Does this only happen if you use use Cygwin/Putty, or does this also happen within other terminal emulators?
Switched to text console, typed `ssh localhost` and was able to reproduce too.
What happens if you run other shells (sh/dash, zsh, ...)?
Reproduced with zsh. newline and the prompt not printed when I press Ctrl-c.
Are you using some sort of terminal multiplexer (tmux, screen)?
no
Last edited by leniviy (2015-07-12 16:03:05)
Arch 64, xfce4
Offline
Doing nothing for 7 seconds significantly increases the chance to reproduce.
Last edited by leniviy (2015-07-12 16:15:21)
Arch 64, xfce4
Offline
strace shows that bash actually writes all needed characters, however, they do not appear in terminal:
4.869517 --- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
0.000175 write(2, "^C", 2) = 2
0.000435 --- SIGINT {si_signo=SIGINT, si_code=SI_USER, si_pid=906, si_uid=1000} ---
0.001069 write(2, "\n", 1) = 1
0.001041 write(2, "[il@vmarch ~]$ ", 15) = 15Arch 64, xfce4
Offline
opened ticket https://bugs.archlinux.org/task/45629
Arch 64, xfce4
Offline
What is your PS1? Does changing the PS1 to something bland fix it (eg PS1='$ ')?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline