From 16dc24a0a6c428dde85db836012896bd49ca76ec Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sun, 27 Feb 2005 14:47:24 +0000 Subject: Add mapchan 1.4, an implementation of the utility "mapchan" from SCO Unix. PR: 62960 Submitted by: Konstantin Reznichenko --- sysutils/mapchan/files/patch-mapchan.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sysutils/mapchan/files/patch-mapchan.c (limited to 'sysutils/mapchan/files/patch-mapchan.c') diff --git a/sysutils/mapchan/files/patch-mapchan.c b/sysutils/mapchan/files/patch-mapchan.c new file mode 100644 index 000000000000..9e6278c0bca5 --- /dev/null +++ b/sysutils/mapchan/files/patch-mapchan.c @@ -0,0 +1,25 @@ +--- 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 */ -- cgit v1.2.3