Compare commits

...

2 Commits

Author SHA1 Message Date
Toni Mueller
9698b06fef elaborate on the editor selection of the programs 2024-02-29 16:38:55 +00:00
Toni Mueller
406dd68863 elaborate on the editor selection of the programs 2024-02-28 22:58:41 +00:00
2 changed files with 20 additions and 1 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
shadow (1:4.13+dfsg1-4.1) unstable; urgency=medium
* Enhance the manpage for vipw (closes #1064940).
-- Toni Mueller <toni@debian.org> Thu, 29 Feb 2024 16:37:32 +0000
shadow (1:4.13+dfsg1-4) unstable; urgency=medium shadow (1:4.13+dfsg1-4) unstable; urgency=medium
[ Helmut Grohne ] [ Helmut Grohne ]

View File

@@ -73,10 +73,20 @@
the appropriate locks to prevent file corruption. When looking for an the appropriate locks to prevent file corruption. When looking for an
editor, the programs will first try the environment variable editor, the programs will first try the environment variable
<envar>$VISUAL</envar>, then the environment variable <envar>$VISUAL</envar>, then the environment variable
<envar>$EDITOR</envar>, and finally the default editor, <envar>$EDITOR</envar>, then the editor from
<filename>~/.selected_editor</filename>, and finally
<command>nano</command>.
<citerefentry><refentrytitle>vi</refentrytitle> <citerefentry><refentrytitle>vi</refentrytitle>
<manvolnum>1</manvolnum></citerefentry>. <manvolnum>1</manvolnum></citerefentry>.
</para> </para>
<para>
On the first run, if the environment variables <envar>$VISUAL</envar>
and <envar>$EDITOR</envar> are both unset, this program asks you for
an editor and stores your selection in
<filename>~/.selected_editor</filename>. If the editor mentioned
therein does not exist on your system, the program will fall back
to using <command>nano</command>.
</para>
</refsect1> </refsect1>
<refsect1 id='options'> <refsect1 id='options'>
@@ -210,6 +220,9 @@
<citerefentry> <citerefentry>
<refentrytitle>gshadow</refentrytitle><manvolnum>5</manvolnum> <refentrytitle>gshadow</refentrytitle><manvolnum>5</manvolnum>
</citerefentry> </citerefentry>
<citerefentry>
<refentrytitle>~/.selected_editor</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>
<citerefentry condition="tcb"> <citerefentry condition="tcb">
<refentrytitle>login.defs</refentrytitle><manvolnum>5</manvolnum> <refentrytitle>login.defs</refentrytitle><manvolnum>5</manvolnum>
</citerefentry>, </citerefentry>,