public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Implement ~/.xsession-errors?
@ 2012-11-26 18:35 Ken Brown
  2012-11-27  7:03 ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2012-11-26 18:35 UTC (permalink / raw)
  To: cygwin-xfree

I'm wondering whether it's feasible for the Cygwin X-server to redirect 
stderr to ~/.xsession-errors for programs started under the server, as 
is done on some Linux systems.  This would be useful for two reasons. 
First, some programs emit warnings that can be ignored, and it would be 
nice if users could avoid seeing those every time they start the 
program.  Second, and more importantly, standard error is often lost, 
for instance for programs started by ~/.startxwinrc.  It could be useful 
for package maintainers to be able to ask users to send the contents of 
~/.xsession-errors.

Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Implement ~/.xsession-errors?
  2012-11-26 18:35 Implement ~/.xsession-errors? Ken Brown
@ 2012-11-27  7:03 ` Yaakov (Cygwin/X)
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov (Cygwin/X) @ 2012-11-27  7:03 UTC (permalink / raw)
  To: cygwin-xfree

On Mon, 2012-11-26 at 13:35 -0500, Ken Brown wrote:
> I'm wondering whether it's feasible for the Cygwin X-server to redirect 
> stderr to ~/.xsession-errors for programs started under the server, as 
> is done on some Linux systems.  This would be useful for two reasons. 
> First, some programs emit warnings that can be ignored, and it would be 
> nice if users could avoid seeing those every time they start the 
> program.  Second, and more importantly, standard error is often lost, 
> for instance for programs started by ~/.startxwinrc.  It could be useful 
> for package maintainers to be able to ask users to send the contents of 
> ~/.xsession-errors.

~/.xsession-errors is a GDM-ism; as we don't use DMs in Cygwin/X, it
would mean implementing it from scratch somewhere else.  Also, a quick
Google search turned up a bunch of bugs about this file continuously
growing to the point of filling the disk partition, which is obviously
unacceptable, nor would it be helpful in the way you propose (think:
strace snippets).  So I would say, probably not.  If you want to see
errors from a particular program, just start it from console, copy and
paste.


Yaakov
Cygwin/X



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-27  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-26 18:35 Implement ~/.xsession-errors? Ken Brown
2012-11-27  7:03 ` Yaakov (Cygwin/X)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).