bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 08/34] man/terminfo.tail: Migrate displayed examples to `EX`/`EE`


From: G. Branden Robinson
Subject: [PATCH 08/34] man/terminfo.tail: Migrate displayed examples to `EX`/`EE`.
Date: Fri, 6 Oct 2023 00:13:57 -0500

---
 man/terminfo.tail | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/man/terminfo.tail b/man/terminfo.tail
index a5b30865..b8a7e891 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -84,8 +84,7 @@ described in the terminal database, in the section on
 The following entry, describing an ANSI-standard terminal, is representative
 of what a \fBterminfo\fP entry for a modern terminal typically looks like.
 .PP
-.nf
-.ft \*(CW
+.EX
 \s-2ansi|ansi/pc-term compatible with color,
         am, mc5i, mir, msgr,
         colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64,
@@ -116,8 +115,7 @@ of what a \fBterminfo\fP entry for a modern terminal 
typically looks like.
         sgr0=\\E[0;10m, smacs=\\E[11m, smpch=\\E[11m, smso=\\E[7m,
         smul=\\E[4m, tbc=\\E[3g, u6=\\E[%i%d;%dR, u7=\\E[6n,
         u8=\\E[?%[;0123456789]c, u9=\\E[c, vpa=\\E[%i%p1%dd,
-.fi
-.ft R
+.EE
 .PP
 Entries may continue onto multiple lines by placing white space at
 the beginning of each line except the first.
@@ -432,26 +430,22 @@ These capabilities suffice to describe
 hard-copy and \*(``glass-tty\*('' terminals.
 Thus the model 33 teletype is described as
 .PP
-.nf
-.ft \*(CW
+.EX
 .\".in -2
 \s-133\||\|tty33\||\|tty\||\|model 33 teletype,
         bel=\*^G, cols#72, cr=\*^M, cud1=\*^J, hc, ind=\*^J, os,\s+1
 .\".in +2
-.ft R
-.fi
+.EE
 .PP
 while the Lear Siegler \s-1ADM-3\s0 is described as
 .PP
-.nf
-.ft \*(CW
+.EX
 .\".in -2
 \s-1adm3\||\|3\||\|lsi adm3,
         am, bel=\*^G, clear=\*^Z, cols#80, cr=\*^M, cub1=\*^H, cud1=\*^J,
         ind=\*^J, lines#24,\s+1
 .\".in +2
-.ft R
-.fi
+.EE
 .SS Parameterized Strings
 Cursor addressing and other strings requiring parameters
 in the terminal are described by a
@@ -1135,12 +1129,10 @@ m       always  m
 .PP
 Putting this all together into the sgr sequence gives:
 .PP
-.ft \*(CW
-.nf
+.EX
     sgr=\\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p4%t;5%;
         %?%p1%p3%|%t;7%;%?%p7%t;8%;m%?%p9%t\\016%e\\017%;,
-.fi
-.ft R
+.EE
 .PP
 Remember that if you specify sgr, you must also specify sgr0.
 Also, some implementations rely on sgr being given if sgr0 is,
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]