OpenSolaris

Printable Version Enter a New Search
Bug ID 6824625
Synopsis luit(1) does not work on Solaris/OpenSolaris
State 11-Closed:Verified (Closed)
Category:Subcategory xserver:i18n
Keywords
Responsible Engineer Wei Xue
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_103
Fixed In snv_103
Release Fixed solaris_nevada(snv_113)
Related Bugs 6728611
Submit Date 1-April-2009
Last Update Date 19-August-2009
Description
Run luit(1) in any locale,

$ /usr/X11/bin/luit bash
Warning: could not change ownership of tty -- pty is insecure!
Couldn't copy terminal settings

And this issue causes xterm to exit on non-UTF8 locales, when xterm is built with --enable-luit.
Work Around
Do not copy  stdin attr to tmp pty. 

diff -u sys.c sys.c.old 
--- sys.c       Thu Apr  2 04:18:28 2009
+++ sys.c.old   Thu Apr  2 04:20:27 2009
@@ -224,11 +224,11 @@
     rc = tcgetattr(sfd, &tio);
     if(rc < 0)
         return -1;
-/*
+
     rc = tcsetattr(dfd, TCSAFLUSH, &tio);
     if(rc < 0)
         return -1;
-*/
+
     return 0;
 }
Modify: compile SVR4 cannot work.
Comments
N/A