From: Andre Noll Date: Thu, 30 Nov 2017 16:56:53 +0000 (+0100) Subject: man: Make "roff" the default output mode. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=99d118192790970e4ce38f088797337c8316a169;p=gsu.git man: Make "roff" the default output mode. We've asked people for more than a year to set the output mode, su this should not come as a surprise. --- diff --git a/subcommand b/subcommand index e19b11e..13e3d83 100644 --- a/subcommand +++ b/subcommand @@ -294,7 +294,7 @@ Print the manual. Usage: man [-m ] [-b ] --m: Set output format (text, roff or html). Default: text. +-m: Set output format (text, roff or html). Default: roff. -b: Use the specified browser. Implies html mode. If stdout is not associated with a terminal device, the command @@ -310,9 +310,6 @@ file is displayed as a page in the web browser. If -b is not given, the command stored in the $BROWSER environment variable is executed with the path to the temporary file as an argument. If $BROWSER is unset, elinks(1) is assumed. - -It is recommended to specify the output format with -m as the default -mode might change in future versions of gsu. ' _gsu_read_line() @@ -523,7 +520,7 @@ com_man() o_m='html' browser="$o_b" elif [[ -z "$o_m" ]]; then - o_m='text' + o_m='roff' fi _gsu_isatty && isatty='true' || isatty='false'