Re: Help

2008-04-17 Thread Igor Peshansky
Dharini,

http://cygwin.com/acronyms/#PPIOSPE.  Not only will you have the access
to more expertise than any one person can provide, but your query and the
answers to it will be in the archives for others to find later.

I've redirected your query to the appropriate list, and set the Reply-To
header accordingly -- please make sure your mailer honors it.

On Thu, 17 Apr 2008, dharini sutharsan wrote:

 Hello Sir
 i want to use XV for my educational work and i couldn understand the
 installation procedure... kindly guide me in installing Xv...

 I hav cygwin and can in install XV in cygwin.. if so give me the
 procedures sir...

 Thanks in advance

 Regards
 Dharini

What installation procedure are you referring to?  The supported
installation procedure for Cygwin is in the FAQ:
http://cygwin.com/faq/faq-nochunks.html#faq.setup.setup.  Was there a
particular way that it didn't work?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
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: X is not starting

2008-04-08 Thread Igor Peshansky
On Mon, 7 Apr 2008, Daniel Senderowicz wrote:

 I'm resending the XWin.log because it seems that your spam
 blocker doesn't like the compressed file.

FWIW, the compressed attachment came through.  But it would be nice (TM)
to get a plain-text attachment, as that could be easily read through the
web archives while not polluting the actual message with inline text.

 Hi,

 I had everything perfectly working with startx :0 until I decided that
 I needed to emulate a 3-button mouse. Since I didn't find such option in
 the startx script, I set it up in the starxwin.bat which I never used
 before. So when I startxwin it will open whatever application I can
 invoke from the command line but it doesn't give me a separate layer
 such as the one I was getting with startx in which I could click with
 the mouse, etc. So I tried to go back to startx but now it closes off,
 so I don't know why I cannot go back to what I was doing before. I
 deleted /tmp/.X11-unix to no avail. I assume that there should be
 another persistent file that was modified when I invoked startxwin which
 is not letting startx work properly. Below you'll find
 the /tmp/XWin.log.

 Many thanks in advance,
 Daniel

 _
 XWin was started with the following command line:
 X :0 -multiwindow -clipboard
   
First things first: the above causes X to use the native MS window manager
instead of a separate window manager like twm.  You seem to indicate that
you liked the separate root window -- for that, remove the -multiwindow
option.

Also, if you want to emulate a 3-button mouse, try the -emulate3buttons
option.

FWIW, you can pass extra arguments to the X server via startx.  For
example, to get the above, use startx :0 -- -emulate3buttons -clipboard.

 [snip]
 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

This might be a problem if that socket is not readable/writable by you.
Otherwise you can ignore it.

 [snip]
 winClipboardProc - Call to select () failed: -1.  Bailing.

This could indicate the presence of an application from the
http://cygwin.com/acronyms/#BLODA (see
http://cygwin.com/faq/faq.using.html#faq.using.bloda for a list).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
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: X server already running?

2007-12-02 Thread Igor Peshansky
On Mon, 26 Nov 2007, Kevin Porter wrote:

 (Talking of vim, if anyone can tell me how to paste into a cygwin/X/vim
 window I'd be extremely grateful. My usual cumbersome workaround is to
 quit my vim session and fire up gvim to do the paste!).

I don't believe this has been answered.  First off, you can paste using
the middle mouse button.  If you have a two-button mouse, you can use the
-emulate3buttons flag to XWin (it might even be the default), and then
press the left and right buttons simultaneously.  Finally, if you want the
Windows clipboard, then ':!cat /dev/clipboard' works fine from within vim.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
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: Windows GUI apps from xterm

2007-09-29 Thread Igor Peshansky
On Wed, 12 Sep 2007, Holger Krull wrote:

 Keep things on the list please.

  Now from the same cygwin shell, if I run rsh any_unix_machine, I am
  now logged into a unix box, now I run rsh terminal_server_name, I am
  now back on the terminal server. Now if I run calc, it doesn't work,
  attached are 2 snapshots.

 so you have
 terminal-server -unix -terminal-server

 I'm not suprised that this doesn't work.
 The second rsh session you create on the terminal server is not aware of
 the former terminal-server connection. You wouldn't expect to see the
 graphical output of calc if you would sit in front of the unix server
 and doing a rsh to the terminal-server.

Actually, the calc process is spawned by the inetd service, which usually
cannot interact with the desktop by default.  If the OP enables the
Interact with Desktop checkbox for the inetd service, this should work.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: Simple patch to enable stereo visuals in XWin_GL

2007-08-01 Thread Igor Peshansky
On Fri, 20 Jul 2007, DRC wrote:

 Hi.  I was wondering who maintains the experimental accelerated GLX
 support in Cygwin/X.  I have a simple patch which enables stereo visuals
 (necessary to support my project, VirtualGL) on systems that support
 stereo.  I'd like to get this patch incorporated into the Cygwin
 distribution of XWin_GL, if possible.

Darrell,

Cygwin/X is basically the X.org tree built for Cygwin.  So you can try
sending your patch to the upstream X.org team.

However, we are currently missing a maintainer for Cygwin/X.  So there
probably won't be a new release of Cygwin/X to pick up the fix, even if
it's accepted into the upstream tree.

Volunteer maintainers welcome.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: Fw: feedback on a configuration package for X11/ctwm|twm

2007-08-01 Thread Igor Peshansky
On Sun, 22 Jul 2007, John S. Urban wrote:

 I have had a good number of friends and associates ask for a copy of a
 directory that sets up and starts X11 with the ctwm or twm window
 manager for CygWin.  Enough so, that I put a copy of the directory into
 a uuencoded file at
   cygstart http://home.comcast.net/~urbanjost/CYGWIN/index.html

This does sound interesting...

 [snip]

 There are a lot of other goodies in the configuration that bring
 often-overlooked cygwin/X11/ctwm|twm features
 to your fingertips, such as ...
 under the menus
  left-mouse--Other Window Managers --
 are options to start almost all the standard window managers in new
 server instances independently or via Xnest.

 I was looking for feedback on whether this is of enough general interest
 that I should spiff it up and turn it into a CygWin package.  I
 believe most of the menu items are self-explanatory; but they introduce
 people new (or not so new) to CygWin to how cygstart(1), dialog(1),
 XNest(1) and other utilities can be integrated with CygWin/X11 features
 too often overlooked to create a very complete user environment.

You should certainly feel free to propose a Cygwin package with your
modifications (as long as it does not overwrite existing configuration).
See http://cygwin.com/setup.html for instructions on packaging for
Cygwin.  Since you are already providing a web site with this information,
you can also add a setup configuration (setup.ini and directory structure)
to allow people to install and test your package directly off your site by
adding it as a mirror in Cygwin setup.

Another option is to try integrating it with the X-startup-scripts and
X-start-menu-icons packages, though I don't recall who maintains them, and
whether they are as maintainer-less as Cygwin/X itself.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: Xcensored

2007-07-30 Thread Igor Peshansky
And since this thread is now discussing X-related stuff, it's being
redirected to cygwin-xfree.  Please remove the main list from replies.

On Sun, 29 Jul 2007, Linda Walsh wrote:

 Eric Blake wrote:
  .Xdefaults can also affect non-X usage of rxvt.

   Yeah, I have entries for it in my X defaults file, for the non-X
 version.  For some reason, the font setting, Lucida Console, that
 works in the non-X rxvt gives an error under the X version.  sigh.

Oh, that's because the non-X version uses Windows fonts, and the X version
uses the fonts your X server is aware of.  You can add truetype fonts to
your X server -- google for instructions.

  You didn't look hard enough then.
 ---

Ugh.  I like the above reply style much better than these lines...  Even
though you are doing a better job with quoting than you used to. :-)

   I didn't feel I needed to look when subscription information
 is included at the bottom of every shiny cygwin email:

  Unsubscribe info: --- http://cygwin.com/ml/#unsubscribe-simple 

Hmm, good point.  Maybe this ought to be changed to a pointer to a link on
the lists.html page, which says something like click here to unsubscribe
and redirects to the above anchor?

On the other hand, clicking on the Mailing lists link on the main Cygwin
page does take you to lists.html...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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: Cant start XFS font server

2007-04-17 Thread Igor Peshansky
On Mon, 16 Apr 2007, Dell'Anna Michele (TERNA) wrote:

 I'd like to use a PC with Windows 2000 and Cygwin installed as a Font
 Server.
 I added the fonts path to /etc/X11/fs/config but when I try to start xfs
 service I receive
 the following message:
 FontTransmkdir: Owner of /tmp/.font-unix should be set to root
 I searched in mailing list but I didn't find nothing usefull.

 Anybody could help me?

You might find the cygwin-xfree list more helpful for your problem.
Redirected.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: startxwin.bat fails: could not open default font 'fixed' (XP, FAQ 8.4 N/A)

2007-03-31 Thread Igor Peshansky
On Fri, 30 Mar 2007, Brett Harris wrote:

  I have this in my mount table that you are missing:
  C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type
  system (binmode)
 
  Could you try that?
 
  I snipped out lots of your data just to save space.
 
  -Jason

 Performed the following steps and then tried to run startxwin.bat, no
 change though.

 -Brett

 -
 [EMAIL PROTECTED] ~
 $ mount -bs C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts

 [EMAIL PROTECTED] ~
 $ mount
 C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
 (binmo
 de)
 C:\cygwin\bin on /usr/bin type system (binmode)
 C:\cygwin\lib on /usr/lib type system (binmode)
 C:\cygwin on / type system (binmode)
 c: on /cygdrive/c type system (binmode,noumount)
 x: on /cygdrive/x type system (binmode,noumount)
 y: on /cygdrive/y type system (binmode,noumount)
 z: on /cygdrive/z type system (binmode,noumount)

 [EMAIL PROTECTED] ~
 $ cd /usr/X11R6/lib/X11/fonts/

 [EMAIL PROTECTED] /usr/X11R6/lib/X11/fonts
 $ ls
 100dpi  75dpi  TTF  Type1  cyrillic  encodings  misc  util

You forgot to reinstall the fonts packages after mounting the directory
binmode.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: xinitrc final command with -multiwindow

2007-03-21 Thread Igor Peshansky
http://cygwin.com/acronyms/#PCYMTWLL.  Thanks.

