[kde-freebsd] 8-current/kde3 stty defaults incorrect under konsole

Tilman Linneweh arved at FreeBSD.org
Thu Jun 26 12:33:04 CEST 2008


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.


More information about the kde-freebsd mailing list