Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2008 16:34:28 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Mark Atkinson <atkin901@yahoo.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, kde-freebsd@freebsd.kde.org
Subject:   Re: 8-current/kde3 stty defaults incorrect under konsole
Message-ID:  <20080625143428.GI93496@hoeg.nl>
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

[-- Attachment #1 --]
Hello Mark,

* Mark Atkinson <atkin901@yahoo.com> 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.
> 
> 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 <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"
 
%%%

Yours,
-- 
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkhiV3QACgkQ52SDGA2eCwUxfgCfUBLNiwpiGpHkzBLwux5q2wBZ
RxwAniMlOjsYLGoQphrOS60DdQZzuBGg
=A0XZ
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080625143428.GI93496>