On Wed, 21 Mar 2007, J. David Blackstone wrote:

   Since X exits when the xinitrc process terminates, xinitrc needs to
 finish by starting a program that will run for the duration of my X
 session.  Traditionally this is a window manager, but with -multiwindow
 a window manager is already running.  So with -multiwindow the usual
 course of action is to exec an xterm.  But when that xterm exits, so
 does X.  Unfortunately I'm very prone to getting that magic xterm mixed
 up with all my others, and shutting down my whole session without
 intending to.  Also, I don't want that xterm because I have my XWinrc
 set up to run every command that I want to run (mostly a series of
 xterms that ssh to other servers, as well as a local xterm, of course).

   I just moved to a new machine at work, and managed to back up
 everything I needed except my xinitrc.  Somehow I had figured out what
 to exec at the end of xinitrc to avoid having that magic xterm, but I
 can't remember what I did!  I think I found it on a Cygwin mailing list,
 probably three years ago.  But tonight I can find no reference to it at
 all.

   I know that for a time I just ended xinitrc with a loop that did a
 sleep 60 or something over and over again.  But that was awkward and had
 problems.  At one point I started up xclock or something.

   Does anyone know what the standard suggestion for the last command of
 xinitrc is when you cannot run a window run a window manager and you do
 not want to run an xterm or anything else that clutters up the task bar?
 It'd be nice if sleep just had an option to sleep indefinitely until
 killed (I exit from the XWinrc menu), but that doesn't seem to be
 available.

sleep 1d should do it -- I doubt your computer will last that long.
:-)

Or you could use the -noreset X option.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: customizing keyboard layout with XKB

2007-03-21 Thread Igor Peshansky
On Wed, 21 Mar 2007, Alan James Caruana wrote:

 Hi,

 I've been searching on how to configure and customize a keyboard
 layout with XKB, and all I could find is the basic guide on the
 XFree86 site. ( www.xfree86.org/current/XKB-Config.html ), but I need
 something more detailed (or maybe some help from anybody who knows
 XKB).

 There is the XkbOptions field, but I couldn't find a list of the
 possible options I can give it. The same goes for XkbVariants.

 I know that I can use the XkbLayout to change the keyboard language,
 but if I want to create a custom keyboard layout, say with the letters
 'Q' and 'A' inverted, what should I do?

 I would appreciate it if anyone could help me in any way, whether by
 giving me the solution or by pointing me towards good documentation
 from which I can figure out how to do it myself.

man xkbcomp.  Also, look at various files in /etc/X11/xkb.

Googling for custom keyboard layout xkbcomp got some helpful links too,
e.g., http://fearchar.net/2007/February/07-custom-keyboard-mapping.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: _X11TransOpen: unable to find transport for tcp

2006-12-20 Thread Igor Peshansky
On Tue, 19 Dec 2006, J W wrote:

 I ran cygcheck xterm.exe and also cygcheck rxvt.exe.
 Neither reports any errors.

What is the exit code?

 [snip]
 and just for reference the error I receive is:

 ~# rxvt
 _X11TransOpen: Unable to find transport for tcp
 rxvt: can't open display 127.0.0.1:0.0

Make sure you have the symbolic links hosts, networks, services, and
(especially) protocols (those symlinks should have been created
automatically when you installed Cygwin).  Post the output of ls -l
/etc/{hosts,networks,services,protocols}.  /etc/protocols should contain
the following line:

tcp  6 TCP  # Transmission control protocol

If that is not your problem, please read and follow

 Problem reports:   http://cygwin.com/problems.html

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: Can run Eclipse from a remote Linux box.

2006-12-14 Thread Igor Peshansky
On Wed, 13 Dec 2006, Michael March wrote:

 First.. the version of Cygwin:

  $ uname -a
  CYGWIN_NT-5.1 maupin-ng 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin

 Here is what I get on the remote command line:

  [EMAIL PROTECTED] mmarch]$ eclipse
  The program 'EasyEclipse' received an X Window System error.
  This probably reflects a bug in the program.
  The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 1602 error_code 3 request_code 38 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

 Here is what the local console says:
 [snip]
  winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid
 Window parameter)

Does http://x.cygwin.com/docs/faq/cygwin-x-faq.html#AEN351 help?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: Cygwin/X and cygrunsrv

2006-12-03 Thread Igor Peshansky
On Sun, 3 Dec 2006, Tomasz B?achowicz wrote:

 Hi all,

 Have a question to more experienced users. Is it possible to run
 Cygwin/X as service on my XP box? Currently I've added startxwin.bat
 to Windows Startup so it starts at the system startup. But I'd like to
 run X server using cygrunsrv like httpd2, ssh and cron. Although I'm
 not certain it's a good idea in general.

 Every piece of advice is welcome, I'd appreciate it.

Tom,

Contrary to the popular belief and the unfortunate naming, the X server is
not really a server.  It is an application that accepts requests from
other applications (called the X clients) and draws them on the screen.
This means that it needs to have access to the Windows desktop (which is
one of the reasons it cannot successfully run as a service).  You are
probably better off with your current setup.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: Cygwin/X Authentication Config Issue

2006-11-07 Thread Igor Peshansky
http://cygwin.com/acronyms/#PPIOSPE.  I set my Reply-To: for a reason --
please make sure your mailer respects it.  Thanks.

Also, http://cygwin.com/acronyms/#TOFU reformatted.  More below.

On Mon, 6 Nov 2006, Bob Zagarello wrote:

 -Original Message-
 From: Igor Peshansky [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 06, 2006 8:00 PM
 To: BZAG
 Cc: [EMAIL PROTECTED]

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

 Subject: Re: Cygwin/X Authentication Config Issue

  On Mon, 6 Nov 2006, BZAG wrote:
 
   After ALOT of horsing around with this issue and trying to understand
   how all of this works, I finally zeroed in on my own problem which was,
   after all, documented somewhere.
   The issue is that the DISPLAY parameter CANNOT be set in any login
   shells on the remote X-client, EVEN IF IT IS THE SAME VALUE.
 
  That is not true.  If the value of DISPLAY is literally the same as what
  ssh sets it to, things work just fine.
 
   If someone could actually explain this that would be great, because I've
   been trying to understand how this works for some time.
  
   My guess at it is this:
  
   Once the SSH tunnel is established, changing the DISPLAY environment via
   login script or interactively tries to bypass the tunnel and go its own
   way, even if the DISPLAY value is the same IP:displaynumber.screennumber
   as the one being used.
 
  Nope.  When ssh tunnels X requests, it actually sets up a real X display.
  So, if your DISPLAY is set to something:10.0, you'll find something
  listening on port 6010.
 
   To prove my point, ssh automatically sets DISPLAY to localhost:10.0 on
   the remote X-client, EVEN IF IT IS OVER THE NETWORK.
 
  Of course.  Since the ssh daemon sets up the X display on the machine
  you're connecting to, it wants all requests to go to the particular port
  on localhost, and will take care of forwarding the requests.  If you set
  DISPLAY to the machine you're connecting from, ssh would have no way of
  intercepting the requests, and the X packets would go unsecured directly
  to your machine (and will fail to connect unless you allow it via xhost).
 
   This plays a bit of havoc with one's sensibilities, because localhost is
   normally the machine the interactive session is actually on.
 
  localhost is whatever machine the process is running on.  In this case,
  it's the machine you've connected to via ssh.
 
   But because it is an SSH tunnel, the interactive session remembers
   that it is on your X-server's machine and NOT on your X-Client machine.
 
  The interactive session actually runs on the X client machine.  This is a
  normal role reversal in the X world -- the machine that shows the windows
  is the server, and the machine running the applications that display the
  windows is the client (which is the exact opposite of the ssh
  server/client roles).
 
   So, the DISPLAY parameter that is actually IN your X-Client's
   environment is not REAL because of the tunnel, and setting it to the
   same value interactively actually DOES change it to the REAL localhost
   of your X-Client, thus destroying your connection to the tunnel.
 
  The DISPLAY parameter is real, but you have to be careful to set it to
  EXACTLY the same value as what ssh would have set it to.  Note that ssh
  sometimes selects the first available display value on the remote machine,
  which may not be 10.  To make things worse, there are *two* DISPLAY values
  to consider: one you set on the local machine before running ssh, and the
  other that ssh sets automatically in the shell on the remote machine.
 
   The big kicker for me is that I use PuTTY, and in the SSH-X11 section of
   PuTTY there are TWO entries.
   One is a check box for X11 Forwarding and the other is an X11 display
   location parameter.
 
  The X11 display location here is most likely the former (i.e., the DISPLAY
  that the X server is exposing locally).  I can't be sure, as I don't use
  PuTTY.
 
   I had to REMOVE the localhost:0 entry I had in the location parameter.
 
  This means that you probably don't run the X server on display 0.  DISPLAY
  settings are very sensitive to the literal values, so you may actually
  need to set it to localhost:0.0 or something similar.
 
   I also tried localhost:10 and that failed also.
 
  Of course.  People normally don't run X on display 10.
 
   By deleting the entry altogether, the tunnel now works with PuTTY.
 
  This may be because PuTTY defaults to localhost:0.0, or it may be
  because DISPLAY is set in the environment before PuTTY starts...
 
   The other related factoid is that all of this still comes over on port
   6000.
 
  On a local machine, yes.
 
   The fact that localhost:10 is used is neither here nor there as far as
   the port is concerned because the tunnel is already established before
   you logon.
 
  Try doing a netstat -a on the remote machine -- you'll see something
  listening on port 6010 there.  Locally, port 6010 is not used, since

Re: Cygwin/X Authentication Config Issue

2006-11-06 Thread Igor Peshansky
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Problems with terminal -tn setting TERM variable

2006-11-03 Thread Igor Peshansky

On Fri, 3 Nov 2006, Matt Wozniski wrote:


Sorry for the crosspost - I posted this on the Cygwin list last week, but
didn't get a response, and realized that it probably belonged better on
this list, so I'm trying again.

I'm sorry if there's an easy solution that I haven't found yet, but
I'm wondering if anyone else is experiencing the same problem with
Cygwin/X's xterm as I am.  xterm -tn doesn't seem to properly set up
the TERM variable.

For example:
xterm -tn xterm-16color -e bash -c 'echo TERM=$TERM; read x'

pops up a Cygwin/X xterm window containing
TERM=xterm

Whereas
rxvt -tn xterm-16color -e bash -c 'echo TERM=$TERM; read x'

pops up a Cygwin/X rxvt window containing
TERM=xterm-16color

Can anyone else confirm this behavior, or offer a suggestion on how to
deal with this behavior?  I want to use xterm, since I couldn't get
the same level of unicode support in rxvt cygwin native, rxvt cygwin x
unicode, or rxvt cygwin.  I also don't want to explicitly set TERM in
one of my dot files, since I use the same ones on many computers.


I can reproduce your particular testcase, not surprisingly.

According to the xterm manpage, This terminal type must exist in the
terminal database (termcap or terminfo, depending on how xterm is built)
and should have li# and co# entries. If the terminal type is not found,
xterm uses the built-in list ``xterm'', ``vt102'', etc.

xterm -tn ansi and xterm -tn vt100 both work.  You need to look at
your terminal database and figure out why xterm is not picking it up.
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
 |\  _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
|,4-  ) )-,_. ,\ (  `'-'old name: Igor Pechtchanski
   '---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Problems with terminal -tn setting TERM variable

2006-11-03 Thread Igor Peshansky
On Fri, 3 Nov 2006, Matt Wozniski wrote:

 On 11/3/06, Igor Peshansky [EMAIL PROTECTED] wrote:

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

  According to the xterm manpage, This terminal type must exist in the
  terminal database (termcap or terminfo, depending on how xterm is
  built) and should have li# and co# entries. If the terminal type is
  not found, xterm uses the built-in list ``xterm'', ``vt102'', etc.
 
  xterm -tn ansi and xterm -tn vt100 both work.  You need to look at
  your terminal database and figure out why xterm is not picking it up.

 Well, mystery solved, it's using termcap instead of terminfo, but why
 would on earth would two Cygwin xterm packages (mine and Igor's) use
 two different terminal capability databases?  The man page says that
 it depends on how it was built, but how could the two packages have
 been built differently?

Umm, actually, what I said was that I *could* reproduce your behavior.
My xterm also uses /etc/termcap.  No mystery here.  Both ansi and
vt100 are in /etc/termcap, and xterm-16color isn't.

 Igor:  Does grep '^xterm' /etc/termcap give you more than just one
 line defining xterm-r6 and xterm?  I'm just trying to figure out if
 yours is also using termcap and your termcap entry covers
 xterm-16color, or if yours is using terminfo like it ought to be.

My termcap only has one entry for xterm.

As for whether xterm should be using terminfo, you might want to ask the
xterm maintainer to rebuild the package.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Cygwin X fails to start

2006-10-28 Thread Igor Peshansky
On Fri, 27 Oct 2006, mgoh wrote:

  See the '-f' flag for 'mount'.

 I tried many times, but it did work.  It would complain that the mount
 didn't exist.  I had to do the little dance described above...

Read the mount man page on the difference between user and system mounts.
If that is not the problem, please read http://cygwin.com/problems.html
for instructions on how to provide enough information for us to be able to
help.  FWIW, this belongs on the main Cygwin list.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: help for cygwin and XWin

2006-10-16 Thread Igor Peshansky
First, http://cygwin.com/acronyms/#PPIOSPE.

Second, this was not my bug -- I simply redirected the message to the
appropriate list (as I'm doing with yours now).

More below.

On Sun, 15 Oct 2006, Patrick HENRY wrote:

 I am blocked with exactly the same bug you have get with cygwin 2 years
 ago.

 Fonts are OK

 I think it is the configuration of my computer  because on an other one
 it runs differenty.

 Maybe threads maybe shared memory, I don't know.

 Do you have fixed the problem ?
 If yes I am very interested.

 Thanks,
 P. HENRY



 Here a copy of your message:

 -

 First, please start a new thread instead of replying to a message from
 an unrelated thread -- otherwise it screws up the threading.  Second,
 you've sent this to the wrong list -- redirecting this to cygwin-xfree.
 Igor

 On Fri, 4 Jun 2004, Will Senn wrote:

  All,
 
  I have read the thread on this error and while interesting and
  captivating, it doesn't appear to apply to my installation.
 
  I heard cygwin switched to X.org from XFree86 over licensing, etc. I
  decided groovy, my cygwin installation is getting a bit stale anyway.
  So, I deleted my cygwin directory along with all the references in the
  registry and downloaded the realease directory, and burned it to DVD
  (can't believe it won't fit on a CD anymore) yesterday. I ran setup,
  pointed it to my spankin' new cygwin DVD and let 'er rip for a while.
  The installation worked like a charm for the command line stuff. I did
  my usual tweakage - added %1 %2 %3 %4 %5 %6 %7 %8 %9 to cygwin.bat,
  add Cygwin Prompt Here to the registry, associated .sh files with
  cygwin.bat and installed my brand new _fullbackup.sh and _incbackup.sh
  files (thanks Fred Kulack for the -T- steer - embedded spaces are SUCH
  a pain) and added them to the Scheduled Tasks. I ran both jobs once to
  be sure they worked and Voila! Eureka! it worked.
 
  However, I then tried to run startx from the command line to compare
  X.org with the previous XFree86 and bummer, dude...
  ~could not open default font 'fixed'
  ouch, looked in the archives for this list, read the thread and looked
  at the faq entry, but neither possibility appears to apply:
 
  1. xorg-x11-fnts is missing - nope, it's there.
  2. /usr/X11R6/lib/X11/fonts is invalid, ls lists all the normal
  directories and misc contains a slew of .pcf.gz files.
 
 
  I reran /etc/postinstall/xorg-x11-fnts.sh.done, but it didn't fix
  anything.
 
  here's some of the output of the command (extraneous stuff omitted
  including extra linebreaks).
 
  Please give a helpful suggestion as to next steps...
 
  Thanks,
 
  Will
  - -snip
  $ startx
  Welcome to the XWin X Server
  Vendor: The Cygwin/X Project
  Release: 6.7.0.0-9
  Contact: cygwin-xfree@cygwin.com
  XWin was started with the following command line:
  X :0 -multiwindow -clipboard
  (snip)
  (EE) Keyboardlayout US (0409) is unknown
  Rules = xorg Model = pc101 Layout = us Variant = (null)
  Options = (null)
  Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
  removing from list!
  Fatal server error:
  could not open default font 'fixed'

Third, search the recent archives of the cygwin-xfree list at
http://cygwin.com/ml/cygwin-xfree/2006-10/ -- there were plenty of
reports (and a few solutions).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: cygwin as X terminal(s) ?

2006-09-24 Thread Igor Peshansky
On Sun, 24 Sep 2006, Igor Peshansky wrote:

 This is an X-specific question, and needs to go to the Cygwin/X list.
 Redirecting.

 On Sun, 24 Sep 2006, Richard Foulk wrote:

  Aloha,
 
  As someone pointed out you can use Cygwin with X as an X terminal.
  For remote admin of a linux/unix box that's pretty handy.  By invoking
  this command from Cygwin before starting X:
 
  x -broadcast
 
  you get a window that contains the whole remote desktop.  Is there a way
  to create multiple separate such windows/desktops on one Cygwin system?
  That would be mighty handy for admining multiple machines.

 Try X :0 -broadcast, X :1 -broadcast, etc.  For more information, see
 man XWin.

Oops, sorry, I meant man Xserver.  Also, you might want to investigate
the -query option instead of -broadcast, to have finer grained control
of which machines you'll be connecting to.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: cygwin as X terminal(s) ?

2006-09-24 Thread Igor Peshansky
This is an X-specific question, and needs to go to the Cygwin/X list.
Redirecting.

On Sun, 24 Sep 2006, Richard Foulk wrote:

 Aloha,

 As someone pointed out you can use Cygwin with X as an X terminal.
 For remote admin of a linux/unix box that's pretty handy.  By invoking
 this command from Cygwin before starting X:

   x -broadcast

 you get a window that contains the whole remote desktop.  Is there a way
 to create multiple separate such windows/desktops on one Cygwin system?
 That would be mighty handy for admining multiple machines.

Try X :0 -broadcast, X :1 -broadcast, etc.  For more information, see
man XWin.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: cygwin

2006-08-28 Thread Igor Peshansky
Venkateswarlu,

http://cygwin.com/acronyms/#PPIOSPE.  I would also recommend reading
http://cygwin.com/problems.html before posting again.  Based on the
limited clues in your email, I'm redirecting this to the cygwin-xfree
mailing list.

On Sun, 27 Aug 2006, Venkateswarlu K wrote:

 Hello sir,

   I am venkateswarlu,i installed cygwin on windows xp
   now i am display setting problem.ns-2 nam x window
 is not starting.
   plz help me.


 vemkateswarlu.k

You'd have to add much more detail: what fails, in what way, exactly what
steps are required to reproduce the problem...  See the above link to the
problem reporting guidelines.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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 while starting xserver

2006-08-24 Thread Igor Peshansky

On Thu, 24 Aug 2006, dpsrikanth wrote:


Hi

I am sending the error.jpj which contains error information.it is coming
while starting xserver.
Please tell me how can i rectify this problem.

waiting for ur reply


Did you actually *read* the error message?  We'll need to see the
information mentioned in there before we can figure out what went wrong.
Igor
--
http://cs.nyu.edu/~pechtcha/
 |\  _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
|,4-  ) )-,_. ,\ (  `'-'old name: Igor Pechtchanski
   '---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: running CygwinX with a limited user account

2006-08-23 Thread Igor Peshansky
On Wed, 23 Aug 2006, Angelo Graziosi wrote:

 Igor Peshansky wrote:

  For each user, execute mount -u SOMEUSERSPECIFICDIR /tmp (as man
  mount would have told you).

 Are we sure that this works with startxwin.bat ?

 Some time ago I tried to mount /tmp in an user directory (I used also
 %TEMP%, i.e. C:\Doc...\%USERNAME%\..\Temp) but it did not worked with
 startxwin.bat: it tries to remove \cygwin\tmp\.X11-unix\X0 which,
 apparently, does not know about the mount.

Right.  One could rewrite startxwin.bat to do that using cmd.exe extended
syntax, but then it'd stop working on Win9x.

Alternatively, use 'rm -f' instead of 'del', and it should understand the
mount just fine.

 Instead the mount works fine if one uses startx or startxwin.sh!

Yes, because you're running from a Cygwin shell.

 But in these cases one should first start cygwin.bat and the possibility
 to start the X server from a link on the desktop is more hard.

Just put 'c:\cygwin\bin\bash --login -c /usr/X11R6/bin/startxwin.sh' in
the desktop shortcut.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: keyboard problem : upper numeric keys don' t work

2006-08-23 Thread Igor Peshansky
On Wed, 23 Aug 2006, cirrus75 wrote:

Hello all!

Xfree runs OK but upper numeric keys (not num keypad) do not work
 well. Also TAB and BACKSPACE seem not to work well too. My keyboard map
 seems to be OK because all other keys are OK.

I had a similar problem with an PC emulator called QEMU. So, I
 beleive this is a problem of some Windows API. I fixed QEMU problem
 telling it to use directx instead of windib. I could not found any
 way to fix this on Xfree, and I don't even know if Xfree uses windib.
 Numeric keys shows:

 1 = h
 2 = ,
 3 = 0~  (yes, 2 caracters)
 4 = ,

 5 to 0 nothing appears.

 any ideas ?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#numlock-modifier?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: running CygwinX with a limited user account

2006-08-22 Thread Igor Peshansky
Hi,

Please make sure your mailer respects the Reply-To: header -- I set it for
a reason.

On Tue, 22 Aug 2006, J Jude wrote:

 [snip]
 Setting up Cygwin so that each user had their own /tmp dir sounds like
 a better workaround for both problems, but I have not yet figured out
 how to do that.

For each user, execute mount -u SOMEUSERSPECIFICDIR /tmp (as man mount
would have told you).

 In the long run, the Cygwin/X11 distribution should work for limited
 users out-of-the-box.

I don't think Cygwin/X was ever designed to run by multiple users
simultaneously.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: running CygwinX with a limited user account

2006-08-22 Thread Igor Peshansky
On Tue, 22 Aug 2006, J Jude wrote:

 JJ  In the long run, the Cygwin/X11 distribution should work for limited
 JJ  users out-of-the-box.

 IP I don't think Cygwin/X was ever designed to run by multiple users
 IP simultaneously.

 We're not talking about simultaneously.  In the simple case, we're
 talking about a user logging in as administrator to do some system
 task, then logging out and logging in to a limited user account for
 other tasks.

I understood that.  I was debating with myself whether to expand on what I
said or not -- guess I should have.  By simultaneously I meant from the
same installation (yes, I know, poor choice of words).

Actually, I believe the only thing that's messing it up is /tmp/XWin.log
(which is a Cygwin/X invention -- Linux creates a display-specific file in
/var/log instead).  The socket is actually already display-specific, and
the only thing wrong with it is that Cygwin/X chooses display :0 by
default, and that clashes with the socket (it's debatable whether it
should try to find the next available display number or not).
Theoretically, Cygwin/X should also clean up the socket after itself.
Neither a display-specific log file nor socket cleanup happen in Cygwin/X.

I suppose someone has to do it, and patches would be welcome upstream, but
we are currently missing a Cygwin/X maintainer, so it's unlikely that
anything will be done about this until we get one.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: running CygwinX with a limited user account

2006-08-22 Thread Igor Peshansky
On Wed, 23 Aug 2006, Igor Peshansky wrote:

 On Tue, 22 Aug 2006, J Jude wrote:

  JJ  In the long run, the Cygwin/X11 distribution should work for
  JJ  limited users out-of-the-box.
 
  IP I don't think Cygwin/X was ever designed to run by multiple users
  IP simultaneously.
 
  We're not talking about simultaneously.  In the simple case, we're
  talking about a user logging in as administrator to do some system
  task, then logging out and logging in to a limited user account for
  other tasks.

 I understood that.  I was debating with myself whether to expand on what I
 said or not -- guess I should have.  By simultaneously I meant from the
 same installation (yes, I know, poor choice of words).

 Actually, I believe the only thing that's messing it up is /tmp/XWin.log
 (which is a Cygwin/X invention -- Linux creates a display-specific file in
 /var/log instead).  The socket is actually already display-specific, and
 the only thing wrong with it is that Cygwin/X chooses display :0 by
 default, and that clashes with the socket (it's debatable whether it
   ^
  causes name

 should try to find the next available display number or not).
 Theoretically, Cygwin/X should also clean up the socket after itself.
 Neither a display-specific log file nor socket cleanup happen in Cygwin/X.

 I suppose someone has to do it, and patches would be welcome upstream, but
 we are currently missing a Cygwin/X maintainer, so it's unlikely that
 anything will be done about this until we get one.
   Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: XWindows version of Java?

2006-07-27 Thread Igor Peshansky
On Wed, 26 Jul 2006, siegfried wrote:

 I notice the cygwin version of emacs runs in XWindows and is one of the
 few XWindows programs I run frequently on windows.

 I assume (I have not tried it yet) I can run the cygwin version of emacs
 on my home windows machine from a remote machine with the xhost and ssh
 -X commands. Is this correct?

If it's X-capable, which I believe the Cygwin emacs executable isn't.
And the Cygwin xemacs package uses Win32 instead of X.

 Sun's javaw runs native windows, not xwindows. Is there a way I can run
 GUI java programs on windows using xwindows so they are compatible with
 xhost and ssh -X?

Only via remote desktop (Google for rdesktop).

 I've been reading about gcj and that might work but it looks like I'd
 have to recompile everything myself. I want to run eclipse on windows
 from a remote machine and I see in fedora core 4 they have recompiled
 eclipse with gcj. But I was hoping I would not have to recompile eclipse
 from the source.

You may have to (or use rdesktop).

 Does cygwin have a javax program that runs GUI java programs under
 xwindows?

Unfortunately, no.  When and if Sun open-sources its Java VM, it may or
may not be buildable on Cygwin.  But until then, you won't have Java over
X from Windows.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: XWindows version of Java?

2006-07-27 Thread Igor Peshansky
On Thu, 27 Jul 2006, René Berber wrote:

 Igor Peshansky wrote:
  On Wed, 26 Jul 2006, siegfried wrote:
 
  I notice the cygwin version of emacs runs in XWindows and is one of
  the few XWindows programs I run frequently on windows.
 
  I assume (I have not tried it yet) I can run the cygwin version of
  emacs on my home windows machine from a remote machine with the xhost
  and ssh -X commands. Is this correct?
 
  If it's X-capable, which I believe the Cygwin emacs executable isn't.
  And the Cygwin xemacs package uses Win32 instead of X.

 Wrong, the xemacs shipped as Cygwin package can use both.

 And the answer to the OP is yes.

Fair enough.  I'm not an emacs user, no wonder I missed that.

  Sun's javaw runs native windows, not xwindows. Is there a way I can run
  GUI java programs on windows using xwindows so they are compatible with
  xhost and ssh -X?
 
  Only via remote desktop (Google for rdesktop).

 Uh?  Of course any Xwindows application can display on Cygwin's X
 server, java applications are just that, except many have an ugly
 default setting on window size and position (they use size 0x0 for
 instance) but that seems to be corrected in newer applications.

I believe you've misread the OP's question.  He's asking whether he can
run Java on *Windows* and display the resulting GUI on a remote machine
via ssh -X.

  I've been reading about gcj and that might work but it looks like I'd
  have to recompile everything myself. I want to run eclipse on windows
  from a remote machine and I see in fedora core 4 they have recompiled
  eclipse with gcj. But I was hoping I would not have to recompile
  eclipse from the source.
 
  You may have to (or use rdesktop).

 Eclipse running in a remote Linux machine can be shown fine on a local X
 server. Yes, Eclipse is being compiled with gcj (version 4.1.x not
 available currently under Cygwin) but that has nothing to do with
 showing Eclipse running on Linux.

If the OP wants to run Eclipse on Windows and display it on Linux via X,
he'll have to rebuild using gcj.  However, it would most likely not
perform as well as the native Windows version does (which isn't much to
begin with).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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: modification of startx.bat not work

2006-07-26 Thread Igor Peshansky
I know this is a fixed issue, but some comments below nonetheless, to tie
up loose ends.

On Wed, 26 Jul 2006, Dirk Schleicher wrote:

 Am Tue, 25 Jul 2006 20:04:53 -0500
 schrieb René Berber [EMAIL PROTECTED]:

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

  René Berber wrote:
  [snip]
   You probably can just run a Windows shortcut to XWin with all the
   parameters, and use .xinitrc or .xsession to start up SC.
  [snip]
 
  I made a little experiment and the above sentence is not true: if I
  start XWindows from an icon/shortcut (using C:\cygwin\bin\run.exe
  -p /usr/X11R6/bin XWin -multiwindow -clipboard -silent-dup-error -dpi
  100) XWin starts fine but my .xinitrc (and .xsession) is not used...
  XWin does not know what user started it.

Naturally -- .xinitrc and .xsession are artifacts of xinit (and startx),
not XWin.

  So to run the application I would also need an icon/shortcut for the
  application.

 I found out that the .xinitrc parameters are used with startx. I start
 the normal bash and type in startx. This start Xserver and SC. And SC
 works fine.
 C:\cygwin\bin\run.exe -p /usr/X11R6/bin/ startx -display 127.0.0.1:0.0
 do not work because startx is a script not an .exe

Right, but

C:\cygwin\bin\run.exe -p /usr/X11R6/bin/ bash --login -c startx -display 
127.0.0.1:0.0

will, because bash will know how to interpret the shebang (#!) in startx
and invoke the script appropriately.  People often overlook this solution
and declare that it's impossible to start a script from a shortcut.

Or you could've used xinit, which *is* a .exe.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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 with starting X server

2006-07-18 Thread Igor Peshansky
On Mon, 17 Jul 2006, Andy Rushton wrote:

 Stephen A.Goulet wrote:
  This is what finally worked for me.  Start cygwin and do a df, if
  this show the mount points, /usr, /usr/bin/, and /usr/lib.  Then
  umount /usr and close the cygwin window.  Now do the reinstall of the
  fonts as documented in the FAQ.

 I agree, but wanted to add to this feedback.

 I have found that you need to mount the fonts in binary mode. You see, I
 go against the recommended practice and install Cygwin in Text mode -
 i.e. text files have DOS line-endings. I find that this allows better
 inter-operation between Cygwin apps and Windows apps. However, this
 seems to break X11's fonts (I *suspect* that somewhere in X the fonts
 are being opened in text mode when they are binary files but I haven't
 been able to confirm this). If this is your problem, the solution is to
 separately mount the font directory in binary mode - for example, my
 mount table contains the following:

 e:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system 
 (binmode)
 E:\cygwin\bin on /usr/bin type system (textmode)
 E:\cygwin\lib on /usr/lib type system (textmode)
 E:\cygwin on / type system (textmode)
 c: on /cygdrive/c type system (textmode,noumount)
 d: on /cygdrive/d type system (textmode,noumount)
 e: on /cygdrive/e type system (textmode,noumount)

This mount used to be routinely added by the X postinstall script.  IIRC,
this has been fixed in X so that such a mount is no longer required.
Searching the list archives may unearth the relevant thread.  However, the
bug may have crept back, or may not have been propagated to the latest
Cygwin/X release.

 Note the first entry. Once I have this extra mount point for the X11
 fonts, I reinstalled all the fonts using the Cygwin installer - which
 has a 'reinstall' option for each package. The reinstall means that the
 font indexes get regenerated.

The regeneration of indexes is done by the postinstall script, which you
could have re-run without reinstalling the font packages.  Simply run
each of /etc/postinstall/xorg-x11-f*.sh.done.

 FYI the command for generating extra mount points is called 'mount'.

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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 with starting X server

2006-07-18 Thread Igor Peshansky
On Wed, 19 Jul 2006, Andy Rushton wrote:

 Alexander Gottwald wrote:
  I suspect that some bugfixes which were present in the CYGWIN branch on
  freedesktop are missing in the branch which was the source for the latest
  release.

 Just to confirm that the bug indeed *seems* to have crept back. I
 updated to the latest release and then the server would not start due to
 the cannot find font 'fixed' problem. Re-mounted the fonts directory
 in binmode, reinstalled just the fonts and it all works. Fortunately I
 remembered this work-around from some time back when I last had this
 problem. Sorry, I have no recollection when or what version.

 I guess most people won't have any problems because they install Cygwin
 with Unix newlines, thus making textmode and binmode identical. Thus no
 cacophony of complaints.

As a short-term solution, perhaps we could reinstate the mounting of the
fonts directory in binmode in the postinstall script (using something like
http://www.cygwin.com/ml/cygwin-xfree/2003-07/msg00018.html) until the
fixes from the CYGWIN branch can be released.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: cygwin windows are white in 2nd monitor

2006-07-13 Thread Igor Peshansky
On Thu, 13 Jul 2006, Jeff.Blosser wrote:

  From: Igor Peshansky pechtcha at cs dot nyu dot edu
  To: cygwin-xfree at cygwin dot com
  Date: Wed, 12 Jul 2006 19:52:19 -0400 (EDT)
  Subject: Re: cygwin windows are white in 2nd monitor
  References:
  [EMAIL PROTECTED]
  Reply-to: cygwin-xfree at cygwin dot com
  Reply-to: cygwin-xfree at cygwin dot com
 
  
 
  On Wed, 12 Jul 2006, Jeff.Blosser wrote:
 
   I upgraded to XP SP2, yes I was behind. After patching, all windows
   that are controlled by cygwin, local xterm, remote display's sent to
   this computer, are all white. The windows work fine in the primary
   screen (screen 1). I start cygwin with
   c:\cygwin\usr\X11R6\bin\startxwin.bat.  I have not modified this
   script from the default install so XWin starts with XWin
   -multiwindow -clipboard -silent-dup-error.
  
   After patching XP, I thought that I might need to reinstall cygwin,
   so I reinstalled all components of cygwin I was using with
   setup.exe. I am not sure what version of Cygwin, but hopefully it is
   up to date since I used setup.exe to install. When I run uname -a I
   get CYGWIN_NT-5.1 1.5.20_0.156/4/2. Thanks.
 
  Try giving the -multiplemonitors option to XWin.
  Igor
  P.S. You shouldn't need to reinstall Cygwin after patching XP.

 I tried with -multiplemonitors and still have the same results. Here
 is the Xwin start command:
 %RUN% XWin -multiplemonitors -multiwindow -clipboard -silent-dup-error
 I have also attached Xwin.log.

And it clearly shows your problem:

 winScreenInit - Monitors do not all have same pixel format / display depth.
 Using primary display only.

Fix the above, and it should work.

 The other thing I have noticed is that /tmp is mounted from A diferent
 place. Before upgrading XP /tmp was just a directory under c:\cygwin now
 it mounts the dirctory below. I have no idea if this is related. Thanks.

 Filesystem  1K-blocks  Used Available Use% Mounted on
 C:\DOCUME~1\Jeff\LOCALS~1\Temp
  35509288  29961668   5547620  85% /tmp

That's normal.  Most Cygwin directories can be mounted from anywhere
without much problem (the exceptions are system directories like /usr/bin,
/usr/lib, /etc, and so on).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: cygwin windows are white in 2nd monitor

2006-07-12 Thread Igor Peshansky
On Wed, 12 Jul 2006, Jeff.Blosser wrote:

 I upgraded to XP SP2, yes I was behind. After patching, all windows that
 are controlled by cygwin, local xterm, remote display's sent to this
 computer, are all white. The windows work  fine in the primary screen
 (screen 1). I start cygwin with c:\cygwin\usr\X11R6\bin\startxwin.bat. I
 have not modified this script from the default install so XWin starts
 with XWin -multiwindow -clipboard -silent-dup-error.

 After patching XP, I thought that I might need to reinstall cygwin, so I
 reinstalled all components of cygwin I was using with setup.exe. I am
 not sure what version of Cygwin, but hopefully it is up to date since I
 used setup.exe to install. When I run uname -a I get CYGWIN_NT-5.1
 1.5.20_0.156/4/2. Thanks.

Try giving the -multiplemonitors option to XWin.
Igor
P.S. You shouldn't need to reinstall Cygwin after patching XP.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: broken link

2006-06-18 Thread Igor Peshansky
On Sat, 17 Jun 2006, Christopher Faylor wrote:

 On Sat, Jun 17, 2006 at 03:13:45PM -0400, Igor Peshansky wrote:
 On Fri, 16 Jun 2006, Christopher Faylor wrote:
 X maintainer?
 
 Oh, a thinly veiled hint...  :-)

 It's not a hint.  We don't have an X maintainer.

I thought Yaakov was working on becoming one eventually...  This was
mostly a hint to him that he may want to take over the other duties of the
X maintainer...  But then, I'm not even sure he's subscribed to this list
yet, so the hint may have been premature.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: broken link

2006-06-17 Thread Igor Peshansky
On Fri, 16 Jun 2006, Christopher Faylor wrote:

 On Fri, Jun 16, 2006 at 08:18:33PM -0400, Igor Peshansky wrote:
 On Fri, 16 Jun 2006, Dariouch Baba? wrote:
 
  the following link seems broken, found on http://x.cygwin.com/
 
  a
  href=http://freedesktop.org/~xorg/X11R6.7.0/doc/setxkbmap.1.html;SETXKBMAP(1)
  manual page/a
 
 Indeed.  The new URL is
 http://xorg.freedesktop.org/X11R6.7.0/doc/setxkbmap.1.html.
 Should I update it, or does the X maintainer prefer to do it himself?

 X maintainer?

Oh, a thinly veiled hint... :-)

 I would appreciate if you could update this.

Updated.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Swedish keyboard mapping?

2006-06-16 Thread Igor Peshansky
On Fri, 16 Jun 2006, Anders Norrbring wrote:

 Anders Norrbring skrev:
  Hello!
  I just made what I thought was a good Cygwin/X installation, but
  apparently not... I can't get the Swedish keyboard mapping to work.
 
  So, what I'm asking for here is a quick guide/explanation to
   1. What do I have to install to get a *minimal* X server installation?
   2. How do I configure it to use a 105 key Swedish keyboard?
 
  Thank you!
  Anders.

 Nobody that knows?

Hmm, being a bit impatient, aren't we?  It's only been two days...

To answer your questions:

1) the minimal complete installation of an X server would require you to
select xorg-x11-xwin in Cygwin setup and let setup select all of the
dependences.  Anything smaller will probably break in unexpected and
unpleasant ways.
2) Ideally you send the information to the list and the X maintainer will
integrate your keyboard into the list so it's detected automatically.
However, I don't recall the exact procedure, so you might want to search
the list (using keyboard layout as the key phrase might do it).  Until
that happens, however, see if setxkbmap works for you...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: broken link

2006-06-16 Thread Igor Peshansky
On Fri, 16 Jun 2006, Dariouch Babaï wrote:

 the following link seems broken, found on http://x.cygwin.com/

 a
 href=http://freedesktop.org/~xorg/X11R6.7.0/doc/setxkbmap.1.html;SETXKBMAP(1)
 manual page/a

Indeed.  The new URL is
http://xorg.freedesktop.org/X11R6.7.0/doc/setxkbmap.1.html.
Should I update it, or does the X maintainer prefer to do it himself?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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: xWin/Startx Messages re-direction

2006-05-24 Thread Igor Peshansky
On Wed, 24 May 2006, Balaji V. Iyer wrote:

 Hi Everyone,
   I use xwin with Cygwin and everytime I run the messages are printed
 on the cygwin screen. Is there a way I can stop it or (redirect it to
 /dev/null). The real problem happens when I am working on the cygwin window
 and I get interrupted with these messages.

 I run xwin with this line:
 XWin -multiwindow -silent-dup-error -nowinkill -unixkill
  ^
Use run XWin 

 Here is a small example of a message:

 $ Welcome to the XWin X Server
 Vendor: The Cygwin/X Project
 Release: 6.8.2.0-4

 Contact: [EMAIL PROTECTED]

It's usually not a good idea to post raw email addresses on public mailing
lists if you can avoid it...
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

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



i can't start {twm,wmaker} on cygwin

2006-05-09 Thread Igor Peshansky
On Tue, 9 May 2006, Cédric Bouttes wrote:

 Hello,

 I use startx to have an X session.
 Then when i try to start twm instead of xterm  i have
 the following errors :
 $ twm:  another window manager is already running on screen 0?
 twm:  unable to find any unmanaged screens

 What can i do ?

On Tue, 9 May 2006, Cédric Bouttes wrote:

 Hello,

 I use startx to have an X session.
 Then when i try to start wmaker  i have
 the following errors :
 wmaker fatal error: it seems that there is already a window manager running

 waiting for X server to shut down winClipboardProc -
 Call to select () failed: -1.  Bailing.
 winClipboardProc - XDestroyWindow succeeded

In both cases, by default XWin starts in multiwindow mode, which basically
means that XWin has a built-in window manager that wraps the Windows
default window manager.

If you are content with the multiwindow mode, just don't start any window
manager.  If you would rather use twm or windowmaker, remove the
-multiwindow parameter from the XWin invocation (and you might wish to add
-rootless if you want the windows to be listed among the regular Windows
ones).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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: Repaint/redraw problems

2006-04-21 Thread Igor Peshansky
On Thu, 20 Apr 2006, Cary Jamison wrote:

 Mehdi Alimadadi wrote:
  Is there a way to tell the software not to update the window until the
  mouse button had been released i.e. the window resizing has finished?
  Any hint is appreciated.

 Change your window manager to just show a wire-frame outline of the
 window while you are resizing, instead of trying to continuously update
 the contents.

 How to do this will depend on your window manager.  I believe it's
 possible even if you are using Windows as your window manager, but I
 can't find the setting right now - maybe someone else knows it?

Display Properties - Appearance - Effects - Show window contents while
dragging.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Removing cygwin

2006-04-15 Thread Igor Peshansky
This has nothing specific to Cygwin/X.  Redirecting to the main list.
Please remove cygwin-xfree from replies.

On Sat, 15 Apr 2006, Herbert Eppel wrote:

 Some time ago I successfully installed cygwin on both my Windows 2000 PC
 and my windows XP laptop.
 However, space is getting a little tight now on my laptop, and I would
 like to remove cygwin for the time being.

 Is there a special procedure I should follow, or can I simply delete the
 cygwin directory?

If you plan to simply back up Cygwin and restore it at some later point,
then the mount information won't harm you, and you might as well just
delete the directory.  Same applies if you plan to reinstall later but
keep the directory structure the same.

Keep in mind that if plan to reinstall and have set up certain things
(like ssh user identity files, etc) that are referenced by some external
entities (for example, the ssh authorized_keys file on a remote machine),
you should either keep those around, or expect to transfer them again when
you reinstall (since the identity files will be regenerated by a new
installation).

If you really do want to delete all of Cygwin, see the FAQ:
http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all.

FWIW, if all you want is to get some disk space, the following FAQ entry
might help: http://cygwin.com/faq/faq.setup.html#faq.setup.disk-space.

HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: XWin X server + AIX 5.3 client: keyboard input garbled: permanent Alt-Gr mode

2006-04-13 Thread Igor Peshansky
On Thu, 13 Apr 2006, Halpaap, Mark wrote:

 Hello,

 I'm running into problems using XWin X Server (tried current stable and
 latest 6.8.99.901-4) with AIX 5.3 clients.

 The clients start alright (having ssh'd or telnet'd the AIX machine, set
 the DISPLAY, starting xterm or other client), but then the keyboard
 input for that client will be garbled: it seems to be a permanent
 Alt-Gr mode, i.e. I am getting @, | and ³ characters just fine
 (without pressing Alt-Gr, german keyboard), but that's all I get.
 [snip]
 At the same time an Exceed(8.0) server (on :1.0) does have no problems
 with the AIX 5.3 clients.
 [snip]
 Any ideas anyone? Could it be that the more complete 64-Bit-ness of AIX
 5.3 is posing a problem here?

Does http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-aix-xkb help?
Also, is your Num Lock on?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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: XV Installation Problem

2006-04-12 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Wed, 12 Apr 2006, steven woody wrote:

 On 4/11/06, Igor Peshansky [EMAIL PROTECTED] wrote:

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

  On Tue, 11 Apr 2006, steven woody wrote:
 
   my installation of cygwin has already included xorg-xfree-devel
   package, but the i still get error when compile XV 3.10a. below is
   information:
  
   ...
   ./RANLIB.csh libtiff.a
   make[1]: ./RANLIB.csh: Command not found
   make[1]: *** [libtiff.a] Error 127
   make[1]: Leaving directory /usr/src/xv-3.10a/tiff
   make: *** [tiff/libtiff.a] Error 2
 
  Looks like you either used a non-Cygwin version of tar to unpack the
  source, or you're using an OS/filesystem/setting combo that doesn't
  support executable bits on files.  Please follow the Cygwin problem
  reporting guidelines at http://cygwin.com/problems.html.
 
  If it's the former, unpack the source tarball again using the Cygwin
  version of tar, which should set executable permissions properly.  It
  could also be that the tarball itself is broken (i.e., RANLIB.csh isn't
  executable), in which case a chmod a+x RANLIB.csh should do the trick.

 Thank you Igor.

 i am using Cygwin version of tar.

 i found there is only one RANLIB.csh which is in tiff/ directory, and
 the .csh file has executable bit set ok.

As Matthias mentioned, you are likely either missing /usr/bin/csh or the
tcsh package.  The latter guess would have been confirmed had you followed
the problem reporting guidelines at http://cygwin.com/problems.html.  In
either case, (re)installing the tcsh package should fix your problem.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: XV Installation Problem

2006-04-11 Thread Igor Peshansky
On Tue, 11 Apr 2006, steven woody wrote:

 my installation of cygwin has already included xorg-xfree-devel
 package, but the i still get error when compile XV 3.10a. below is
 information:

 ...
 ./RANLIB.csh libtiff.a
 make[1]: ./RANLIB.csh: Command not found
 make[1]: *** [libtiff.a] Error 127
 make[1]: Leaving directory /usr/src/xv-3.10a/tiff
 make: *** [tiff/libtiff.a] Error 2

Looks like you either used a non-Cygwin version of tar to unpack the
source, or you're using an OS/filesystem/setting combo that doesn't
support executable bits on files.  Please follow the Cygwin problem
reporting guidelines at http://cygwin.com/problems.html.

If it's the former, unpack the source tarball again using the Cygwin
version of tar, which should set executable permissions properly.  It
could also be that the tarball itself is broken (i.e., RANLIB.csh isn't
executable), in which case a chmod a+x RANLIB.csh should do the trick.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: (n00b question) How does one activate the scrollbar in an xterm?

2006-04-06 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Thu, 6 Apr 2006, Soong, SylokeJ wrote:

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Thomas Dickey
 Sent: Thu, April 06, 2006 3:20 PM
 To: [EMAIL PROTECTED]

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

 Subject: RE: (n00b question) How does one activate the scrollbar in an xterm?

Paraphrasing the extra-long lead-in: Thomas Dickey wrote:.

  On Thu, 6 Apr 2006, Soong, SylokeJ wrote:
 
   However, the shell we use... [snip]
 
  xterm's not a shell; [snip]

 [an amusing parable about a little girl and an xterm snipped]

Funny, but wa-ay off-topic for this list.  You might be better off
http://cygwin.com/acronyms/#TITTTLing this thread.  Beware the hippos.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Newbie help

2006-04-04 Thread Igor Peshansky
Indenting slightly reformatted below.  Now, doesn't that look better?

On Tue, 4 Apr 2006, John Rehill wrote:

 John Rehill wrote:

   Total newbie here in relation to not only cygwin  cygwin/X but also
   to UNIX... I'm a total windows slave.
  
   Anyway I've been given the delightful task of trying to configure
   cygwin and cygwin/X server for use on our systems.  But I've run
   into a wall.  Well actually quite a few really but I'll get to the
   point of the first one...
  
   How do I enable cygwin/X server as a service on Windows 2k  XP?
   I've read the help files and FAQ but although it said to use the
   cygserver-config script I'm at a lost as to how to do that.

 René Berber replied

  Uh? where exactly did you read that?

   All I need for the moment is the ability to start the server first.
   The rest I'll ask about later (if people are kind)

 René Berber replied

  Type startx in a Cygwin window.

 Oops sorry my mistake I was reading that in the cgywin user guide, about
 cgyserver and not in the cgywin/x server user guide.

FYI, the Cygwin/X guide may also mention cygserver, as XWin is compiled
with the SHM extension which won't work without it, but that is purely
optional.  Just so you don't get confused reading about cygserver there.
You do not *need* cygserver to run Cygwin/X.

 Since realising my mistake I've tried adding xwin.exe as a service,
 which worked but when I try to run a terminal window nothing happens.

 What am I doing wrong?

While it is possible to run XWin as a service (using a service wrapper
like cygrunsrv or srvany), it is not recommended, and will not do what you
want anyway.  XWin needs to run separately for each user, while the
service will be global to the machine.  You'll also have to allow
interaction with the desktop, and make sure the X server is started with
the right parameters.

If you simply want to start the X server before other programs, put a
shortcut to startxwin.bat (or bash startxwin.sh) into the user's Startup
folder.

 Thanks for the help btw...

You're welcome,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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: starting problems XWin X Server

2006-03-28 Thread Igor Peshansky
On Tue, 28 Mar 2006, kautz, michael wrote:

 Hello,
 [snip contents of startxwin.bat]
 and got the following result:

 Xwinlog.txt:
 Welcome to the XWin X Server
 Vendor: The Cygwin/X Project
 Release: 6.8.2.0-4
 [snip]
 Fatal server error:
 InitOutput - Duplicate invocation on display number: 0.  Exiting.

 winDeinitMultiWindowWM - Noting shutdown in progress

 Could you give me some helpful advice ?

Yep.
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: ssh -Y not working / possible xauth bug?

2006-03-12 Thread Igor Peshansky
On Sun, 12 Mar 2006, Eddy Ilg wrote:

 Hi,

 I have a working cygwin xserver installed. When trying to connect to a
 remote machine I always get the following:

 [EMAIL PROTECTED]:~  xterm 
 [1] 2184   # works fine
 [EMAIL PROTECTED]:~  ssh -Y -l eddy 10.189.87.1
 Password:
 Warning: No xauth data; using fake authentication data for X11 forwarding. # 
  -Whats this?
 Linux amadillo 2.4.27-2-686 #1 Wed Nov 30 21:55:37 JST 2005 i686 GNU/Linux
 
 Last login: Sun Mar 12 14:58:40 2006 from 10.189.87.2
 [EMAIL PROTECTED]:~  xterm
 Xt error: Can't open display:
 DISPLAY is not set
 [EMAIL PROTECTED]:~ 

 xauth list does the following:
 [EMAIL PROTECTED]:~  xauth list
 xauth:  creating new authority file /h/.Xauthority

 But the file /h/.Xauthority is not created!

 Any ideas what I am doing wrong? What could cause the message Warning:
 No xauth data; using fake authentication data for X11 forwarding.?

You're seeing two unrelated symptoms: the No xauth data message, and the
DISPLAY is not set problem.  The former is just a warning you get from
ssh -- Googling for it produces a bunch of descriptions and fix recipes
(in fact, someone posted one to this list earlier this year).

The latter is actually your problem.  It could be that the X forwarding is
disabled on the server.  Try ssh -Y -vvv, and see what it gives you...
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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 opening another window.

2006-03-09 Thread Igor Peshansky
On Thu, 9 Mar 2006, Ming Hai Lim wrote:

 Hi all,

I'm running into some problems opening a window.  I
 startx and telnet into a Unix machine, then I issue a
 command which would generate another window.  But this
 fails.  Can someone please advise?  Below are the
 steps I take.

 1) /usr/X11R6/bin/startxwin.bat - Starting on Windows
 NT/2000/XP/2003
 2) telnet 140.87.21.10

Consider using ssh with X forwarding instead.

 3) setenv DISPLAY 192.168.1.100:0.0 (its a csh)

Assuming for the moment that 192.168.1.100 (which is a private IP) is
reachable from 140.87.21.10 (unlikely, as you're probably doing some sort
of NAT in between), you'll need to run xhost + 140.87.21.10 before
telnetting to allow connections from your target machine to your local X
server.  However, you're much better off with ssh -Y, which doesn't need
any extra authorization procedures beyond ssh itself (and will even set
DISPLAY appropriately on the remote machine).

 4) run command ade tkvtree . which if I'm sitting at
 the actual Unix box will pop open another window.
 5) Get error message: couldn't connect to display
 192.168.1.100:0.0 at
 /usr/local/nde/ade/bin/perl/cpan_modules/solaris/Tk/MainWindow.pm
 line 55.
 MainWindow-new() at
 /usr/local/nde/ade/bin/perl/TkvtreeMain.pm line 72

I've also tried setting DISPLAY to
 127.0.0.1:0.0 but got the same error message.

Heh, here you tried to connect to the local X server on the machine you're
telnetting to.

Do try ssh.  You don't have to set the DISPLAY on the remote machine, or
run xhost locally -- just ssh -Y 140.87.21.10 and then ade tkvtree .
(which you can also combine into one command [!]).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: I have a problem starting Xwin under cygwin on XP

2006-03-08 Thread Igor Peshansky
On Wed, 8 Mar 2006, PLinehan wrote:

 Hi,
 each time I try to start Xwin this pops up:

 (Embedded image moved to file: pic09930.jpg)

 The logs is :-
 (See attached file: XWin.log)

 have I set this up incorrectly ?

 I have installed everything under c:\cygwin

An excerpt from your XWin.log:

Fatal server error:
could not open default font 'fixed'

You might find the FAQ helpful:
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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 with running application over SSH tunnel?

2006-03-02 Thread Igor Peshansky
On Thu, 2 Mar 2006, Michael J. Wheeler wrote:

 Hello all,

 I'm having a bit of a strange problem, maybe somebody can help me out...

 I am running the latest updated cygwin on my windows XP SP2 desktop
 machine. I'm ssh'ing (ssh -X or ssh -Y) into our AIX 5.1 box. I'm trying
 to run the eclipse IDE. The application launches fine, but it does not
 seem to accept any input from me (mouse clicks and key presses seem to
 do nothing). The strange thing is that I'm able to run other
 applications over the tunnel just fine.

 I am pretty sure it's a cygwin X server problem because I had another
 guy in the office with a linux box do the exact same thing as me, and he
 is able to launch the application just fine.

 Any ideas?

Does http://x.cygwin.com/docs/faq/cygwin-x-faq.html#numlock-modifier
help?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Starting applications from Start | ... | Cygwin-X menu

2006-02-20 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Mon, 20 Feb 2006, Angelo Graziosi wrote:

  According to Angelo Graziosi on 2/20/2006 6:00 AM:
  
   I have noted that many applications do not start when one clicks on
   the links in
  
  Start | Programs | Cygwin-X (on W2K SP4)
  
   This happens even if one has started XWin (startxwin.bat).
  
   For example, 'xeyes' starts (after startxwin.bat), but emacs does not!
  
   Then, why should one install those links in the Start | Programs
   menu (by setup.exe), if they (many of them) seem do not work ?

 Too late for my replay to Brett Serkez techie at serkez dot net!

 In any case I think that this is not a stricly problem regarding
 'cygwin-xfree at cygwin dot com'.

 It should regard the installation process by setup.exe.

 At the end of the installation, when one chooses to add links in Start
 menu, many of those links do not seem to work.

FYI, the only link setup adds to the Start Menu is Cygwin/Cygwin Bash
Shell.  All others are added explicitly by the package postinstall
scripts, and have nothing to do with the installer.

The script that adds the links you're complaining about (Cygwin-X) belongs
to the X-start-menu-icons package, which is associated with Cygwin/X --
thus the redirection to this list.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Disable Bold Fonts in xterm

2006-02-07 Thread Igor Peshansky
On Tue, 7 Feb 2006, Valerio wrote:

 I can't find a way to disable the use of bold fonts in xterm. The
 rendering is not good, so I'd like to turn it off. There is a way to do
 this?
 PS: I start xterm this way xterm -e bash --login -i so that i shows
 some infos on the first line. in that line bold font are not used!

Searching for bold on the xterm man page gives a number of alternatives,
e.g., the +bdc option, the -fb option, and the boldMode resource.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: fatal error -- Cygwin/X Project 6.8.2.0-4

2006-02-07 Thread Igor Peshansky

On Tue, 7 Feb 2006, Yitwah Cheung wrote:


This is a bug-report.
[snip]
Fatal server error - Duplicate invocation on display number: 0.  Exiting.


Not a bug:
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation.
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
 |\  _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
|,4-  ) )-,_. ,\ (  `'-'old name: Igor Pechtchanski
   '---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: No Terminal Windows appear

2006-01-30 Thread Igor Peshansky
On Mon, 30 Jan 2006, Juanjo Carmona-Serradilla wrote:

 After I install cygwin and type starx in bash, I do not get the terminal
 windows. See log below. Thanks in advance. I am running Windows XP
 professional.

 Juanjo

 Juanjo [EMAIL PROTECTED] ~
 $ startx
 [snip]

startx will only open a terminal if one is present in ~/.Xsession.
Why not use startxwin.sh?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: multimonitor on laptops if monitor added after X starts (canresize down, but not up)

2006-01-27 Thread Igor Peshansky
Hey, Eric, great to hear you're using Cygwin... :-)

On Fri, 27 Jan 2006, Freudenthal, Eric wrote:

 I am so impressed with your fullscreen, multiplemonitors, and clipboard
 support.  Bravo!  Just one nagging nit:

 -multiplemonitors works great on my xp laptop (dell/intel chipset) if
 the additional display is added prior to Xwin starting.  I can even
 switch to single monitor and go back, with everything working.

Looks like the multiplemonitors code relies on GetSystemMetrics(), which
will only return information about the attached displays.  Attaching the
extra display afterwards probably generates a Windows message that the
code doesn't handle (it should probably redo the check when handling
display resolution changes, etc).  IOW, it's a design bug...

 However, if I start Xwin prior to adding an additional monitor, Xwin
 won't handle the increased number of rows/cols properly.

 Perhaps a fix would just require that I specify my max rows/cols at
 Xwin's startup (but how?).

For example,

XWin :0 -screen 0 2048 768

But this will likely screw up window positioning and offset computation if
you decide not to attach the other monitor.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: x-term font

2006-01-23 Thread Igor Peshansky
On Mon, 23 Jan 2006, thad wrote:

 how can i change the font size of xterm?

If you really mean xterm, then this question is off-topic for this list,
and belongs on the cygwin-xfree list.  I'm redirecting my reply there and
setting the Reply-To: accordingly.

You need to use the -fn option to pass the name/size combination for the
font you want.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Error starting DDD 3.3.11

2006-01-20 Thread Igor Peshansky
On Fri, 20 Jan 2006, Kirk Hagberg wrote:

 Greetings,

 I compiled the source code for DDD 3.3.11.  The configure runs fine,
 and the make and make install run fine.  When I execute
 /usr/local/bin/ddd I get a Windows pop-up error message that says:

 The application failed to initialize properly (0xc005). Click on OK
 to terminate the application

In Windows, DLLs have to be executable.  The usual cause of the above
message is a non-executable DLL.

 The version of DDD (3.3.9) that comes with Cygwin runs fine.

 I've done a ton of searches: the I'net, Cygwin mailing lists, etc.  Any
 help would be appreciated.

Perhaps the DDD build is doing something Windows-unfriendly (like
/usr/bin/install -m=0644).  You might find it helpful to examine the
Cygwin-specific patch in the Cygwin DDD package.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Mozilla, etc. via Cygwin/X

2006-01-18 Thread Igor Peshansky
On Wed, 18 Jan 2006, * * wrote:

 On 1/17/06, Igor Peshansky [EMAIL PROTECTED] wrote:

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

  On Tue, 17 Jan 2006, Chris Green wrote:
 
   Maarika,
  
   Please reply to the list, then everyone can help and learn.
  
   On Tue, Jan 17, 2006 at 02:11:10PM +0200, Maarika Traat wrote:
You shouldn't need any more packages assuming you have downloaded
the default set.
   

Yes, but in that case do you know what might be the problem, why
the window of Mozilla fails to come up?
-
 
  I wonder if this is the issue with untrusted X forwarding (i.e.,
  http://xfree86.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding)?
 
   We need more information:-
   What system you are running Cygwin/X on
   What system you are running mozilla on
   What commands you are running
   What error messages you are seeing (if any)
   What's in the Cygwin/X error log
  
I run my whole Linux desktop on my Windows PC without problems using
Cygwin/X (and xdm on the remote Linux system).
---
You mean, you use the XDMCP option of connecting to the remote system.
  
   Yes.
  
I did not get very far when reading about this option. I just
learned that it was considered very unsecure and to be something
to be used only in the bounds of a local network. I may be
completely mistaken. I
  
   I am using it within a LAN, it's not a practical proposition do do it
   over a larger/slower network.
 
  Turns out it's possible to use ssh X forwarding to run XDMCP over ssh.
  I'll give the same advice I gave a year and a half ago
  (http://cygwin.com/ml/cygwin-xfree/2004-06/msg00201.html), but with
  a twist: remove the quotes from the Google search string for a really
  cool XDMCP over ssh recipe.
 
  See below for the slower network comment.
 
tried to use XDMCP, and had the screen come up, but there was no
option to log in or to open any menus or terminals... There was
clearly something wrong about it the way it came up on my PC.
  
   The remote (client) needs to be running xdm (or a dolled up version
   such as wdm, kdm or gdm) as well and it needs to be configured
   right.

 no need for anything except an X client app, and either xauth set
 right, or X forwarding over ssh.  It's the -X and/or -Y options to
 ssh, but you may need to edit sshd_config on the ssh server to enable
 it.

That's what the FAQ entry I pointed to says.  However, the comment about
setting xdm was in reply to the XDMCP question, and the information is
still valid -- you do need ?dm set up to get an XDMCP connection.  You
also need reverse DNS lookups to work, which (again) the XDMCP section of
the FAQ (link below) mentions quite clearly.

  In addition, there's a whole XDMCP section in FAQ:
  http://xfree86.cygwin.com/docs/faq/cygwin-x-faq.html#xdmcp.  But if
  you tunnel it through ssh, XDMCP isn't really running on the Cygwin/X
  server anyway.
 
   Having seen this second question of yours, are you trying to run
   mozilla across an ADSL or similar connection?  I very occasionally
   do this but it's very, very, slow - like it can take minutes for the
   display to update, I only do it if I absolutely have to.
 
  If you do use ssh X forwarding, ssh compression may help.  You can
  turn it up to +C9.

 You want to try a package called NX.  It's GPL code based on xfree,
 with a commercial variant.  www.nomachine.com for the client (it's
 based on cygwin's X server, so delete the antique copies of cygwin
 DLLs it installs under it's own directory), and
 http://freenx.berlios.de/ for the server.  It's a bit of a pain to set
 up, but it is VERY fast and low-bandwidth.

But be aware that we don't support third-party apps on the Cygwin lists,
so you'd need to contact the providers of NX with any problems you have.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Serious flaw in Cygwin X clipboard integration prevents paste from X to Windows apps

2006-01-18 Thread Igor Peshansky
On Wed, 18 Jan 2006, Stahlman Brett wrote:

 Recently, I built a Cygwin X-enabled Vim from the Unix sources on my
 Windows machine.  Everything seemed to work well until I attempted to
 use the clipboard.  The first attempt worked, but subsequent attempts to
 copy text in Vim and paste to a native Windows application failed. (The
 original text was pasted each time.)

 I looked into the issue, and actually wrote a patch for Unix Vim that
 allows me to use the clipboard normally for pasting to native Win
 applications. However, Bram Moolenaar of Vim insists (and I have come to
 agree) that the problem is not with Vim but with the Cygwin X
 implementation. Here's the problem as I understand it...

 When an X app such as Vim wants to obtain selection ownership, it calls
 a function such as XtOwnSelection (or the analogous toolkit-specific
 wrapper). Cygwin X processes this request by opening the Windows
 clipboard and calling SetClipboardData with a NULL data pointer,
 signifying that Windows should send a WM_RENDERFORMAT message when
 selection data is required for pasting into a native Windows
 application. This works fine for the first selection. The problem occurs
 when the user of the X app returns to the X app and changes the
 selection. In general, the X app will not make another call to
 XtOwnSelection (or the analogous function) because it already owns the
 selection and assumes it will communicate the changed data to X only
 when its callback function is called; i.e., when the selection is
 requested by another app. Unfortunately, the callback will not be called
 upon subsequent paste attempts for the following reason: Windows sends
 the WM_RENDERFORMAT message to Cygwin X's xwinclip window if and only if
 it believes the data it received in response to the last WM_RENDERFORMAT
 message is no longer valid. From Windows' standpoint, if there have been
 no intervening calls to OpenClipboard / SetClipboardData, the clipboard
 is unchanged, and there's no reason to send another WM_RENDERFORMAT
 message to the clipboard owner (xwinclip)! Thus, once a given X app owns
 the selection, subsequent paste operations into a native Windows
 application will always result in a paste of the initial selection made
 in the X app! The data pasted into Windows apps will not change until
 the selection owner changes.

 The patch I implemented for Vim worked by forcing a change of selection
 owner every time the selection within Vim changed. The solution was a
 bit messy, as it required ignoring the lose selection callback, and in
 the case of GTK, required processing X events between the call to
 disown and own selection. Also, this solution is inefficient, as
 multiple messages (e.g., WM_DESTROYCLIPBOARD, WM_DRAWCLIPBOARD) result
 from every change of selection, and the selection may change rapidly
 when, for example, you're selecting text with the mouse. Bram's other
 argument against expecting X applications to implement workarounds such
 as this is that it's not supposed to be necessary. There is no
 requirement that an X app make a call into X every time the selection
 changes. His suggestion (if I understood it correctly), which I believe
 is very feasible, is to have XWin re-call SetClipboardData with a NULL
 data pointer after processing each and every WM_RENDERFORMAT message.
 This would effectively invalidate the data in the clipboard after each
 time it was requested, forcing Windows to request it from xwinclip every
 time the user of a Windows app performs a paste. Is there any reason why
 this solution is not feasible? Have I misunderstood something about the
 nature of the problem?

I'm not very familiar with the details of how the clipboard handling is
implemented in Cygwin/X (though I do know that there is a choice of the
external xwinclip application and the internal -clipboard handling).  The
way applications like Exceed seem to do it is by relinquishing clipboard
ownership on losing focus, and reacquiring the clipboard on getting the
focus.  Perhaps this approach will also work for Cygwin/X?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Serious flaw in Cygwin X clipboard integration prevents pastefrom X to Windows apps

2006-01-18 Thread Igor Peshansky
 be helpful to the developers.  But what would be even more helpful is
a patch.  Would you be willing to build the XWin server and try out the
proposed fix at the server level?

 Incidentally, you mentioned Exceed having had to come up with a
 workaround as well. Is this problem known to the XWin developers? I
 didn't see anything in the TODO, but I can't imagine that something like
 this hasn't been reported by now.

I'm just observing this from the way Exceed works (messages, etc).  I
haven't seen Exceed source code, so this is conjecture at best.  But there
should be no reason it wouldn't work for Cygwin/X...

BTW, a workaround at the Exceed level would be equivalent to changing
XWin.exe appropriately, not the applications.

 Incidentally, the external xwinclip application is supposed to be
 obsolete now, I think. I believe new development may be taking place
 only on the integrated version, but I could be wrong.

There were reports of problems with the integrated version that were
absent in xwinclip -- I'd guess both would be used for some time yet.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: xdvi in cygwin??

2006-01-17 Thread Igor Peshansky
On Tue, 17 Jan 2006, Paminu wrote:

 How do I get xdvi to work in cygwin? Its installed but I get this error
 when I run it from a shell:

 Error: Can't open display.

xdvi is an X application.  You need a running X server to be able to
display it.  If you want a non-X dvi viewer, use yap from MiKTeX.

 If I doubleclick xdvi-xaw.bin.exe in : C:\cygwin\usr\X11R6\bin

 I get the error:

 This program could not be startet because cygkpathsea-4.dll not was found.

 If I try to start xfig I get the same message but just with Cygwin1.dll
 instead.

 Hope someone can help!

Cygwin/X programs need to be invoked from an environment with a properly
set up PATH (e.g., a bash shell).  You can also add the Cygwin /bin
directory to your system PATH.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: add /home/mos to path?

2006-01-17 Thread Igor Peshansky
This has nothing to do with Cygwin/X.  Redirecting to the main Cygwin
list.  Please remove cygwin-xfree at cygwin dot com from replies.

On Tue, 17 Jan 2006, Paminu wrote:

 I have my .emacs file in c:\cygwin\home\mos, but emacs only read it if I
 put it in: c: How do I make emacs read from c:\cygwin\home\mos??

Does http://cygwin.com/faq/faq.setup.html#faq.setup.home help?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

--
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: Q: How to have cygwin start as the whole screen?

2006-01-03 Thread Igor Peshansky
On Tue, 3 Jan 2006, Brett Serkez wrote:

 To change the X-Startup scripts for Cygwin, look in the directory
 /usr/X11R6/bin for the scripts startxwin.bat and/or startxwin.sh,
 depending on which you use.

 The line you want to edit is:

 XWin -multiwindow -clipboard -silent-dup-error 

 or

 %RUN% XWin -multiwindow -clipboard -silent-dup-error

 depending on if you start X from Windows or cygwin.

 Remove the -multiwindow option.

Right advice, wrong list.  Cygwin/X questions and answers belong on the
cygwin-xfree mailing list -- I've redirected this message there.  Please
use that list for further discussion on this topic.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac


--
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: I need cygcygipc-2.dll, where is it?

2005-12-27 Thread Igor Peshansky
On Wed, 28 Dec 2005, m. z. wrote:

 An application that I have doesn't want to work because it needs
 cygcygipc-2.dll.
 Among the huge amount of packages of cygwin, what I should install in
 order to find that package?
 Maybe some of you, who works with cygwin, know the answer.
 For me it would be very important to have it. Thanks in advance.

The answer to the above question is always the Cygwin package search page
at http://cygwin.com/packages/.
HTH,
Igor
P.S. This question has nothing to do with Cygwin/X, and thus is off-topic
on the cygwin-xfree list.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac

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