public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: John J Ottusch <ncokwqc02@sneakemail.com>
To: cygwin-xfree@cygwin.com
Subject: Persistent CYGWIN/X server taskbar button with urxvt in CYGWIN-64, not rxvt in CYGWIN-32. Why?
Date: Sun, 29 Nov 2015 06:00:00 -0000	[thread overview]
Message-ID: <loom.20151129T035407-584@post.gmane.org> (raw)

I use CYGWIN a lot with 64-bit Windows 7 and have been transitioning 
from 32-bit CYGWIN to 64-bit CYGWIN primarily in hopes of avoiding 
repeated STATUS_ACCESS_VIOLATION errors.

If I could set up 64-bit CYGWIN (= C64) to behave exactly the same way 
as my 32-bit CYGWIN (= C32) set up I would, but the applications don't 
match up exactly and they don't behave exactly the same way.

One difference I notice is that opening a urxvt in C64 creates a 
separate button associated with the Cygwin/X server process in the 
taskbar, whereas opening an rxvt in C32 does not. (rxvt is not available 
as a C64 application, but I would expect urxvt to operate similarly). In 
both cases an icon for the Cygwin/X server process shows up in the 
notification area.

Both are started from a Windows shortcut:

C32 target: 
C:\win32app\cygwin\bin\run.exe C:\win32app\cygwin\rxvtermX.bat

C64 target: 
C:\win64app\cygwin\bin\run.exe C:\win64app\cygwin\urxvtermX.bat

The batch files that run are similar. Both start 'XWin' if it is not 
already running, then run 'rxvt/urxvt'.

Contents of 'rxvterm.bat' (C32):
=================================
@echo off
C:
chdir C:\win32app\cygwin\bin
ps -ef | grep /usr/bin/XWin > nul
if ERRORLEVEL 1 (
  start /DC:\win32app\cygwin\bin /B XWin -multiwindow
)
set DISPLAY=localhost:0.0
rxvt -fn 10x20 -sl 10000 +sr -fg yellow -bg navyblue -title "RXVTerm 
w/X" -e /usr/bin/bash --login -i

Contents of 'urxvterm.bat' (C64):
=================================
@echo off
C:
chdir C:\win64app\cygwin\bin
ps -ef | grep /usr/bin/XWin > nul
if ERRORLEVEL 1 (
  start /DC:\win64app\cygwin\bin /B XWin -multiwindow
)
set DISPLAY=localhost:0.0
urxvt -fn 10x20 -sl 10000 +sr -fg yellow -bg navyblue -title "URXVTerm 
w/X" -e /usr/bin/bash --login -i

I prefer NOT to have the taskbar button for the Cygwin/X server process 
show up. Having an icon show up in the notification area is cleaner.

Why are they behaving differently? Is there a way to make the urxvt 
version (C64) behave like the rxvt version (C32)?

John Ottusch



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


             reply	other threads:[~2015-11-29  6:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-29  6:00 John J Ottusch [this message]
2015-11-30 15:44 ` Jon Turney
2015-12-02  0:17 John J Ottusch
2015-12-03 13:47 ` Jon Turney
2015-12-10  0:03 John J Ottusch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20151129T035407-584@post.gmane.org \
    --to=ncokwqc02@sneakemail.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).