This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xemacs shell problem


Thank you!


Igor Pechtchanski wrote:

Cygwin uses special pipes, called "pty"s, for applications that aren't running in a console. I'm guessing that XEmacs uses these ptys for its shell buffer. Some applications detect that they are not invoked from a console, and allocate one. If the applications don't attempt to be smarter, Cygwin has no problems redirecting their output. The reason the problem doesn't show up in a "bash window" is that bash already runs in a console.

If you have the same problem running from within a terminal, like rxvt or
xterm, I'd suspect that the problem application does exactly that --
allocates a console when run from a pty, which is what causes the flashing
console with error messages.

Well actuall Xemacs' shell is the only place I have this problem. Both rxvt and xterm are working fine (maybe they are not using pty's?). Updating didn't change anything unfortunately.


However, I believe the issue is exactly related to what you say: Application trying to be smart! I will do as you say and research the archives, though I have very little understanding of the matter.

I wonder if anybody else experienced such a thing?

thank you again!
-Levent.



There have also been some fixes related to pty-handling and Windows console applications, but I don't recall whether they've made it to the current release (1.5.9), so search the mailing list archives or just try the latest snapshot to see if it helps. Igor


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]