Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64

2014-03-20 Thread Thomas Dickey
On Wed, Mar 19, 2014 at 08:44:29PM -0400, Thomas Dickey wrote:
 On Wed, Mar 19, 2014 at 04:25:44PM -0700, Mark Hansen wrote:
  On 3/19/2014 3:21 PM, Jyhshyong wrote:
   Hi
   
   I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that 
   the Xterm in the system tray icon is no longer working.  
   
   The Xwin server system tray icon has the following target
   
   C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
   
   It works fine as the 32-bit version, click on the icon, I can start X 
   server and open a small Xterm window.
   
   However, the Xterm system tray icon with the target defined as
   
   C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 -
   geometry 120x40  -fn 
   -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-*  
   -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0'
 
 I don't see anything wrong with the command-line, but it's been a while
 since I updated Cygwin packages (and I'm not in the middle of a release
 cycle), so I'll do that to see if it breaks for me.

hmm:

a) I'm uncertain how to configure the system tray to match the
   reported configuration (a sample .XWinrc might help).

b) the latest xterm I find from mirrors is still #302 (should not
   be a problem with the given command-line).

c) xterm comes up on my machine (which is 64-bits).

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64

2014-03-19 Thread Mark Hansen
On 3/19/2014 3:21 PM, Jyhshyong wrote:
 Hi
 
 I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that 
 the Xterm in the system tray icon is no longer working.  
 
 The Xwin server system tray icon has the following target
 
 C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
 
 It works fine as the 32-bit version, click on the icon, I can start X 
 server and open a small Xterm window.
 
 However, the Xterm system tray icon with the target defined as
 
 C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 -
 geometry 120x40  -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-*  
 -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0'
 
 failed to open an xterm window.
 
 The 32 bit version of the Xterm short icon with the target defined as
 
 C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 -
 geometry 120x40  -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-*  
 -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0'
 
 is still working, but only open to the 32-bit Cygwin environment.
 
 Any idea on solving this problem?
 
 Thanks for any suggestion.
 
 Jyhshyong
 

I would start by removing arguments and trying to determine which are causing 
the
problem. Note that (I believe) what shows up in the system try is not the XTerm,
but the XServer (XWin). While the XServer is running, you can run a client, like
XTerm and it will display on the XServer display.

Here is the shortcut I'm using to launch an XTerm under 64-bit cygwin:

C:\Apps\cygwin\bin\run.exe -p /usr/X11R6/bin xterm +tb -sb -sl 5000 -display 
127.0.0.1:0.0 -ls

This is working fine for me.

You can also check the /var/log/xwin/XWinwhatever.log file to see if there 
are any
errors being written there when you try to launch the XTerm.

Good luck.

--
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/



Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64

2014-03-19 Thread Thomas Dickey
On Wed, Mar 19, 2014 at 04:25:44PM -0700, Mark Hansen wrote:
 On 3/19/2014 3:21 PM, Jyhshyong wrote:
  Hi
  
  I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that 
  the Xterm in the system tray icon is no longer working.  
  
  The Xwin server system tray icon has the following target
  
  C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
  
  It works fine as the 32-bit version, click on the icon, I can start X 
  server and open a small Xterm window.
  
  However, the Xterm system tray icon with the target defined as
  
  C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c '/usr/bin/xterm -sl 1000 -
  geometry 120x40  -fn -adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-*  
  -sb -rightbar -fg black -bg white -display 127.0.0.1:0.0'

I don't see anything wrong with the command-line, but it's been a while
since I updated Cygwin packages (and I'm not in the middle of a release
cycle), so I'll do that to see if it breaks for me.

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature