Date: Wed, 25 Jun 2008 16:51:02 +0200 From: "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> To: freebsd-current@freebsd.org Cc: kde-freebsd@freebsd.kde.org Subject: Re: 8-current/kde3 stty defaults incorrect under konsole Message-ID: <20080625145102.GA65611@wep4017.physik.uni-wuerzburg.de> In-Reply-To: <g3tjk6$ei1$1@ger.gmane.org> References: <g3tjk6$ei1$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello! On Wed, Jun 25, 2008 at 07:10:14AM -0700, Mark Atkinson wrote: > Hi, > > Is anyone else running freebsd-current with kde3 (and has rebuilt both > recently)? I can only suspect this is related to recent changes in > current in prep for mpsafe tty, but in konsole, the defaults turn out to be > this (note the missing '^' on intr and quit): > > 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; > > xterm and the freebsd console are fine. > I have noticed that cursor key (right, forward direction) does not work as expected. By pressing it cancels the current command line and prompts with the empty one again. stty -a from konsole: speed 9600 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 = ^?; 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; stty -a from xterm: 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; Some version strings: uname -a: FreeBSD wep4020 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 16 19:27:17 CEST 2008 root@wep4020:/usr/obj/usr/src/sys/GENERIC i386 ls /var/db/pkg/ | grep kde: kde-xdg-env-1.0_3,1 kdebase-3.5.8_2 kdebase-kompmgr-3.5.8_1 kdehier-1.0_11 kdelibs-nocups-3.5.8_1 On Wed, Jun 25, 2008 at 04:34:28PM +0200, Ed Schouten wrote: > Blegh. I always hate those applications using non-documented extensions > in a non-standard way. ;-) > > Anyway, could you store this patch in the files/ dir of the kdelibs3 > port and see what happens? Thanks! :) > > %%% > --- kdecore/kpty.cpp > +++ kdecore/kpty.cpp > @@ -128,9 +128,8 @@ > #include <kstandarddirs.h> // locate > > // not defined on HP-UX for example > -#ifndef CTRL > -# define CTRL(x) ((x) & 037) > -#endif > +#undef CTRL > +#define CTRL(x) ((x) & 037) > > #define TTY_GROUP "tty" > > %%% > Thanks, I will try this but it takes a while, it is 800MHz Pentium3 :-) Alexey.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080625145102.GA65611>