mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
ebf88ffc8a
NFBTRANS is a very accurate Grade Two braille translator. It can also back translate a Grade Two file into normal text. The program has many options which allow the user to customize its operation. Formatting commands can be used to generate Tables of Contents, ink print page numbers, running headers and much more. Translation rules are in a text file and can easily be modified by the user. The program can be configured to hyphenate words to save space. Because the copyright status is unclear, I'm marking this as RESTRICTED until I can find out from the author.
24 lines
676 B
Plaintext
24 lines
676 B
Plaintext
--- nfbpatch.c.orig Thu Feb 6 12:00:00 1997
|
|
+++ nfbpatch.c Sun Aug 30 05:44:36 1998
|
|
@@ -31,9 +31,11 @@
|
|
#include <unistd.h>
|
|
|
|
#define CASE_SHIFT 32 /* diference between upper and lower case */
|
|
+#ifndef freebsd
|
|
#define SYSVR4 /* use with gcc and solaris 2.1 see getpgrp. Also defines
|
|
* usleep. Wasn't able to link with /usr/ucblib/libucb.a
|
|
* Really no need for delay anyway */
|
|
+#endif
|
|
#ifdef ultrix
|
|
#define ECHOCTL TCTLECH
|
|
#endif
|
|
@@ -97,7 +99,7 @@
|
|
int i;
|
|
|
|
i = tcgetpgrp(0);/* Use stdin as the file descriptor */
|
|
-#ifdef SYSVR4
|
|
+#if defined(SYSVR4) || defined(freebsd)
|
|
if (i == getpgrp())
|
|
return (1);
|
|
#else
|