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
e112cc37
Commit
e112cc37
authored
Oct 25, 2011
by
Enami Tsugutomo
Committed by
Chong Yidong
Oct 25, 2011
Browse files
* sysdep.c (init_sys_modes): Fix the check for the controlling terminal.
Fixes: debbugs:6649
parent
df6d30f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/sysdep.c
src/sysdep.c
+4
-1
No files found.
src/ChangeLog
View file @
e112cc37
2011-10-25 Enami Tsugutomo <tsugutomo.enami@jp.sony.com>
* sysdep.c (init_sys_modes): Fix the check for the controlling
terminal (Bug#6649).
2011-10-20 Eli Zaretskii <eliz@gnu.org>
* dispextern.h (struct bidi_it): New member next_en_type.
...
...
src/sysdep.c
View file @
e112cc37
...
...
@@ -854,6 +854,7 @@ void
init_sys_modes
(
struct
tty_display_info
*
tty_out
)
{
struct
emacs_tty
tty
;
Lisp_Object
terminal
;
Vtty_erase_char
=
Qnil
;
...
...
@@ -907,7 +908,9 @@ init_sys_modes (struct tty_display_info *tty_out)
tty
.
main
.
c_cflag
&=
~
PARENB
;
/* Don't check parity */
}
#endif
if
(
tty_out
->
input
==
stdin
)
XSETTERMINAL
(
terminal
,
tty_out
->
terminal
);
if
(
!
NILP
(
Fcontrolling_tty_p
(
terminal
)))
{
tty
.
main
.
c_cc
[
VINTR
]
=
quit_char
;
/* C-g (usually) gives SIGINT */
/* Set up C-g for both SIGQUIT and SIGINT.
...
...
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