* Tilman Linneweh <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> WWW: http://80386.nl/
pgpiuEOCRwiWV.pgp
Description: PGP signature
_______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd