X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=hl XkD9L9ASKHzfITjaZZvkS7naLhw/7d5uhJ0l9O5x6WQdQg/UNbj8N9rtTP3UlRWl V5ttD9bp9uppk8bJUID5bXsv8+uGZaNnI4jLK9Nb66mTQBzXuROGBBbz92blxvec mAyfMhgNFBjdRBT4O/WWAPANY1/b5BxYt0/IUAuPA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=rMsEsfke 7GVCm0hh4G852sGewjs=; b=sJWUif7dvqhY1UtWL/rcLpRC1rNu1YJKvh1DHfkp frnBGxIGnxMEpFulnwSzOrG+HCIqJj69trgX/7diGF++lNmlfnTVWJPkqfyjNFOd 6Vlt0S1waWbW41rRXJsH7Ua2fYXKPr7PQ+z3F7yT7Z28resEMsUlHIHxeTTT2Sbt zcY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f170.google.com MIME-Version: 1.0 X-Received: by 10.129.88.86 with SMTP id m83mr16974207ywb.91.1436442627314; Thu, 09 Jul 2015 04:50:27 -0700 (PDT) In-Reply-To: <559D3703.1060805@dronecode.org.uk> References: <559D3703 DOT 1060805 AT dronecode DOT org DOT uk> Date: Thu, 9 Jul 2015 07:50:27 -0400 Message-ID: Subject: Re: Isuse with xwin-xdg-menu "View logfile" From: Michael DePaulo To: The Cygwin Mailing List Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Wed, Jul 8, 2015 at 10:43 AM, Jon TURNEY 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 >> conversion >> (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: >> >> https://github.com/jon-turney/xwin-xdg-menu/blob/51ae0ec7f225b8257ba64ce5318b857bf9ce8450/execute.c#L236 > > > 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 > scenario. > > -- > 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). -Mike -- 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