This is the mail archive of the
mailing list for the Cygwin project.
Re: Isuse with xwin-xdg-menu "View logfile"
- From: Michael DePaulo <mikedep333 at gmail dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Thu, 9 Jul 2015 07:50:27 -0400
- Subject: Re: Isuse with xwin-xdg-menu "View logfile"
- Authentication-results: sourceware.org; auth=none
- References: <CAMKht8i34KNGR9-47iDYo=deTzASA2NYdtuMEmdp-xawyn4PsQ at mail dot gmail dot com> <559D3703 dot 1060805 at dronecode dot org dot uk>
On Wed, Jul 8, 2015 at 10:43 AM, Jon TURNEY <email@example.com> wrote:
> On 07/07/2015 04:13, Michael DePaulo wrote:
>> First of all, let me say how much I like xwin-xdg-menu. Thumbs up to
>> Jon Turney, and to all the other developers like Yaakov Selkowitz who
>> work on related components/package for Cygwin/X.
>> Anyway, when I do the following:
>> $ xinit -- -multiwindow
>> From the xterm that automatically launches:
>> $ xwin-xdg-menu
>> XDG Menu > View logfile
>> I then see this:
>> executing 'xterm -title '/dev/pty1' -e less +F /dev/pty1', pid 1292
>> (pid 1292 stderr) Warning: Missing charsets in String to FontSet
>> (pid 1292 stderr) Warning: Unable to load any usable fontset
>> pid 1292 exited with status 0
>> (The xterm window flashes briefly, and then disappears.)
>> Is /dev/pty1 the log file we should be trying to open?
>> I am not even sure what log file should be opened. Personally, I would
>> have assumed it is the X Server's log file.
> That's hard to do with full generality, as we would need to know or discover
> what -logfile option the server was given.
>> I see that this is the relevant code:
> I made a small update to today, which includes a change to remove the "View
> logfile" menu item if stdout is a tty, which should avoid this problem
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer
Thanks. I tested it successfully.
And Yaakov, thanks for explaining that.
(In a split email thread, Yaakov explained that I should use the "XWin
Server" shortcut, which uses startxwin).
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple