texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * doc/info-stnd.texi (Invoking Info): Say what ha


From: Gavin D. Smith
Subject: branch master updated: * doc/info-stnd.texi (Invoking Info): Say what happens if Info's standard output is not a terminal.
Date: Wed, 11 Jan 2023 13:42:24 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 4353153f82 * doc/info-stnd.texi (Invoking Info): Say what happens if 
Info's standard output is not a terminal.
4353153f82 is described below

commit 4353153f8212e1d5bed0538a0d2b5fbad3b5d91b
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Jan 11 18:41:47 2023 +0000

    * doc/info-stnd.texi (Invoking Info): Say what happens if Info's
    standard output is not a terminal.
---
 ChangeLog          | 5 +++++
 doc/info-stnd.texi | 9 +++++++++
 2 files changed, 14 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 74ea4d2701..0282cd70c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-11  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/info-stnd.texi (Invoking Info): Say what happens if Info's
+       standard output is not a terminal.
+
 2023-01-11  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/html_tests.t:
diff --git a/doc/info-stnd.texi b/doc/info-stnd.texi
index aeb2ff3334..8c6aa0832a 100644
--- a/doc/info-stnd.texi
+++ b/doc/info-stnd.texi
@@ -1596,6 +1596,15 @@ the top-level menu as usual; since it isn't there (at 
this writing),
 it then looks in the indices.  If it's found there (which it is),
 the relevant node at the given location is displayed.
 
+@cindex Non-interactive usage
+@cindex Standard output not a terminal
+If Info is invoked when its standard output is not a terminal, it
+does not attempt to start an interactive session; rather, it
+writes the contents of the loaded nodes and subnodes to standard output,
+as if the @option{--output=-} and @option{--subnodes} options were given.
+This can be used to pipe the contents of Info nodes to another program,
+such as a pager.
+
 A complete list of options follows.
 
 @table @code



reply via email to

[Prev in Thread] Current Thread [Next in Thread]