aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mshell/files/patch-ab
diff options
context:
space:
mode:
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