diff options
Diffstat (limited to 'misc/mshell')
-rw-r--r-- | misc/mshell/Makefile | 25 | ||||
-rw-r--r-- | misc/mshell/distinfo | 1 | ||||
-rw-r--r-- | misc/mshell/files/patch-aa | 62 | ||||
-rw-r--r-- | misc/mshell/files/patch-ab | 46 | ||||
-rw-r--r-- | misc/mshell/files/patch-ac | 19 | ||||
-rw-r--r-- | misc/mshell/files/patch-ad | 19 | ||||
-rw-r--r-- | misc/mshell/files/patch-ae | 22 | ||||
-rw-r--r-- | misc/mshell/pkg-comment | 1 | ||||
-rw-r--r-- | misc/mshell/pkg-descr | 10 | ||||
-rw-r--r-- | misc/mshell/pkg-plist | 8 |
10 files changed, 0 insertions, 213 deletions
diff --git a/misc/mshell/Makefile b/misc/mshell/Makefile deleted file mode 100644 index 491a20b543e5..000000000000 --- a/misc/mshell/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: mshell -# Version required: 93/3/3 -# Date created: 24 September 1994 -# Whom: jmz -# -# $Id: Makefile,v 1.5 1995/04/15 03:45:46 asami Exp $ -# - -DISTNAME= mshell -PKGNAME= mshell-1.0 -CATEGORIES+= utilities -MASTER_SITES= ftp://src.doc.ic.ac.uk/usenet/alt.sources/articles/07000-07999/ -DISTFILES= 7432.Z - -MAINTAINER= jmz@FreeBSD.org - -NO_WRKSUBDIR= yes - -do-extract: - @rm -rf ${WRKDIR} - @mkdir -p ${WRKDIR} - zcat ${DISTDIR}/${DISTFILES} |(cd ${WRKDIR}; \ - awk '{if (/^#!/) x++} {if(x) print $$0'}| /bin/sh) - -.include <bsd.port.mk> diff --git a/misc/mshell/distinfo b/misc/mshell/distinfo deleted file mode 100644 index 2dc30eb274db..000000000000 --- a/misc/mshell/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (7432.Z) = 1bbfe1b922ad2ffbe3456cd7ce0f5117 diff --git a/misc/mshell/files/patch-aa b/misc/mshell/files/patch-aa deleted file mode 100644 index 12d398156dc3..000000000000 --- a/misc/mshell/files/patch-aa +++ /dev/null @@ -1,62 +0,0 @@ -*** Makefile.orig Wed Oct 5 18:31:35 1994 ---- Makefile Wed Oct 5 18:35:39 1994 -*************** -*** 8,21 **** - # - # Check mshell.h for other options, e.g., max menu sizes. - -! CFLAGS = -O -DBSD -DMENUDIR='"/nyx/lib/menus"' -DLOGDIR='"/nyx/lib/logs"' - OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \ - settatr.o setenv.o xsystem.o dl.o macro.o - - mshell: $(OBJS) - cc $(CFLAGS) $(OBJS) -lcurses -ltermcap -o mshell - - $(OBJS) : mshell.h - - clean: -! rm *.o mshell ---- 8,50 ---- - # - # Check mshell.h for other options, e.g., max menu sizes. - -! CFLAGS = -O -DBSD -DMENUDIR=\"${PREFIX}/lib/menus\" -DMAILDIR='"/var/mail/"' \ -! -DGLOBAL_MACRO_FILE=\"${PREFIX}/lib/menus/macros\" \ -! -DCOMMAND_LIST=\"${PREFIX}/lib/menus/commands\" - OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \ - settatr.o setenv.o xsystem.o dl.o macro.o - -+ all: mshell -+ - mshell: $(OBJS) - cc $(CFLAGS) $(OBJS) -lcurses -ltermcap -o mshell - - $(OBJS) : mshell.h - - clean: -! rm -f *.o mshell -! -! install: mshell -! mkdir -p ${PREFIX}/bin -! install -c -o bin mshell ${PREFIX}/bin -! mkdir -p ${PREFIX}/lib/menus -! sed -e s/dldir/HOME/g < sample.men > ${PREFIX}/lib/menus/sample.men -! install -c -m 644 menulogin ${PREFIX}/lib/menus -! mkdir -p ${PREFIX}/man/man1 -! echo .Dd `/bin/date` > mshell.1 -! echo .Dt MSHELL 1 >> mshell.1 -! echo .Sh NAME >> mshell.1 -! echo .Nm mshell >> mshell.1 -! echo .Nd a Unix menuing shell >> mshell.1 -! echo .Sh SYNOPSIS >> mshell.1 -! echo .Nm mshell >> mshell.1 -! echo .Op Fl s >> mshell.1 -! echo .Ar menuname >> mshell.1 -! echo .Sh DESCRIPTION >> mshell.1 -! cat mshell.doc >>mshell.1 -! echo >>mshell.1 -! cat menu.doc >>mshell.1 -! echo >>mshell.1 -! echo .Sh AUTHOR >>mshell.1 -! echo Andrew Burt, aburt@du.edu >>mshell.1 -! install -m 644 mshell.1 ${PREFIX}/man/man1 diff --git a/misc/mshell/files/patch-ab b/misc/mshell/files/patch-ab deleted file mode 100644 index a7a739994612..000000000000 --- a/misc/mshell/files/patch-ab +++ /dev/null @@ -1,46 +0,0 @@ -*** settatr.c.orig Sat Sep 24 00:47:17 1994 ---- settatr.c Sat Sep 24 00:49:46 1994 -*************** -*** 15,21 **** - ioctl ( 0, TIOCGETP, &sg ); - if (access(".stty", 0) == -1) { /* not already set up */ - sg.sg_erase = ''; -! sg.sg_kill = ''; - sg.sg_flags |= XTABS; - } - sg.sg_flags |= ECHO; ---- 15,21 ---- - ioctl ( 0, TIOCGETP, &sg ); - if (access(".stty", 0) == -1) { /* not already set up */ - sg.sg_erase = ''; -! sg.sg_kill = 21; /* ^U */ - sg.sg_flags |= XTABS; - } - sg.sg_flags |= ECHO; -*************** -*** 25,36 **** - ioctl ( 0, TIOCSETP, &sg ); - - ioctl ( 0, TIOCGETC, &tc ); -! tc.t_intrc = ''; - ioctl ( 0, TIOCSETC, &tc ); - - ioctl ( 0, TIOCGLTC, < ); -! lt.t_werasc = ''; -! lt.t_rprntc = ''; - ioctl ( 0, TIOCSLTC, < ); - #endif - #ifdef SYSV ---- 25,36 ---- - ioctl ( 0, TIOCSETP, &sg ); - - ioctl ( 0, TIOCGETC, &tc ); -! tc.t_intrc = 3; /* ^C */ - ioctl ( 0, TIOCSETC, &tc ); - - ioctl ( 0, TIOCGLTC, < ); -! lt.t_werasc = 23; /* ^W */ -! lt.t_rprntc = 18; /* ^R */ - ioctl ( 0, TIOCSLTC, < ); - #endif - #ifdef SYSV diff --git a/misc/mshell/files/patch-ac b/misc/mshell/files/patch-ac deleted file mode 100644 index 75efbcd0b77f..000000000000 --- a/misc/mshell/files/patch-ac +++ /dev/null @@ -1,19 +0,0 @@ -*** functions1.c.orig Sat Sep 24 00:51:45 1994 ---- functions1.c Sat Sep 24 00:52:03 1994 -*************** -*** 15,21 **** - FILE * fp; - char record [DESCLEN]; - if (( fp = fopen (filename, "r")) == NULL ) { -! printf ("\tNo such helpfile as %s\!\!\n", filename); - return; - } - ---- 15,21 ---- - FILE * fp; - char record [DESCLEN]; - if (( fp = fopen (filename, "r")) == NULL ) { -! printf ("\tNo such helpfile as %s!!\n", filename); - return; - } - diff --git a/misc/mshell/files/patch-ad b/misc/mshell/files/patch-ad deleted file mode 100644 index 03131f105ac0..000000000000 --- a/misc/mshell/files/patch-ad +++ /dev/null @@ -1,19 +0,0 @@ -*** mshell.c.orig Sat Sep 24 00:51:51 1994 ---- mshell.c Sat Sep 24 00:52:20 1994 -*************** -*** 142,148 **** - - if ( strcmp (action_string, NULLSTR) == 0 ) { - invalid_option = TRUE; -! printf ("\tNo such help option name as: %s\!\!\n", opt2); - } - else { - tmpword[0] = EOS; ---- 142,148 ---- - - if ( strcmp (action_string, NULLSTR) == 0 ) { - invalid_option = TRUE; -! printf ("\tNo such help option name as: %s!!\n", opt2); - } - else { - tmpword[0] = EOS; diff --git a/misc/mshell/files/patch-ae b/misc/mshell/files/patch-ae deleted file mode 100644 index 928f9c25b1d7..000000000000 --- a/misc/mshell/files/patch-ae +++ /dev/null @@ -1,22 +0,0 @@ -*** string.c.orig Fri Sep 23 18:34:06 1994 ---- string.c Fri Sep 23 18:50:39 1994 -*************** -*** 4,9 **** ---- 4,20 ---- - #define strchr index - #endif - -+ char * -+ gets (char *s) -+ { -+ char *x = fgets (s, WORDLEN, stdin); -+ if (x) { -+ char *p = strchr (x, '\n'); -+ if (p) -+ *p = 0; -+ } -+ return x; -+ } - - /* function to find the position of sub_string in main_string - * ---------------------------------------------------------- */ diff --git a/misc/mshell/pkg-comment b/misc/mshell/pkg-comment deleted file mode 100644 index c5cbd853901f..000000000000 --- a/misc/mshell/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Mshell: a Unix menuing shell diff --git a/misc/mshell/pkg-descr b/misc/mshell/pkg-descr deleted file mode 100644 index 34ab28927554..000000000000 --- a/misc/mshell/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Mshell was written to shield users (and other non-Unix gurus, like -mathematicians and secretaries in the department) from "raw" Unix. It -is as flexible as you can get (supports full shell capabilties like -pipes, etc. inside the menu commands) but simple to write menus for. -It is was developped for Nyx, a free, public access Unix system. -Indeed, you're welcome to try Nyx -- log into Nyx as: - - - telnet to nyx.cs.du.edu (130.253.192.68), user 'new'. - - call 303-871-3324 - diff --git a/misc/mshell/pkg-plist b/misc/mshell/pkg-plist deleted file mode 100644 index 0a3c415a695b..000000000000 --- a/misc/mshell/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -@cd /usr/local -@mode 644 -@owner bin -lib/menus/sample.men -lib/menus/menulogin -man/man1/mshell.1 -@mode 755 -bin/mshell |