X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Ftoe.1m;h=74b712c2c56444710454fc64c626c46076265261;hp=ea277266db1acf90383e2e6adb4af2069778ae48;hb=59c1a9740d123db3cecafe76e18f7848081a670b;hpb=0eb88fc5281804773e2a0c7a488a4452463535ce diff --git a/man/toe.1m b/man/toe.1m index ea277266..74b712c2 100644 --- a/man/toe.1m +++ b/man/toe.1m @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 1998 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2011,2015 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 * @@ -26,56 +26,88 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: toe.1m,v 1.7 1998/03/11 21:12:53 juergen Exp $ -.TH toe 1M "" +.\" $Id: toe.1m,v 1.27 2015/08/29 22:04:48 tom Exp $ +.TH @TOE@ 1M "" .ds n 5 -.ds d @DATADIR@/terminfo +.ds d @TERMINFO@ .SH NAME -\fBtoe\fR - table of (terminfo) entries +\fB@TOE@\fR \- table of (terminfo) entries .SH SYNOPSIS -\fBtoe\fR [\fB-v\fR[\fIn\fR]] [\fB-huUV\fR] \fIfile...\fR +\fB@TOE@\fR [\fB\-v\fR[\fIn\fR]] [\fB\-ahsuUV\fR] \fIfile...\fR .br .SH DESCRIPTION .PP -With no options, \fBtoe\fR lists all available terminal types by primary name -with descriptions. File arguments specify the directories to be scanned; if no -such arguments are given, your default terminfo directory is scanned. If you -also specify the -h option, a directory header will be issued as each -directory is entered. +With no options, +\fB@TOE@\fR lists all available terminal types by primary name +with descriptions. +File arguments specify the directories to be scanned; if no +such arguments are given, +your default terminfo directory is scanned. +If you also specify the \fB\-h\fR option, +a directory header will be issued as each +directory is entered. .PP There are other options intended for use by terminfo file maintainers: .TP -\fB-u\fR \fIfile\fR -says to issue a report on dependencies in the given file. This report condenses -the `use' relation: each line consists of the primary name of a terminal that -has use capabilities, followed by a colon, followed by the +\fB\-a\fR +report on all of the terminal databases which ncurses would search, +rather than only the first one that it finds. +.IP +If the \fB\-s\fR is also given, \fB@TOE@\fR +adds a column to the report, +showing (like \fBconflict\fP(1)) which entries which +belong to a given terminal database. +An "*" marks entries which differ, and "+" marks equivalent entries. +.IP +Without the \fB\-s\fP option, \fB@TOE@\fR does not attempt to merge +duplicates in its report +.TP +\fB\-s\fR +sort the output by the entry names. +.TP +\fB\-u\fR \fIfile\fR +says to write a report to the standard output, +listing dependencies in the given terminfo/termcap source file. +The report condenses the `use' relation: +each line consists of the primary name of a terminal that +has use capabilities, +followed by a colon, +followed by the whitespace-separated primary names of all terminals which occur in those use -capabilities, followed by a newline +capabilities, +followed by a newline .TP -\fB-U\fR \fIfile\fR -says to issue a report on reverse dependencies in the given file. This report -reverses the `use' relation: each line consists of the primary name of a -terminal that occurs in use capabilities, followed by a colon, followed by the +\fB\-U\fR \fIfile\fR +says to write a report to the standard output, +listing reverse dependencies in the given terminfo/termcap source file. +The report reverses the `use' relation: +each line consists of the primary name of a +terminal that occurs in use capabilities, +followed by a colon, +followed by the whitespace-separated primary names of all terminals which depend on it, followed by a newline. .TP -\fB-v\fR\fIn\fR -specifies that (verbose) output be written to standard error trace -information showing \fBtoe\fR's progress. The optional integer -\fIn\fR is a number from 1 to 10, interpreted as for \fBtic\fR(1). -.TP 5 -\fB-V\fR -prints out the version of the program in use on standard error and exits. +\fB\-v\fR\fIn\fR +specifies that (verbose) output be written to standard error, +showing \fB@TOE@\fR's progress. +The optional parameter \fIn\fR is a number from 1 to 10, +interpreted as for \fB@TIC@\fR(1M). +.TP +\fB\-V\fR +reports the version of ncurses which was used in this program, +and exits. .SH FILES .TP 5 \fB\*d/?/*\fR Compiled terminal description database. .SH SEE ALSO -\fBtic\fR(1M), \fBinfocmp\fR(1M), \fBcaptoinfo\fR(1M), \fBinfotocap\fR(1M), -\fBcurses\fR(3X), \fBterminfo\fR(\*n). -.\"# -.\"# The following sets edit modes for GNU EMACS -.\"# Local Variables: -.\"# mode:nroff -.\"# fill-column:79 -.\"# End: +\fB@TIC@\fR(1M), +\fB@INFOCMP@\fR(1M), +\fB@CAPTOINFO@\fR(1M), +\fB@INFOTOCAP@\fR(1M), +\fBcurses\fR(3X), +\fBterminfo\fR(\*n). +.PP +This describes \fBncurses\fR +version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).