I got this really weird behaviour:
When I use the terminal as my standard user, ^c doesn'T work in all terminals (gnome-terminal, terminator), but on the "real" tty terminals it works fine.
When I sudo into root, ^C work just fine.
My bashrc:
Code: Select all
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
eval $(keychain --eval --agents ssh -Q --quiet ****)
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# Put your fun stuff here.
PS1='\[\e[34;1m\][\[\e[0m\]\[\e[35;1m\]\t\[\e[0m\]\[\e[34;1m\]:\[\e[0m\]\[\e[31;1m\]\u\[\e[0m\]\[\e[31;1m\]@\[\e[0m\]\[\e[32m\]\w\[\e[0m\]\[\e[34;1m\]]\[\e[0m\]'
alias rcp='scp'
export PYTHONIOENCODING=utf-8
export PATH=$PATH:/usr/local/go/bin
Code: Select all
[23:18:08:gentoo@~/git]trap
trap -- '' SIGTSTP
trap -- '' SIGTTIN
trap -- '' SIGTTOU
Code: Select all
[23:19:00:gentoo@~/git]stty --all
speed 38400 baud; rows 67; columns 237; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
I don't think that something with my bash-options is wrong, but probably with my WM. I am using XFCE.
Any suggestions?
Regards,
cmdic

