Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f7097b2a
Commit
f7097b2a
authored
Jan 27, 1996
by
Richard M. Stallman
Browse files
(child_setup_tty): Turn off ISTRIP to pass 8bit. Turn off TAB3 so
don't expand tabs.
parent
f27bd275
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/sysdep.c
src/sysdep.c
+4
-0
No files found.
src/sysdep.c
View file @
f7097b2a
...
@@ -522,9 +522,13 @@ child_setup_tty (out)
...
@@ -522,9 +522,13 @@ child_setup_tty (out)
#ifdef IUCLC
#ifdef IUCLC
s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */
s.main.c_iflag &= ~IUCLC; /* Disable downcasing on input. */
#endif
#endif
#ifdef ISTRIP
s.main.c_iflag &= ~ISTRIP; /* don't strip 8th bit on input */
#endif
#ifdef OLCUC
#ifdef OLCUC
s.main.c_oflag &= ~OLCUC; /* Disable upcasing on output. */
s.main.c_oflag &= ~OLCUC; /* Disable upcasing on output. */
#endif
#endif
s.main.c_oflag &= ~TAB3; /* Disable tab expansion */
s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */
s.main.c_cflag = (s.main.c_cflag & ~CSIZE) | CS8; /* Don't strip 8th bit */
#if 0
#if 0
/* Said to be unnecessary: */
/* Said to be unnecessary: */
...
...
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