public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* stray stdout/stderr/pseudo console garbage output
@ 2020-02-08 17:19 Thomas Wolff
  2020-02-08 23:48 ` Takashi Yano
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Wolff @ 2020-02-08 17:19 UTC (permalink / raw)
  To: cygwin

When I run mintty in the background from a nested shell, like
     mintty & within a shell script, or
     (mintty &) from an interactive shell,
and it produces the following error output, some stray string is 
appended to its output, like:

Ignoring unknown option 'ShowTabBar'.
Font not found, using system substitute:
Luxi Monotch??????                ffer: pty0: pcon

or:

Ignoring unknown option 'ShowTabBar'.
Font not found, using system substitute:
Luxi Mono      2 [main] mintty 1551 
fhandler_pty_slave::push_to_pcon_screenbuffer: pty0:
pcon_attach_to mismatch??????

The first message ("Ignoring ...") is written with fprintf(stderr, ...).
The second message ("Font not found") is written with fputs(..., stderr).
Without specific mintty configuration, reproducible with the command 
(parentheses needed):
(mintty --fn "dummyfont" -o dummyopt=none&)

Observable with 3.1.0, 3.1.2 or snapshot 2020-01-31.
Sorry, I could not reduce the test case to a simpler setup.
Thomas

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

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

* Re: stray stdout/stderr/pseudo console garbage output
  2020-02-08 17:19 stray stdout/stderr/pseudo console garbage output Thomas Wolff
@ 2020-02-08 23:48 ` Takashi Yano
  2020-02-09  8:22   ` Takashi Yano
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Yano @ 2020-02-08 23:48 UTC (permalink / raw)
  To: cygwin

On Sat, 8 Feb 2020 18:19:53 +0100
Thomas Wolff wrote:
> Ignoring unknown option 'ShowTabBar'.
> Font not found, using system substitute:
> Luxi Mono      2 [main] mintty 1551 
> fhandler_pty_slave::push_to_pcon_screenbuffer: pty0:
> pcon_attach_to mismatch??????

This output is generated by debug code in pty when some buggy
condition is detected. It seems that pty code still has bug...

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

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

* Re: stray stdout/stderr/pseudo console garbage output
  2020-02-08 23:48 ` Takashi Yano
@ 2020-02-09  8:22   ` Takashi Yano
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Yano @ 2020-02-09  8:22 UTC (permalink / raw)
  To: cygwin

On Sun, 9 Feb 2020 08:48:35 +0900
Takashi Yano wrote:
> On Sat, 8 Feb 2020 18:19:53 +0100
> Thomas Wolff wrote:
> > Ignoring unknown option 'ShowTabBar'.
> > Font not found, using system substitute:
> > Luxi Mono      2 [main] mintty 1551 
> > fhandler_pty_slave::push_to_pcon_screenbuffer: pty0:
> > pcon_attach_to mismatch??????
> 
> This output is generated by debug code in pty when some buggy
> condition is detected. It seems that pty code still has bug...

I have found the culprit.
I will submit a patch for this issue shortly.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

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

end of thread, other threads:[~2020-02-09  8:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-08 17:19 stray stdout/stderr/pseudo console garbage output Thomas Wolff
2020-02-08 23:48 ` Takashi Yano
2020-02-09  8:22   ` Takashi Yano

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).