[kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole
Ed Schouten
ed at 80386.nl
Thu Jun 26 13:20:55 CEST 2008
* Tilman Linneweh <arved at FreeBSD.org> wrote:
>
> On Jun 25, 2008, at 22:15, Ed Schouten wrote:
>> Would you mind if I add this patch to the kdelibs3 port? It is needed
>> to
>> make control characters work with konsole, which seems to be broken on
>> -CURRENT, because the CTRL() macro has been slightly changed.
>>
>> %%%
>> --- 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"
>>
>> %%%
>
> Same Code seems to be in KDE4.
>
> Someone[TM] should submit this (in a portable form) upstream.
An even better approach would be to use CKILL/CQUIT/etc. There are
non-standard either, but it's better than using the CTRL() macro
directly. I'll come up with a patch soonish. :)
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20080626/58cd03f1/attachment.pgp
More information about the kde-freebsd
mailing list