X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Finfocmp.1m;h=34efbf63445407b61cbfa5bfe45a2f781d65f8cf;hp=6062ab984e30f14077fc1ed24c7b3da837bc7368;hb=d66080c21038ad4feb2e41a0c4e517d5b4a03ab2;hpb=1501ae2a13db0ffd2db8404c24aa5010a88ea91b diff --git a/man/infocmp.1m b/man/infocmp.1m index 6062ab98..34efbf63 100644 --- a/man/infocmp.1m +++ b/man/infocmp.1m @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: infocmp.1m,v 1.69 2018/01/01 15:12:48 tom Exp $ +.\" $Id: infocmp.1m,v 1.70 2018/01/23 10:10:17 tom Exp $ .TH @INFOCMP@ 1M "" .ie \n(.g .ds `` \(lq .el .ds `` `` @@ -38,6 +38,19 @@ .ie n .IP \(bu 4 .el .IP \(bu 2 .. +.de NS +.ie n .sp +.el .sp .5 +.ie n .in +4 +.el .in +2 +.nf +.ft C \" Courier +.. +.de NE +.fi +.ft R +.in -4 +.. .ds d @TERMINFO@ .SH NAME \fB@INFOCMP@\fR \- compare or print out \fIterminfo\fR descriptions @@ -436,6 +449,12 @@ base64 3 hexadecimal and base64 .RE +.IP +For example, this prints the compiled terminfo value as a string +which could be assigned to the \fBTERMINFO\fP environment variable: +.NS +@INFOCMP@ -0 -q -Q2 +.NE .TP 5 \fB\-q\fR This makes the output a little shorter: