Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
421dd92f
Commit
421dd92f
authored
Jul 01, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(init_sys_modes): Turn off VSTART and VSTOP chars. On
DGUX, turn off INPCK.
parent
f8ea8499
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/sysdep.c
src/sysdep.c
+10
-0
No files found.
src/sysdep.c
View file @
421dd92f
...
...
@@ -1137,6 +1137,10 @@ init_sys_modes ()
tty
=
old_tty
;
#if defined (HAVE_TERMIO) || defined (HAVE_TERMIOS)
#ifdef DGUX
/* This allows meta to be sent on 8th bit. */
tty
.
main
.
c_iflag
&=
~
INPCK
;
/* don't check input for parity */
#endif
tty
.
main
.
c_iflag
|=
(
IGNBRK
);
/* Ignore break condition */
tty
.
main
.
c_iflag
&=
~
ICRNL
;
/* Disable map of CR to NL on input */
#ifdef ISTRIP
...
...
@@ -1200,6 +1204,12 @@ init_sys_modes ()
#ifdef VDISCARD
tty
.
main
.
c_cc
[
VDISCARD
]
=
CDISABLE
;
#endif
/* VDISCARD */
#ifdef VSTART
tty
.
main
.
c_cc
[
VSTART
]
=
CDISABLE
;
#endif
/* VSTART */
#ifdef VSTOP
tty
.
main
.
c_cc
[
VSTOP
]
=
CDISABLE
;
#endif
/* VSTOP */
#endif
/* mips or HAVE_TCATTR */
#ifdef AIX
#ifndef IBMR2AIX
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment