From 328a3001b23695ee4e9ffc80332a04f717f055cf Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 16 Feb 2013 23:56:17 +0100 Subject: [PATCH] troff macros: change unix /usr/lib paths to plan9 /sys/lib and /usr/bin/col -> /bin/col --- sys/lib/tmac/tmac.bits | 2 +- sys/lib/tmac/tmac.mcs | 4 ++-- sys/lib/tmac/tmac.org | 2 +- sys/lib/tmac/tmac.s | 2 +- sys/lib/tmac/tmac.soft | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/lib/tmac/tmac.bits b/sys/lib/tmac/tmac.bits index e410e2908..2dce1851d 100644 --- a/sys/lib/tmac/tmac.bits +++ b/sys/lib/tmac/tmac.bits @@ -1,6 +1,6 @@ .ds Bf b \" default format; use i for icons and faces .ds Bn /tmp/btroff\n($$ \" temporary file, reused on each macro call -.ds Bp /usr/lib/btroff \" bitmap filter +.ds Bp /sys/lib/btroff \" bitmap filter .de BM .if \\n(.$=1 .ds Bf \\$1 .if \\n(.$=2 \{. \" copy request, perhaps diverted diff --git a/sys/lib/tmac/tmac.mcs b/sys/lib/tmac/tmac.mcs index 785973f78..f8abe51bb 100644 --- a/sys/lib/tmac/tmac.mcs +++ b/sys/lib/tmac/tmac.mcs @@ -418,7 +418,7 @@ .nr aa 1 \" set default to send cover to ITDS .ie !'\\n(.F'stdin' \{\ . ie !'\\n(.F'-' \{\ -. sy /usr/lib/tmac/timestamp \\n(.F>/tmp/tp\\n($$ +. sy /sys/lib/tmac/timestamp \\n(.F>/tmp/tp\\n($$ . so /tmp/tp\\n($$ . sy /bin/rm /tmp/tp\\n($$ . br \} \" don't remove br - gets around troff bug @@ -1991,7 +1991,7 @@ Internal Technical Document Service .if \\n(aa \{\ . sy pwd >/tmp/sx\\n($$ . sy sed "s/^/cd /" /tmp/sx\\n($$ >/tmp/sc\\n($$ -. sy echo "/usr/lib/tmac/sendcover" \\n(.F \\n(qq >>/tmp/sc\\n($$ +. sy echo "/sys/lib/tmac/sendcover" \\n(.F \\n(qq >>/tmp/sc\\n($$ . sy echo "rm" /tmp/sx\\n($$ /tmp/sc\\n($$>>/tmp/sc\\n($$ . sy sh /tmp/sc\\n($$& . br \} diff --git a/sys/lib/tmac/tmac.org b/sys/lib/tmac/tmac.org index fadaa0234..a09826cd1 100644 --- a/sys/lib/tmac/tmac.org +++ b/sys/lib/tmac/tmac.org @@ -1,2 +1,2 @@ '''\" TMAC.ORG @(#)tmacs.src 1.7 -.so /usr/lib/macros/org +.so /sys/lib/macros/org diff --git a/sys/lib/tmac/tmac.s b/sys/lib/tmac/tmac.s index bb19d322c..496dae72d 100644 --- a/sys/lib/tmac/tmac.s +++ b/sys/lib/tmac/tmac.s @@ -106,7 +106,7 @@ .if !\\n(IM .if !\\n(MN .pn 0 .so \\*(sd/tmac.scover .if !\\n(IM .if !\\n(MN .rm IM MF MR -.if n .if !\\n(.T .pi /usr/bin/col +.if n .if !\\n(.T .pi /bin/col .nr ST 1 .ds QF TECHNICAL MEMORANDUM .br diff --git a/sys/lib/tmac/tmac.soft b/sys/lib/tmac/tmac.soft index 83aa05ea9..b1ad96f0a 100644 --- a/sys/lib/tmac/tmac.soft +++ b/sys/lib/tmac/tmac.soft @@ -631,7 +631,7 @@ the .UX operating system .. -.so /usr/lib/tmac/tmac.sdisp +.so /sys/lib/tmac/tmac.sdisp .de KF .if \\n(KK=0 .GS .nr KK 1