[uim-commit] r1136 - trunk/fep
yamamoto at freedesktop.org
yamamoto at freedesktop.org
Sat Aug 6 16:54:52 EST 2005
Author: yamamoto
Date: 2005-08-05 23:54:49 -0700 (Fri, 05 Aug 2005)
New Revision: 1136
Modified:
trunk/fep/uim-fep.c
Log:
fep/uim-fep.c (my_forkpty) : unset ISTRIP flag of slave's termio
Modified: trunk/fep/uim-fep.c
===================================================================
--- trunk/fep/uim-fep.c 2005-08-06 06:49:01 UTC (rev 1135)
+++ trunk/fep/uim-fep.c 2005-08-06 06:54:49 UTC (rev 1136)
@@ -615,7 +615,10 @@
return -6;
}
if (termp != NULL) {
+ tcflag_t save_iflag = termp->c_iflag;
+ termp->c_iflag &= ~ISTRIP;
tcsetattr(slave, TCSAFLUSH, termp);
+ termp->c_iflag = save_iflag;
}
if (winp != NULL) {
ioctl(slave, TIOCSWINSZ, winp);
More information about the uim-commit
mailing list