[sudo-users] sudo-1.7.4p4-1 on AIX 6.1 and vi

Todd C. Miller Todd.Miller at courtesan.com
Tue Dec 21 12:24:03 EST 2010


If you can build from source the following diff should fix the problem.

 - todd

--- term.c	Fri Jul 30 11:58:55 2010
+++ term.c	Tue Dec 21 12:23:16 2010
@@ -155,6 +155,7 @@
     if (isig)
 	SET(term.c_lflag, ISIG);
     CLR(term.c_iflag, ICRNL | IGNCR | INLCR | IUCLC | IXON);
+    CLR(term.c_oflag, OPOST);
     if (tcsetattr(fd, TCSADRAIN|TCSASOFT, &term) == 0) {
 	changed = 1;
     	return(1);



More information about the sudo-users mailing list