Add manpages for i3-sensible-{pager,editor,terminal}

This commit is contained in:
Michael Stapelberg 2011-11-11 22:29:10 +00:00
parent f7754a960a
commit 1b9067c6a2
4 changed files with 111 additions and 2 deletions

View File

@ -1,6 +1,6 @@
A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf"
all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1
all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1 i3-sensible-editor.1 i3-sensible-pager.1 i3-sensible-terminal.1
%.1: %.man asciidoc.conf
${A2M} $<
@ -9,7 +9,7 @@ i3-wsbar.1: ../i3-wsbar
pod2man $^ > $@
clean:
for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar i3-config-wizard i3-migrate-config-to-v4); \
for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar i3-config-wizard i3-migrate-config-to-v4 i3-sensible-editor i3-sensible-pager i3-sensible-terminal); \
do \
rm -f $${file}.1 $${file}.html $${file}.xml; \
done

View File

@ -0,0 +1,36 @@
i3-sensible-editor(1)
===================
Michael Stapelberg <michael+i3@stapelberg.de>
v4.1, November 2011
== NAME
i3-sensible-editor - launches $EDITOR with fallbacks
== SYNOPSIS
i3-sensible-editor [arguments]
== DESCRIPTION
i3-sensible-editor is used by i3-nagbar(1) when you click on the edit button.
It tries to start one of the following (in that order):
* $VISUAL
* $EDITOR
* nano
* vim
* vi
* emacs
Please dont complain about the order: If the user has any preference, he will
have $VISUAL or $EDITOR set.
== SEE ALSO
i3(1)
== AUTHOR
Michael Stapelberg and contributors

34
man/i3-sensible-pager.man Normal file
View File

@ -0,0 +1,34 @@
i3-sensible-pager(1)
===================
Michael Stapelberg <michael+i3@stapelberg.de>
v4.1, November 2011
== NAME
i3-sensible-pager - launches $PAGER with fallbacks
== SYNOPSIS
i3-sensible-pager [arguments]
== DESCRIPTION
i3-sensible-pager is used by i3-nagbar(1) when you click on the view button.
It tries to start one of the following (in that order):
* $PAGER
* most
* less
* i3-sensible-editor(1)
Please dont complain about the order: If the user has any preference, he will
have $PAGER set.
== SEE ALSO
i3(1)
== AUTHOR
Michael Stapelberg and contributors

View File

@ -0,0 +1,39 @@
i3-sensible-terminal(1)
=======================
Michael Stapelberg <michael+i3@stapelberg.de>
v4.1, November 2011
== NAME
i3-sensible-terminal - launches $TERMINAL with fallbacks
== SYNOPSIS
i3-sensible-terminal [arguments]
== DESCRIPTION
i3-sensible-terminal is invoked in the i3 default config to start a terminal.
This wrapper script is necessary since there is no distribution-independent
terminal launcher (but for example Debian has x-terminal-emulator).
Distribution packagers are responsible for shipping this script in a way which
is appropriate for the distribution.
It tries to start one of the following (in that order):
* $TERMINAL (this is a non-standard variable)
* xterm
* urxvt
* rxvt
* roxterm
Please dont complain about the order: If the user has any preference, he will
have $TERMINAL set or modified his i3 configuration file.
== SEE ALSO
i3(1)
== AUTHOR
Michael Stapelberg and contributors