You are not logged in.
Just installed a minimal system on an vmware ESXi host, there is no much installed, apart from the base packages, there is just an ssh server and network-ups-tools.
All is working fine, except for an irritating thing that happens then i hit ctrl-c in the shell.
As i'm used to, when i hit ctrl-c on a command line with no program running, it prints "^C" and goes to the next line:
Gozer ~ # ls -la /tmp^C
Gozer ~ #
...but sometimes, for no apparent reason, this won't work, and randomly, it starts to acts this way:
[root@arch_ups ~]# ls -la /tmp
hi just hit ctrl-c, but nothing happened.
indeed, if i continue to type ignoring the fact that i am on the same line:
[root@arch_ups ~]# ls -la /tmpls /var
cache db empty games lib local lock log mail opt run spool state tmp
So, Ctrl-C has worked, but it just wont display the newline.
...bash executed "ls /var"
The most irritating thing is that i'm unable to find a way to trigger the problem.
I *think* i reproduced the problem with bash and zsh from konsole and xterm.
Any idea what's going on?
-EDIT-
It does not happens in the local console, but happens over ssh.
i was able to reproduce it by hitting ctrl-c multiple times:
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
[root@arch_ups ~]# ^C
...after some seconds, it stops to print "^C"
Last edited by kokoko3k (2015-07-24 12:34:44)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
post ouptput of this command please
stty -a | grep intr
Should output something like this, with more test after the semi-colon
intr = ^C;
this might fix it if it does not
stty sane
edit:fixed typo
Last edited by Malkymder (2015-07-24 12:39:18)
Offline
Thanks, but no luck:
[root@arch_ups ~]# stty -a | grep intr
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
You're not the only one seeing this.
https://bugs.archlinux.org/task/45629
Offline
So maybe is an issue limited to virtualizated environments, thanks for pointing it out.
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
So maybe is an issue limited to virtualizated environments, thanks for pointing it out.
How many virtual cpus do you have? Can you try with more than one?
Arch 64, xfce4
Offline