From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 14:51:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06E9D1065671 for ; Wed, 25 Jun 2008 14:51:10 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 8A0138FC18 for ; Wed, 25 Jun 2008 14:51:08 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 61DB0198E2C; Wed, 25 Jun 2008 16:51:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 54DA8198E27; Wed, 25 Jun 2008 16:51:05 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 1EC35198E17; Wed, 25 Jun 2008 16:51:04 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008062516510296-70975 ; Wed, 25 Jun 2008 16:51:02 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Wed, 25 Jun 2008 16:51:02 +0200 From: "Alexey Shuvaev" Date: Wed, 25 Jun 2008 16:51:02 +0200 To: freebsd-current@freebsd.org Message-ID: <20080625145102.GA65611@wep4017.physik.uni-wuerzburg.de> References: MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/25/2008 04:51:03 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/25/2008 04:51:05 PM, Serialize complete at 06/25/2008 04:51:05 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Description: ebase-3.5.8_2ebase-kompmgr-3.5.8_1ehier-1.0_11elibs-nocups-3.5.8_1 X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: kde-freebsd@freebsd.kde.org Subject: Re: 8-current/kde3 stty defaults incorrect under konsole X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 14:51:10 -0000 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 = ; > eol2 = ; 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 = ; eol2 = ; 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 = ; eol2 = ; 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 // 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.