Juliusz Chroboczek <[EMAIL PROTECTED]> $B$5$s$O=q$-$^$7$?(B:
(B
(B> It wasn't a bug after all, luit is working as designed.
(B>
(B> XTerm shuts down as soon as the child dies.  This means that XTerm
(B> will discard any of the child's output that may have been queued in
(B> the pty.
(B
(BIs there any reason not to do this?
(B
(B> Luit does things differently -- it waits until it gets an EIO on the
(B> master side of the pty.  This means that if processes other than
(B> luit's child have a handle on the slave side tty, luit will keep
(B> running.
(B
(BWhy should this be useful?
(B
(B> In another message (``Luit documentation update and minor patch''), I
(B> add an option ``-x'' to luit that causes it to work like xterm.  With
(B> this patch, if you do
(B>
(B>   $ luit -x ls
(B>
(B> there's a good chance luit will display nothing, depending on how the
(B> child gets scheduled.
(B>
(B> Whether XTerm should, by default, invoke luit with the ``-x'' flag is
(B> a different question.
(B
(BMaybe it would be useful if luit had X-Resources to set default values
(Bfor it's options?
(B
(BOr maybe an additional option/resource for xterm where one can specify
(Boptions for the localeFilter?
(B
(BOr maybe allow to include options in the localeFilter resource, e.g.
(B
(B   *localeFilter: "/usr/X11R6/bin/luit -x"
(B
(B?
(B
(BAs luit can be used not only with xterm, it is probably better to have
(Ba standard method to specify default values for luit options not via
(Bxterm resources but via luit resources or some other method which
(Ballows to set defaults for luit independent of xterm.
(B
(BCurrently there seems to be not easy way to do this. The only way I
(Bcan currently think of to make "-x" the default without patching
(Beither luit or xterm is something like
(B
(B   *localeFilter: "/usr/X11R6/bin/luitx"
(B
(Bin the app-defaults of xterm and:
(B
(B    [EMAIL PROTECTED]:~$ cat /usr/X11R6/bin/luitx
(B    #!/bin/sh
(B    exec /usr/X11R6/bin/luit -x ${1+"$@"}
(B    [EMAIL PROTECTED]:~$
(B
(Bbut that looks like a silly hack, doesn't it?
(B
(B-- 
(BMike Fabian   <[EMAIL PROTECTED]>   http://www.suse.de/~mfabian
$B?gL2ITB-$O$$$$;E;v$NE([EMAIL PROTECTED](B
(B_______________________________________________
(BDevel mailing list
(B[EMAIL PROTECTED]
(Bhttp://XFree86.Org/mailman/listinfo/devel

Reply via email to