![Baruch Siach](/assets/img/avatar_default.png)
Latest LT (Linus Torvalds) master fixes symbol collision with ncurses. Drop patches 01 and 02 as they are not needed anymore. Refresh patch 03 to account for context changes, and rename to new convention. Fixes: http://autobuild.buildroot.net/results/6e0/6e0fb4a74f62e23cbc56482ae25f9979fa6f14f8/ http://autobuild.buildroot.net/results/df9/df9b693d7f53daba0d25f52132ca1594dd1273fa/ http://autobuild.buildroot.net/results/b39/b39d3997466951df078a5f47c5a75200b07dca4c/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
952 B
Diff
30 lines
952 B
Diff
[PATCH] clear ixon termios flag on initialization
|
|
|
|
Otherwise ctrl-S/Q gets intercepted by the tty layer instead of
|
|
handled by uemacs.
|
|
|
|
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
diff --git a/posix.c b/posix.c
|
|
index 97edd9f052b1..352c4712b689 100644
|
|
--- a/posix.c
|
|
+++ b/posix.c
|
|
@@ -53,17 +53,17 @@ void ttopen(void)
|
|
/*
|
|
* base new settings on old ones - don't change things
|
|
* we don't know about
|
|
*/
|
|
ntermios = otermios;
|
|
|
|
/* raw CR/NL etc input handling, but keep ISTRIP if we're on a 7-bit line */
|
|
ntermios.c_iflag &= ~(IGNBRK | BRKINT | IGNPAR | PARMRK
|
|
- | INPCK | INLCR | IGNCR | ICRNL);
|
|
+ | INPCK | INLCR | IGNCR | ICRNL | IXON);
|
|
|
|
/* raw CR/NR etc output handling */
|
|
ntermios.c_oflag &=
|
|
~(OPOST | ONLCR | OLCUC | OCRNL | ONOCR | ONLRET);
|
|
|
|
/* No signal handling, no echo etc */
|
|
ntermios.c_lflag &= ~(ISIG | ICANON | XCASE | ECHO | ECHOE | ECHOK
|
|
| ECHONL | NOFLSH | TOSTOP | ECHOCTL |
|