1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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.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
|