summaryrefslogtreecommitdiff
path: root/misc/mshell/files/patch-ab
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-09-24 03:57:13 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-09-24 03:57:13 +0000
commit7883df5ea28a0934e59540ca93a33a726bb9aa07 (patch)
tree394ed05dcd53aebfd6c2d7e23c5b011aee6a4eab /misc/mshell/files/patch-ab
parentUpdate this to fix install problem. (diff)
Mshell port from Jean-Marc Zucconi (jmz@thud.cdrom.com). Jean-Marc
is now our leading ports-supplier! Let's all give him a big THANK YOU! :) Submitted by: jmz
Notes
Notes: svn path=/head/; revision=117
Diffstat (limited to 'misc/mshell/files/patch-ab')
-rw-r--r--misc/mshell/files/patch-ab46
1 files changed, 46 insertions, 0 deletions
diff --git a/misc/mshell/files/patch-ab b/misc/mshell/files/patch-ab
new file mode 100644
index 000000000000..a7a739994612
--- /dev/null
+++ b/misc/mshell/files/patch-ab
@@ -0,0 +1,46 @@
+*** 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 );
+! lt.t_werasc = '';
+! lt.t_rprntc = '';
+ ioctl ( 0, TIOCSLTC, &lt );
+ #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 );
+! lt.t_werasc = 23; /* ^W */
+! lt.t_rprntc = 18; /* ^R */
+ ioctl ( 0, TIOCSLTC, &lt );
+ #endif
+ #ifdef SYSV