From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 18:22:12 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 F338B1065671 for ; Wed, 25 Jun 2008 18:22:11 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B08B78FC18 for ; Wed, 25 Jun 2008 18:22:11 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KBZdB-0001Lw-IB for freebsd-current@freebsd.org; Wed, 25 Jun 2008 18:22:09 +0000 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 18:22:09 +0000 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 18:22:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Followup-To: gmane.os.freebsd.current Date: Wed, 25 Jun 2008 11:22:02 -0700 Lines: 50 Message-ID: References: <20080625143428.GI93496@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.5 Sender: news 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 18:22:12 -0000 Ed Schouten wrote: > Hello Mark, > > * 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. >> >> Maybe related to this commit? > > 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" > > %%% That appears to work, thanks for the quick reply! -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired);