Bug 163788 - not work Ctrl+C; pageUP; PageDown; keyboard arrows
Summary: not work Ctrl+C; pageUP; PageDown; keyboard arrows
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6.6
Platform: unspecified FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 14:32 UTC by Alex "lissyara" Keda
Modified: 2008-06-13 19:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex "lissyara" Keda 2008-06-11 14:32:42 UTC
Version:           1.6.6 (using 3.5.8, compiled sources)
Compiler:          Target: i386-undermydesk-freebsd
OS:                FreeBSD (i386) release 8.0-CURRENT

Not work some keys/keys combination in Konsole
lissyara# konsole --version
Qt: 3.3.8
KDE: 3.5.8
Konsole: 1.6.6
lissyara#
===========
if I press Ctrl+C i have
^C^C^C^C^C^C^C^C 
but - Ctrl+D - work...
not work PageUP, PageDown, but work Home and End
=========
in xterm all work fine
if I go from Konsole to real console trough watch (http://www.freebsd.org/cgi/man.cgi?query=watch) - all keys works fine
Comment 1 Robert Knight 2008-06-11 16:44:34 UTC
Can you post the output of running "stty -a" from xterm and from Konsole please?
Comment 2 Alex "lissyara" Keda 2008-06-12 11:12:24 UTC
this behavior on another computer after last upgrade kdebase from ports..
============= from konsole ================
acer$ stty -a
speed 9600 baud; 43 rows; 156 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
        -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
        -extproc
iflags: -istrip icrnl -inlcr -igncr -ixon -ixoff ixany imaxbel -ignbrk
        brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
        -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; erase2 = ^H; intr = C; kill = ^U;
        lnext = ^V; min = 1; quit = \; reprint = ^R; start = ^Q;
        status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
acer$
========= end from konsole ==============
====== from xterm
acer$ stty -a
speed 38400 baud; 24 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
        -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
        -extproc
iflags: -istrip icrnl -inlcr -igncr -ixon -ixoff ixany imaxbel -ignbrk
        brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
        -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
        lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
        status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
acer$ 
Comment 3 Robert Knight 2008-06-12 16:53:23 UTC
Hi Alex,

The output from stty reveals the problem.  In both cases you should see "intr = ^C" ('Interrupt is Ctrl-C').  Instead the output from Konsole is "intr = C".  If you re-bind the keys using "stty intr ^C" that should correct Ctrl+C temporarily.  I'm not sure about page up/down or the keyboard arrows.  That probably has the same root cause however.  

The output from the cchars part of "stty -a" should be the same in both cases.

Nothing has changed in Konsole recently (within the last year or so) so I suspect this problem is specific to your distribution.  The best place to ask would be on FreeBSD/KDE mailing lists / IRC / support forums.  
Comment 4 Alex "lissyara" Keda 2008-06-12 19:52:00 UTC
thanks, it work!
but, I cannot input this combination from Konsole, only from xterm.
From Konsole I can input "stty intr ^" - but "C" not input =(((
Comment 5 Alex "lissyara" Keda 2008-06-12 20:06:45 UTC
upd.
Ctrl+C not work because I cannot input upper-case "C" in Konsole!
after 
stty intr ^C
I can input upper-case "C" and work Ctrl+C
========
all symbols input correct - but not upper-case "C"
acer$ QWERTYUIOPASDFGHJKLZX
acer$ VBNM
instead of "C" - new string.
Comment 6 Alex "lissyara" Keda 2008-06-13 13:08:22 UTC
also, not input "\" symbol.
Comment 7 Robert Knight 2008-06-13 19:38:40 UTC
> stty intr ^C 
> I can input upper-case "C" and work Ctrl+C 

Yes, that is expected but this appears to be a problem which is specific to your FreeBSD distribution of KDE or your particular setup.

bugs.kde.org is not the best place to get support for this since very few people viewing this report use BSD of any kind.  You are more likely to get a useful answer if you ask on BSD-specific mailing lists/IRC/forums (whether that is a FreeBSD/KDE forum or more general FreeBSD).  If after investigation it turns out that there is a bug in Konsole then please post the details here.

Comment 8 Robert Knight 2008-06-13 19:41:00 UTC
Closing as remind per comment #7.