summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-10-24 11:05:58 +0000
committerru <ru@FreeBSD.org>2002-10-24 11:05:58 +0000
commit20d1f108df04f8386a09abaf5543faf416d1eb5f (patch)
tree690a44352fbbb2bf856784595acad4f7be45c98a /contrib
parent4e82bade9fae829dcf0202c4c000c6032c5254e6 (diff)
downloadFreeBSD-src-20d1f108df04f8386a09abaf5543faf416d1eb5f.zip
FreeBSD-src-20d1f108df04f8386a09abaf5543faf416d1eb5f.tar.gz
A version of SGR disabling stuff that is believed to be safe.
Submitted by: Werner LEMBERG <wl@gnu.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/troffrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/groff/tmac/troffrc b/contrib/groff/tmac/troffrc
index 755bc39..a1e5a36 100644
--- a/contrib/groff/tmac/troffrc
+++ b/contrib/groff/tmac/troffrc
@@ -45,4 +45,12 @@ troffrc!X100 troffrc!X100-12 troffrc!lj4 troff!lbp troffrc!html
.
.\}
.
+.\" Disable SGR support in grotty(1).
+.if n \{\
+. do nop \X'tty: sgr 0'
+. sp -1
+. nr nl 0-1
+. nr % -1
+.\}
+.
.\" Don't let blank lines creep in here.
OpenPOWER on IntegriCloud