X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fterminfo.tail;fp=man%2Fterminfo.tail;h=d3cbbf385fb9ef4caeccde729086a059cd303b71;hp=07217112cab5022264f2ef54178aac7ee544e333;hb=3d46d7e9d3e210417f34acf3b469378558398d07;hpb=f9994a48d2f74b613a0adb19d3917f724d4d1312;ds=sidebyside diff --git a/man/terminfo.tail b/man/terminfo.tail index 07217112..d3cbbf38 100644 --- a/man/terminfo.tail +++ b/man/terminfo.tail @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: terminfo.tail,v 1.107 2021/10/02 20:54:06 tom Exp $ +.\" $Id: terminfo.tail,v 1.108 2021/10/09 23:13:23 tom Exp $ .ps +1 .SS User-Defined Capabilities . @@ -708,6 +708,8 @@ smgbp Set bottom margin at line \fIN\fP smglp Set left margin at column \fIN\fP smgrp Set right margin at column \fIN\fP smgtp Set top margin at line \fIN\fP +smglr Set both left and right margins to \fIL\fP and \fIR\fP +smgtb Set both top and bottom margins to \fIT\fP and \fIB\fP .TE .PP When writing an application that @@ -758,6 +760,13 @@ only one capability in the pairs \fBsmgtp\fP and \fBsmgbp\fP should be defined, leaving the other unset. .PP +Except for very old terminal descriptions, e.g., those developed for SVr4, +the scheme just described should be considered obsolete. +An improved set of capabilities was added late in the SVr4 releases +(\fBsmglr\fP and \fBsmgtb\fP), +which explicitly use two parameters for setting the left/right or top/bottom +margins. +.PP When setting margins, the line- and column-values are zero-based. .PP The \fBmgc\fP string capability should be defined.