1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/japanese/groff/files/patch-tmac:troffrc
OKAZAKI Tetsurou 6d773cb023 Upgrade I18N patch to 1.8.1.1-12.
Remove deprecated USE_REINPLACE.
Utilize INFO.
Fix a patch error about a html device.

PR:		ports/95025
Submitted by:	Atsushi SUGAWARA <peanutsjamjam@w9.dion.ne.jp>
2006-04-22 21:08:39 +00:00

21 lines
702 B
Plaintext

--- 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