This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   /    /   really is |   and false bits entirely.    | mail for
  ) |  |  /    /    a 72 by 4 +-------------------------------+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."    | me. 4^r


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]