[Patch] cygwin terminfo ``smacs'' setting.

Charles Wilson cygwin@cwilson.fastmail.fm
Sat Oct 2 22:25:00 GMT 2004


Thanks, I'll include it in the next release of terminfo.

--
Chuck


Bas van Gompel wrote:

> When playing around with a terminfo-aware app (see User-Agent header),
> I noticed that the ``smacs''-setting in the cygwin-entry reads
> ``\E11m'', not the apparently correct ``\E[11m'', causing line-drawing
> to fail. Following patch should fix that.
> 
> Apply with ``patch -p0'' in ``/usr/src'' _after_ running the ``prep''-
> command.
> 
> 
> --- terminfo-5.3_20030726-orig/terminfo.src	2003-08-02 21:13:16.000000000 +0200
> +++ terminfo-5.3_20030726/terminfo.src	2004-10-02 15:07:28.000000000 +0200
> @@ -4324,7 +4324,7 @@
>  	rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
>  	setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
>  	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
> -	sgr0=\E[0;10m, smacs=\E11m, smcup=\E7\E[?47h, smir=\E[4h, 
> +	sgr0=\E[0;10m, smacs=\E[11m, smcup=\E7\E[?47h, smir=\E[4h, 
>  	smpch=\E[11m, smso=\E[7m, smul=\E[4m, tsl=\E];, 
>  	u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c, u9=\E[c, 
>  	vpa=\E[%i%p1%dd, 
> 
> L8r,
> 
> Buzz.



More information about the Cygwin-apps mailing list