blob: 676ad775260ab9e1ef2a6da81e5eda610ee29799 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- tmac/troffrc.orig Wed Jan 25 13:04:06 2006
+++ tmac/troffrc Wed Jan 25 22:35:38 2006
@@ -38,9 +38,17 @@
.\" Load hyphenation patterns from `hyphen.us' (in the tmac directory).
.do hpf hyphen.us
.
+.\" Disable SGR support in grotty(1).
+.if n \{\
+. do nop \X'tty: sgr 0'
+. sp -1
+. nr nl 0-1
+. nr % -1
+.\}
.\" For CJK hack. The hardcoded list of locales is especially nasty, but
.\" getting the locale charmap requires a troff extension.
.ie "\V[LANG]"ja_JP.eucJP" .do mso euc-jp.tmac
+.el .ie "\V[LANG]"ja_JP.EUC" .do mso euc-jp.tmac
.el .ie "\V[LANG]"zh_CN" .do mso gb.tmac
.el .ie "\V[LANG]"zh_CN.GBK" .do mso gb.tmac
.el .ie "\V[LANG]"zh_SG" .do mso gb.tmac
|