Date: Wed, 25 Jun 2008 07:10:14 -0700 From: Mark Atkinson <atkin901@yahoo.com> To: freebsd-current@freebsd.org Cc: kde-freebsd@freebsd.kde.org Subject: 8-current/kde3 stty defaults incorrect under konsole Message-ID: <g3tjk6$ei1$1@ger.gmane.org>
next in thread | raw e-mail | index | archive | help
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. Maybe related to this commit? ed 2008-06-05 18:06:21 UTC FreeBSD src repository Modified files: sys/sys ttydefaults.h Log: SVN rev 179567 on 2008-06-05 17:44:18Z by ed Fix faulty character to control-character conversion for CTRL(). The CTRL() macro seems to perform character to control-character conversion (i.e. 'A' to 0x01) to lowercase characters. This is actually not valid. If we use lowercase characters, conversions such as CTRL('\\') and CTRL('?') will result to invalid conversions. Because we must still support old source code that uses CTRL() (bad!), we make CTRL() accept both forms. When the character is a lowercase character, we perform the old style conversion. Approved by: philip (mentor) Revision Changes Path 1.20 +23 -16 src/sys/sys/ttydefaults.h -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g3tjk6$ei1$1>