mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
uemacs: clear ixon termios flag at initialization
Closes #5144 Patch by Grant Edwards <grant.b.edwards@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
ffe526d106
commit
15744b7e15
3
CHANGES
3
CHANGES
@ -44,7 +44,7 @@
|
|||||||
samba, sam-ba, sane-backends, sawman, screen, sdl_net,
|
samba, sam-ba, sane-backends, sawman, screen, sdl_net,
|
||||||
smartmontools, sqlite, squashfs3, squid, sshfs, sudo,
|
smartmontools, sqlite, squashfs3, squid, sshfs, sudo,
|
||||||
syslinux, sysstat, taglib, tftp-hpa, transmission, tiff,
|
syslinux, sysstat, taglib, tftp-hpa, transmission, tiff,
|
||||||
tinyhttpd, udev, unionfs, usbutils, util-linux, vala,
|
tinyhttpd, udev, uemacs, unionfs, usbutils, util-linux, vala,
|
||||||
valgrind, vim, vsftpd, wipe, xdriver_xf86-video-fbdev,
|
valgrind, vim, vsftpd, wipe, xdriver_xf86-video-fbdev,
|
||||||
xfsprogs, zlib,
|
xfsprogs, zlib,
|
||||||
|
|
||||||
@ -62,6 +62,7 @@
|
|||||||
#2353: [lua] fix build with 2010.08-rc1
|
#2353: [lua] fix build with 2010.08-rc1
|
||||||
#4880: New package lcdproc
|
#4880: New package lcdproc
|
||||||
#4886: New package protobuf
|
#4886: New package protobuf
|
||||||
|
#5144: Patch to fix ixon bug in uemacs
|
||||||
|
|
||||||
2012.02, Released February 29th, 2012:
|
2012.02, Released February 29th, 2012:
|
||||||
|
|
||||||
|
28
package/uemacs/uemacs-4.0.15-lt.03.ixon.patch
Normal file
28
package/uemacs/uemacs-4.0.15-lt.03.ixon.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
[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 -U8 em-4.0.15-lt-orig/posix.c em-4.0.15-lt/posix.c
|
||||||
|
--- em-4.0.15-lt-orig/posix.c 1999-05-16 02:06:19.000000000 -0500
|
||||||
|
+++ em-4.0.15-lt/posix.c 2012-04-25 16:14:25.000000000 -0500
|
||||||
|
@@ -45,17 +45,17 @@
|
||||||
|
/*
|
||||||
|
* 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 | ECHOPRT
|
||||||
|
| ECHOKE | FLUSHO | PENDIN | IEXTEN);
|
Loading…
x
Reference in New Issue
Block a user