diff options
Diffstat (limited to 'upstream/archlinux/man1/infotocap.1m')
-rw-r--r-- | upstream/archlinux/man1/infotocap.1m | 104 |
1 files changed, 60 insertions, 44 deletions
diff --git a/upstream/archlinux/man1/infotocap.1m b/upstream/archlinux/man1/infotocap.1m index c3a53b7f..1626b1a2 100644 --- a/upstream/archlinux/man1/infotocap.1m +++ b/upstream/archlinux/man1/infotocap.1m @@ -1,6 +1,5 @@ -'\" t .\"*************************************************************************** -.\" Copyright 2018-2021,2022 Thomas E. Dickey * +.\" Copyright 2018-2023,2024 Thomas E. Dickey * .\" Copyright 1999-2010,2016 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -28,54 +27,71 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: infotocap.1m,v 1.20 2022/02/12 20:02:20 tom Exp $ -.TH infotocap 1M "" -.ds n 5 +.\" $Id: infotocap.1m,v 1.41 2024/03/16 15:35:01 tom Exp $ +.TH infotocap 1M 2024-03-16 "ncurses 6.5" "User commands" +.ie \n(.g \{\ +.ds `` \(lq +.ds '' \(rq +.\} +.el \{\ +.ie t .ds `` `` +.el .ds `` "" +.ie t .ds '' '' +.el .ds '' "" +.\} +. .ds d /usr/share/terminfo .SH NAME -\fBinfotocap\fP \- convert a \fIterminfo\fP description into a \fItermcap\fP description +\fB\%infotocap\fP \- +convert a \fI\%terminfo\fR description into a \fI\%termcap\fR description .SH SYNOPSIS -\fBinfotocap\fR [\fB\-v\fIn\fR \fIwidth\fR] [\fB\-V\fR] [\fB\-1\fR] [\fB\-w\fR \fIwidth\fR] \fIfile\fR ... +.B infotocap +.RI [ tic-option ] +.I file +\&.\|.\|. +.P +.B "infotocap \-V" .SH DESCRIPTION -\fBinfotocap\fP looks in each given text -\fIfile\fP for \fBterminfo\fP descriptions. -For each terminfo description found, -an equivalent \fBtermcap\fP description is written to standard output. -Terminfo \fBuse\fP capabilities are translated directly to termcap -\fBtc\fP capabilities. -.TP 5 -\fB\-v\fP -print out tracing information on standard error as the program runs. -.TP 5 -\fB\-V\fP -print out the version of the program in use on standard error and exit. -.TP 5 -\fB\-1\fP -cause the fields to print out one to a line. -Otherwise, the fields -will be printed several to a line to a maximum width of 60 characters. -.TP 5 -\fB\-w\fP -change the output to \fIwidth\fP characters. +\fB\%infotocap\fP translates terminal descriptions. +It looks in each given text \fIfile\fP for \fI\%terminfo\fP entries and, +For each one found, +it writes an analogous \fI\%termcap\fP description to the standard +output stream. +\fI\%terminfo\fP \*(``\fBuse\fP\*('' capabilities translate to +\fI\%termcap\fP \fBtc\fP capabilities. +Because \fI\%termcap\fP is a less expressive format than +\fI\%terminfo\fP, +some capabilities cannot be translated. +.PP +This utility is implemented as a link to \fB\%tic\fP(1M), +with the latter's +.B \-C +option implied. +You can use other \fB\%tic\fP options such as +.BR \-1 , +.BR \-f , +.BR \-v , +.BR \-w , +and +.BR \-x . +The \fB\-V\fP option reports the version of \fI\%ncurses\fP associated +with this program and exits with a successful status. .SH FILES -.TP 20 -\*d -Compiled terminal description database. -.SH NOTES -This utility is actually a link to \fBtic\fP, running in \fI\-C\fP mode. -You can use other \fBtic\fP options such as \fB\-f\fP and \fB\-x\fP. +.TP +.I \*d +compiled terminal description database .SH PORTABILITY -None of X/Open Curses, Issue 7 (2009), SVr4 or NetBSD document this application. -.SH SEE ALSO -\fBinfocmp\fP(1M), -\fBtic\fP(1M), -\fBcurses\fP(3X), -\fBterminfo\fP(\*n) -.PP -This describes \fBncurses\fP -version 6.4 (patch 20230520). -.SH AUTHOR +None of X/Open Curses, +Issue 7 (2009), +SVr4, +or NetBSD document this application. +.SH AUTHORS Eric S. Raymond <esr@snark.thyrsus.com> and .br -Thomas E. Dickey <dickey@invisible-island.net> +Thomas E. Dickey <dickey@invisible\-island.net> +.SH SEE ALSO +\fB\%infocmp\fP(1M), +\fB\%tic\fP(1M), +\fB\%curses\fP(3X), +\fB\%terminfo\fP(5) |