X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Finfotocap.1m;h=12820720d03b204c1731769283f2c635af8b252e;hb=d79ff7b4d5f5ac63e7d9d7e76706d95a1ddb243c;hp=ef8735b7be54062c2019fd4bffb4db171e2e7e8f;hpb=c633e5103a29a38532cf1925257b91cea33fd090;p=ncurses.git diff --git a/man/infotocap.1m b/man/infotocap.1m index ef8735b7..12820720 100644 --- a/man/infotocap.1m +++ b/man/infotocap.1m @@ -1,6 +1,7 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1999,2000 Free Software Foundation, Inc. * +.\" Copyright 2018-2021,2022 Thomas E. Dickey * +.\" Copyright 1999-2010,2016 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -27,48 +28,54 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: infotocap.1m,v 1.3 2000/08/13 01:56:03 tom Exp $ -.TH infotocap 1M "" +.\" $Id: infotocap.1m,v 1.21 2022/02/12 20:02:20 tom Exp $ +.TH @INFOTOCAP@ 1M 2022-02-12 "ncurses 6.4" "User commands" .ds n 5 .ds d @TERMINFO@ .SH NAME -\fBinfotocap\fR - convert a \fIterminfo\fR description into a \fItermcap\fR description +\fB@INFOTOCAP@\fP \- convert a \fIterminfo\fP description into a \fItermcap\fP description .SH SYNOPSIS -\fBinfotocap\fR [\fB-v\fR\fIn\fR \fIwidth\fR] [\fB-V\fR] [\fB-1\fR] [\fB-w\fR \fIwidth\fR] \fIfile\fR . . . +\fB@INFOTOCAP@\fR [\fB\-v\fIn\fR \fIwidth\fR] [\fB\-V\fR] [\fB\-1\fR] [\fB\-w\fR \fIwidth\fR] \fIfile\fR ... .SH DESCRIPTION -\fBinfotocap\fR looks in \fIfile\fR for \fBterminfo\fR descriptions. For each -one found, an equivalent \fBtermcap\fR description is written to standard -output. Terminfo \fBuse\fR capabilities are translated directly to termcap -\fBtc\fR capabilities. +\fB@INFOTOCAP@\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\fR +\fB\-v\fP print out tracing information on standard error as the program runs. .TP 5 -\fB-V\fR +\fB\-V\fP print out the version of the program in use on standard error and exit. .TP 5 -\fB-1\fR -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. +\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\fR -change the output to \fIwidth\fR characters. +\fB\-w\fP +change the output to \fIwidth\fP characters. .SH FILES .TP 20 \*d Compiled terminal description database. .SH NOTES -This utility is actually a link to \fItic\fR(1M), running in \fI-C\fR mode. -You can use other \fItic\fR options such as \fB-f\fR and \fB-x\fR. +This utility is actually a link to \fB@TIC@\fP, running in \fI\-C\fP mode. +You can use other \fB@TIC@\fP options such as \fB\-f\fP and \fB\-x\fP. +.SH PORTABILITY +None of X/Open Curses, Issue 7 (2009), SVr4 or NetBSD document this application. .SH SEE ALSO -\fBcurses\fR(3X), -\fBtic\fR(1M), -\fBinfocmp\fR(1M), -\fBterminfo\fR(\*n) -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: +\fB@INFOCMP@\fP(1M), +\fB@TIC@\fP(1M), +\fBcurses\fP(3X), +\fBterminfo\fP(\*n) +.PP +This describes \fBncurses\fP +version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@). +.SH AUTHOR +Eric S. Raymond +and +.br +Thomas E. Dickey