[sudo-users] sudo 1.7.4p4 - solaris 10 - edits with vi, visudo or sudoedit - display corrupted

Todd C. Miller Todd.Miller at courtesan.com
Tue Jan 18 11:06:05 EST 2011


Can you try this diff against sudo 1.7.4p5 and see if it fixes it?

 - todd

--- term.c.orig	Tue Jan 18 11:04:56 2011
+++ term.c	Tue Jan 18 11:05:02 2011
@@ -152,7 +152,7 @@
     term.c_cc[VMIN] = 1;
     term.c_cc[VTIME] = 0;
     CLR(term.c_iflag, ICRNL | IGNCR | INLCR | IUCLC | IXON);
-    CLR(term.c_oflag, OPOST);
+    SET(term.c_oflag, OPOST);
     CLR(term.c_lflag, ECHO | ICANON | ISIG | IEXTEN);
     if (isig)
 	SET(term.c_lflag, ISIG);



More information about the sudo-users mailing list