ports/sysutils/mapchan/files/patch-mapchan.c
Thierry Thomas 16dc24a0a6 Add mapchan 1.4, an implementation of the utility "mapchan"
from SCO Unix.

PR:		62960
Submitted by:	Konstantin Reznichenko <kot (at) premierbank.dp.ua>
2005-02-27 14:47:24 +00:00

25 lines
685 B
C

--- mapchan.c.orig Sat Oct 25 09:21:42 2003
+++ mapchan.c Sun Feb 27 15:27:01 2005
@@ -19,7 +19,7 @@
#endif
#ifndef CPATH
- #define CPATH "/etc/mapchan"
+ #define CPATH "/usr/local/etc/mapchan"
#endif
#define BUFSIZE 4096
@@ -51,10 +51,10 @@
char usage[] = { "\nUsage:\n\nmapchan [-q] [-s shell] [-f file]\
[-h]\n\nwhere:\n\
-\tshell - shell, if not /bin/sh
+\tshell - shell, if not /bin/sh\n\
\tfile - input file\n\
-\t-q - force and quiet
-\t-h - print this screen and exit.\n" };
+\t-q - force and quiet\n\
+\t-h - print this screen and exit.\n" };
int pty_fd; /* ÄÅÓËÒÉÐÔÏÒ master */
int tty_fd; /* ÄÅÓËÒÉÐÔÏÒ slave */