summaryrefslogtreecommitdiff
path: root/src/roff
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-06-07 21:44:38 +0000
committerwlemb <wlemb>2003-06-07 21:44:38 +0000
commit628bef9b147d470a25ce2bb49b920ce6cba0867b (patch)
tree79c5940217d4872b7747cf8a69c0cbc249072b53 /src/roff
parent53619cd8c25aecf18a407398debc4318c1524cdf (diff)
downloadgroff-628bef9b147d470a25ce2bb49b920ce6cba0867b.tar.gz
* src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
Diffstat (limited to 'src/roff')
-rw-r--r--src/roff/nroff/nroff.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh
index 39268f7f..a9d75a92 100644
--- a/src/roff/nroff/nroff.sh
+++ b/src/roff/nroff/nroff.sh
@@ -58,9 +58,11 @@ for i
# ignore other devices
;;
-u*)
- # Solaris 2.2 `man' uses -u0; ignore it,
+ # Solaris 2.2 through at least Solaris 9 `man' invokes
+ # `nroff -u0 ... | col -x'. Ignore the -u0,
# since `less' and `more' can use the emboldening info.
- ;;
+ # However, disable SGR, since Solaris `col' mishandles it.
+ opts="$opts -P-c" ;;
-v | --version)
echo "GNU nroff (groff) version @VERSION@"
exit 0 ;;