Re: q. on Windows integration

2005-12-15 Thread Igor Pechtchanski
On Thu, 15 Dec 2005, Wladimir Mutel wrote:

 Hi,

 1. Is it possible for Cygwin X server to use native raster and
 ttf fonts provided by enclosing Windows environment ? If not,
 what scale of changes would be required to implement this ?
 What subsystems and libraries should be touched ?

Yes, it's possible.  AFAIU, that's what the xorg-x11-fscl package does
(though possibly only with enclosed fonts).  But perusing its structure
and the postinstall script should prove instructive...

 2. Is it possible to derive XKB settings from existing keyboard
 layout settings already done in Windows ? I.e., use the same
 layout set and switching rules as other Windows apps do ? If
 not, the question again is - what modules should be reworked,
 and to what extent ?

Again, AFAIK, XWin.exe already does that -- and the previous maintainer,
Alexander Gottwald, went to great lengths to keep the keyboard detection
tables as complete as possible -- search the archives of cygwin-xfree for
keyboard.  If you have a keyboard layout that isn't automatically
detected, it needs to be added to the table -- again, the archives should
also contain the procedure for reporting such layouts; perhaps the current
Cygwin/X maintainer will be able to integrate the new layout into the
code.

 Thank you in advance for your replies. I think these changes
 could be useful for users and make Cygwin/X more
 natively-lookingbehaving Windows application. Btw, rootless
 mode is great !

You've heard of -multiwindow, right?  That's as native as it gets. :-)

 If it proved to be implementable, these font/xkb integrations should be
 as well.

They're already implemented, it's just a matter of getting them teased out
via configuration.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Font initialization?

2005-12-08 Thread Igor Pechtchanski
Ugh, top-posting...  Reformatted.

On Wed, 7 Dec 2005, Kenneth Corbin wrote:

 On Wednesday 07 December 2005 07:54, Igor Pechtchanski wrote:
  On Wed, 7 Dec 2005, Kenneth Corbin wrote:
   Hi folks,
  
   I have an application that needs some non-standard fonts.  It's easy
   enough to add a manually new directory to the font path.  What I haven't
   figured out is how to configure Cygwin/X to add the new font path
   directory when it starts up.
 
  Searching man X for font.*path shows that this could be accomplished
  with xset +fp DIR (the manpage also gives an example of exactly how to
  do this).  There's also a -fp option to X, but I'm not sure it does what
  you want.
  HTH,
  Igor

 Thanks Igor,

 I figured that out from the man pages.  What I haven't figured out is
 where I can put that xset +fp where it will be automatically executed at
 cygwin/X startup.

This depends on how you start Cygwin/X.  If you use startxwin.sh, just
edit it and put the xset command right after the XWin invocation (though
beware that the file will get overwritten every time you update
X-startup-scripts).  If you use startx, you should be able to put it in
your ~/.xinitrc or ~/.xserverrc...
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Font initialization?

2005-12-07 Thread Igor Pechtchanski
On Wed, 7 Dec 2005, Kenneth Corbin wrote:

 Hi folks,

 I have an application that needs some non-standard fonts.  It's easy
 enough to add a manually new directory to the font path.  What I haven't
 figured out is how to configure Cygwin/X to add the new font path
 directory when it starts up.

Searching man X for font.*path shows that this could be accomplished
with xset +fp DIR (the manpage also gives an example of exactly how to
do this).  There's also a -fp option to X, but I'm not sure it does what
you want.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 numerical input for certain applications in Cygwin

2005-12-05 Thread Igor Pechtchanski
On Mon, 5 Dec 2005, scott Langford wrote:

 I am running Cygwin to ssh onto a Linux server which handles a couple of
 applications that I use for design work. When I run the applications
 there are various fill forms which require numeric entry. For some
 reason I cannot make any numeric input into these forms. The same forms
 have character entry which works fine. I tried the FAQ and users Guide
 but could not find any examples of this exact problem. I have some Linux
 support but that person was basically at a loss. I am not sure where to
 look to correct this problem. When I run directly on my Linux server I
 do not have this problem. I suspect there is some setup in my startx.sh
 file that may help. Any suggestions?

You haven't specified exactly *how* you invoke the applications on Linux,
but I suspect they are X applications and you invoke them via the X
forwarding feature of ssh.  This makes your question off-topic for the
main list, and on-topic for the cygwin-xfree list (which the Reply-To of
this message points to).  If you aren't using X, please follow-up to the
main list with more details.

As for your problem, in the absense of more information, it looks like
you're seeing weird Num-Lock-related behavior, which is a known problem
with Cygwin/X.  Try using the digits above the alphabetical keys instead
of the keypad.  I also seem to recall some recipes for making Num-Lock
work properly -- searching the cygwin-xfree archives may help.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Is Cygwin/X compatible with HP's mwm?

2005-12-01 Thread Igor Pechtchanski
On Thu, 1 Dec 2005, km4hr wrote:

 Is Cygwin/X compatible with the mwm (Motif Window Manager) that comes
 with HPUX 10.20?  Or is Cygwin/X only supposed to work with Linux? I
 have an application that works fine with Redhat's X server, Exceed, and
 Reflections, but not Cygwin/X.  I was hoping to use Cygwin/X instead of
 the commercial X servers. But Cygwin/X doesn't communicate with mwm.
 I've been trying for days but it's just not working. Application windows
 all appear normal in Cygwin/X but there is no interaction with the
 window manager. For example, I can't move windows on the screen. The
 last window created is the only one that gets focus. Clicking on the
 others does nothing. Window manager pull down menus don't display. In
 short, there is no interaction at all between Cygwin/X and the mwm
 window manager. Is anyone out there using Cygwin/X successfully in this
 environment? Does anyone know if Cygwin/X has been tested with HP's mwm?
 I also tried the twm window manager that comes with HPUX 10.20.  Is
 doesn't work right either. The problems are similar but not exactly the
 same. In the case of twm an outline of the last window created is
 attached to the mouse pointer. Clicking on the desktop causes the window
 to be completed and appear normal.  I am able to interact with the
 window manager after that. But what's going on with this weird behavior?

Hard to say without any information on how you start the X server[*].  A
couple of WAGs: don't run the X server in multiwindow mode (or you'll get
two window managers trying to outdo each other), and check that your
NumLock is not on.  Also, are you connecting to the HPUX machine via ssh?
If so, read
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding.
HTH,
Igor
[*] It's recommended that you attach /tmp/XWin.log from the failed session.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: rxvt fonts size setting problem for X/Cygwin

2005-11-22 Thread Igor Pechtchanski
On Tue, 22 Nov 2005, faif cn wrote:

 Hello All,

 I use rxvt in cygwin in dos shell without X. Font size is set on
 .Xdefaults as
 Rxvt*font: Lucida Console-14

 But when I run rxvt in X, the fonts size of rxvt terminal is too
 small. The same setting seems not affect rxvt in X? How can I keep
 fonts as same as big in cygwin dos shell?

First off, if you use rxvt, it's not a DOS shell.

Secondly, X uses a different font selection scheme from W11 (the X
interface wrapper around the native Windows calls that rxvt uses).  W11
uses Windows font names.  For a list of available X fonts, run xlsfonts
(or use xfontsel to select fonts visually).

I don't know of an easy way to dispatch to a font name based on whether
you're running X or native.  You could try playing with window names and
using this as a selector in your .Xdefaults...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: rxvt fonts size setting problem for X/Cygwin

2005-11-22 Thread Igor Pechtchanski
On Tue, 22 Nov 2005, Leo wrote:

 On 11/22/05, Igor Pechtchanski wrote:
  On Tue, 22 Nov 2005, faif cn wrote:
 
   Hello All,
  
   I use rxvt in cygwin in dos shell without X. Font size is set on
   .Xdefaults as
   Rxvt*font: Lucida Console-14
  
   But when I run rxvt in X, the fonts size of rxvt terminal is too
   small. The same setting seems not affect rxvt in X? How can I keep
   fonts as same as big in cygwin dos shell?
 
  First off, if you use rxvt, it's not a DOS shell.
 
  Secondly, X uses a different font selection scheme from W11 (the X
  interface wrapper around the native Windows calls that rxvt uses).  W11
  uses Windows font names.  For a list of available X fonts, run xlsfonts
  (or use xfontsel to select fonts visually).

 Thank you. If I understand you right, the fonts name shown by xlsfonts
 or xfontsel should be used for X.

Yes.

 But I changed .Xdefaults font section by using name listed by xlsfonts,
 the native rxvt fonts changes, whereas X version rxvt doesn't. Am I
 missing your points?

I don't think so.  When I do this, the font changes in both the Windows
mode and the X mode (to different things, of course).  How do you invoke
the X-mode rxvt?  Do you have a script or an alias that passes the -fn
option to rxvt?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Linking propbem with gtk libraries

2005-11-18 Thread Igor Pechtchanski
On Fri, 18 Nov 2005, Laitio Mika (Sysline) wrote:

 [snip]
 Do you know what changes are needed to gcc -g -O2 -L/usr/X11R6/lib
 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0
 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11
 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -o
 hello.exe main.o command?

Yes.  Move 'main.o' before all the '-l' flags (typical newbie mistake).
See also
http://cygwin.com/faq/faq.programming.html#faq.programming.linker (which
should, IMO, be extended to cover object linking as well).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: my 3 heads = apps in the dead zone

2005-11-17 Thread Igor Pechtchanski
On Thu, 17 Nov 2005, Chris Green wrote:

 On Thu, Nov 17, 2005 at 09:51:12AM -0500, Igor Pechtchanski wrote:
  
   Is this a problem with the app, cygwin/x, x.org, Win or my config?
 
  Ultimately, window placement is the responsibility of the window manager.
  However, most window managers assume a single rectangular desktop area.

 Hmph, not any more according to most 'modern' window manager
 programmers.  I've had this discussion with two lots of developers of
 same and both have now given up any support for positioning of windows
 through the window manager.  At least user control of where the window
 is positioned is no longer done using the window manager
 configuration.

This does not contradict what I said.  Even if all the window manager does
is pass the user's preference of where to place the window directly to the
X server, it's still up to the window manager to act as a liaison to the
server.  If there is no user preference specified, the window manager
should be the one placing the window (even if it just defaults to (0,0)).

I'd be happier to find out that some window manager does support
irregularly shaped displays (and even happier to know that someone was
working on getting the windows native WM to support them). :-)
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Auto hidden taskbar stays hidden

2005-11-07 Thread Igor Pechtchanski
On Mon, 7 Nov 2005, Thomas Gilgin wrote:

 Hello all,

 thanks for your answers. I'll try to make it a little bit more clear:

 I'm talking about the *windows* task bar. Both Keep taskbar on top of
 other windows and the auto hide option are checked. Using Windows 2000
 (5.00.2195) Service Pack 3

 For starting X (sorry I'm a newbie to X), I use
 C:\cygwin\usr\X11R6\bin\startxwin.bat, which contains
 run XWin -multiwindow -clipboard -silent-dup-error
 Hide root window of the tray icon is checked (is this allowed?).

It's checked by default for multiwindow mode.

 As long as native windows applications have the focus or none of the
 windows is maximized, everything works as expected. But if an X
 application has the focus *and* any other (native or non-native) Window
 is maximized the taskbar does not show, if I move the mouse to the
 bottom of the desktop. Pressing the windows key or Ctrl+Esc makes it
 show (maybe because the xterm looses focus?)

I still can't reproduce this behavior on WinXP.  I've tried the exact
steps (except that X was running on display :1) and my taskbar unhides
with no problems.  If this is a bug in X, it's Win2k-specific.

 Any more information I could provide (or I should read)?

Let's go with

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

Please provide the information requested in that link.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Auto hidden taskbar stays hidden

2005-11-06 Thread Igor Pechtchanski
On Sat, 5 Nov 2005, Larry Hall (Cygwin X) wrote:

 Thomas Gilgin wrote:
  Hi list,
 
  I use an auto hiding taskbar. If an application, e.g. xterm or a native
  windows application is maximized, the task bar does not appear if the
  mouse pointer is moved to the border of the desktop. If no window is
  maximized, it works as expected. Is this a bug or my fault? :-)

 Could be a bug, since it doesn't react this way on Linux with Gnome and
 a maximized xterm.  Haven't had a chance to try it on Cygwin-X myself
 though...

Larry, I think the OP was referring to the *Windows* taskbar, not the one
provided by one of the X window managers (e.g., Gnome).  The phrasing is
confusing as well, especially the part that says e.g. xterm or a native
windows application -- does this mean that this is reproducible for him
even with native Windows apps?  If so, it's a Windows bug and has nothing
to do with X.

FWIW, the OP didn't provide details of his OS, nor how X was run (i.e.,
multiwindow, rootless, rooted), nor which window manager he was running
(in the rootless/rooted mode).  I've just tried to and couldn't reproduce
this problem on WinXP with X running in either multiwindow or rootless
(twm, fvwm) mode.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: changes in monitor resolution

2005-11-03 Thread Igor Pechtchanski
On Thu, 3 Nov 2005, Roger Levy wrote:

 Hi,

 I use Cygwin/X on my laptop all the time, and I often switch back and forth
 between my XGA laptop display and an SXGA external monitor.  (I use
 startxwin.bat to start the X server.)  What I find is that when I start xwin
 while my laptop display is active, and then switch to the external monitor,
 nothing displaying through X is visible on the bottom and right-hand sides of
 the display.  I assume that this is because startxwin.bat detected my monitor
 resolution as XGA and so configured its resolution as 1024x768, and doesn't
 automatically resize when I switch displays.  I can fix this by closing the X
 server and then restarting it, but then I have to close all my X clients too.

 Is there a way to either (a) automatically start X with SXGA resolution, or
 (b) manually resize X after I switch monitors, without restarting it?

(a) is possible -- you can pass screen size parameters to X.  For (b), see
if -multiplemonitors does the right thing; if not, you're out of luck.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: connection to hostname:0.0 refused by server when running via XDMCP

2005-10-28 Thread Igor Pechtchanski
On Fri, 28 Oct 2005, Reinhard Mueller wrote:

 Igor,

 Am Mittwoch, den 26.10.2005, 10:27 +0200 schrieb Reinhard Müller:
  $ su sabine xterm
  Xlib: connection to dhcp0.europe.localnet:0.0 refused by server

 Thanks for your hint. I tried to set xhost + localhost in the terminal
 before doing the su (didn't work), but I guess I have to do that on the
 Windows machine (the machine where the X server runs), so I wonder which
 is the correct place to add it.

Sorry, I think I may have misunderstood what you were trying to do.  Looks
like you do su sabine on the *remote* machine -- I thought you tried
this locally.

By default, X (in XDMCP mode) limits the connections to the user logged in
via XDMCP from the target machine.  If you want other users to connect
(whether those from the X server machine, or those from the XDMCP target
machine), you'll need to add them to the access list with the xhost
command.  You may need to specify the host to add in the form that xhost
understands (i.e., the full machine name instead of localhost).  See the
xhost manpage for details.

The xhost command needs to be invoked by the user who has control over the
X server (e.g., from the remote xterm).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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: connection to hostname:0.0 refused by server when running via XDMCP

2005-10-26 Thread Igor Pechtchanski
On Wed, 26 Oct 2005, Reinhard Müller wrote:

 Hello, all,

 I use cygwin/x to make my Windows PC a X Windows terminal: I connect to
 my GNU/Linux machine via XDMCP. Everything works fine as long as I don't
 want to change the user.

 However, when I try to execute a program as a different user, I get the
 following error message:

 $ su sabine xterm
 Xlib: connection to dhcp0.europe.localnet:0.0 refused by server
 Xlib: No protocol specified

 xterm Xt error: Can't open display: dhcp0.europe.localnet:0.0

 (dhcp0.europe.localnet is the name of the Windows PC where cygwin/x
 runs)

 Any hint about how to fix this is highly appreciated.

You'll need to allow connections from localhost: try xhost + localhost
from the original user.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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: gnome-terminal and vte: works fine

2005-10-20 Thread Igor Pechtchanski

On Thu, 20 Oct 2005, Per Lundberg wrote:


Dear list subscribers,

I have managed to get vte and gnome-terminal compiled and running on
Cygwin/XFree. Seems to be working fine also, and it's nice to have when
you are stuck in the Windows world. Attached is the patch for vte (based
on another patch I found on the net, very small modifications to get the
patch to apply with latest vte). vte is a package neccessary for the
compilation of gnome-terminal.

gnome-terminal compiles right out of the box (2.12.0, latest version)
but there is some problems with the help files (because of missing
scrollkeeper-preinstall). If you go into each of the help/XX
subdirectories and run a manual make gnome-terminal-XX.omf.out, it
will generate these files anyway, but I have not tested whether the
online help works or not.


Good to know.  You might want to test these before adding the package to
the distribution.


I hope this makes someone happy. :-) How do we now go ahead and get these
packages into the netinstaller?


Two ways.  One is http://cygwin.com/setup.html, but that requires an
active maiintainer, who is subscribed to the cygwin-apps list.  The other
is providing a custom mirror with just that package, and having the users
download it unofficially (look at the setup.exe homepage link on the
above page).

If you choose to go with the first approach, you'll need to ITP the
package(s) on cygwin-apps.

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

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: XDMCP issues

2005-10-12 Thread Igor Pechtchanski
On Tue, 11 Oct 2005, Loic Domaigne wrote:

 Hi Chris,

   Does have someone an idea what's going wrong?
  
  It sounds almost like a permissions/security problem, i.e. your XP box
  won't *allow* a remote XDMCP to open the display.  I do what you;re
  trying to do on Windows 2000 and I don't remember any problems like
  this but it may well be that XP is being more 'secure'.
 
  You can 'ping my_XP_box' from the Linux box OK can you?

 Your post invited me to have a look at the /var/log/messages on my Linux
 Box. I saw that kdm couldn't map the IP to the hostname of my XP box. I
 made a corresponding entry in /etc/hosts...

 Et voilà! IT'S WORKING!!!

 Thanks a lot Chris. You put me on the right path. The solaris 9 box is also
 working (I had the same problem as on the Linux box).

For the record,
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-audit-client-rejected
could've helped too.  The message is not quite the same, though -- time to
update the FAQ?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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: mouse pointer disappearing w/ Thunderbird

2005-10-07 Thread Igor Pechtchanski
On Fri, 7 Oct 2005, Rob Siklos wrote:

 Hi All,

 I don't quite know what to do with this, so I'll just tell you what I'm
 seeing and hopefully you'll be able to tell me what the next steps are.
 I *think* this is a cygwin x bug.

 I'm using Mozilla Thunderbird as my e-mail client, and I've noticed that
 if I move the mouse over top of an X window (say, an x-term) during the
 time that the new message notification popus up on my taskbar, my mouse
 pointer will disappear, and won't reappear over any other X window until
 I restart XWin.

 Any idea what this could be?

It probably is a Cygwin/X bug -- I've heard it mentioned before.  I don't
think there is a fix, but there *is* a workaround -- the X menu (which you
get by right-clicking on the X icon in the system tray) should have a
Show Cursor item, which will make the cursor reappear.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: mkdir: cannot create directory `/cygdrive/h': No such file or directory

2005-10-07 Thread Igor Pechtchanski
On Fri, 7 Oct 2005, Todd Shoenfelt wrote:

 I've recently installed Cygwin to my XP machine for
 the first time.  When I launch the bash window, I get:

 snip
 mkdir: cannot create directory `/cygdrive/h': No such file or directory
 Copying skeleton files.
 These files are for the user to personalise their cygwin experience.

 These will never be overwritten.

 /usr/bin/install: cannot create directory `/cygdrive/h': No such file or 
 directory
 /usr/bin/install: cannot create directory `/cygdrive/h': No such file or 
 directory
 /usr/bin/install: cannot create directory `/cygdrive/h': No such file or 
 directory
 bash: cd: /cygdrive/h: No such file or directory

 [EMAIL PROTECTED] /etc/skel
 /snip

 It looks like Cygwin is trying to store some session data.  I do end up
 getting a functioning command line, but the 'h' directory isn't created.
 Cygwin is installed here: C:/cygwin/cygdrive.  I've done 'mkdir
 C:/cygwin/cygdrive/h', but the error persists.  How do I get these
 messages to go away?

First, this is a general Cygwin issue, and has nothing to do with
Cygwin/X.  I'm redirecting this reply to the main Cygwin list -- please
remove cygwin-xfree at cygwin dot com from further discussion.  Note
that the cygwin-xfree list adds an extra Reply-To, so you'll have to
manually remove it if you get this message via that list.

Whenever you first run the Cygwin shell as a new user, some skeleton files
are copied into your home directory automatically.  The home directory (or
$HOME in Unix-speak) is determined according to the rules described at
http://cygwin.com/faq/faq-nochunks.html#faq.setup.home.

/cygdrive is a virtual directory, which is the parent directory for all
Windows drive letters.  IOW, even though / is C:/cygwin, /cygdrive/h
is NOT C:/cygwin/cygdrive/h, it's H:/.

For some reason, Cygwin thinks your $HOME is /cygdrive/h (or H:\).  If
you do have the HOME environment variable set in Windows, that could
explain your problem.  If you don't have the H: drive, simply unset the
HOME variable in the Windows environment -- it'll be set appropriately by
Cygwin.  If you do have the H: drive occasionally (e.g., it's a network
drive), and some other program needs this setting of the HOME environment
variable, you can edit /cygwin.bat to unset HOME before starting the
Cygwin shell.

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

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 hangs on opening xterms

2005-10-05 Thread Igor Pechtchanski
On Wed, 5 Oct 2005, Norbert Harendt wrote:

 Hello,

 I updated cygwin a few days ago, now my xwindow-remote sessions are
 often hanging and are consuming a lot of cpu-power. In detail:

 I am running a W2K-machine with 2 cpus and connect to a linux-X-server
 via cygwins
XWin -query 192.168.1.100 -once
 in order to get the logon-screen of the linux-server. Before last days
 update all was performing very will (but now i don't know which version
 that was)

 Now i get the following output:
 [snip]
 At this point the Cygin/X-windows hangs.

Did you let it run long enough?  Looks like it's trying to fork, and the
DLLs are being loaded.  Does the CPU show any activity during the hang?
Does the disk?  Try running it under strace to see if it's really a hang,
a busy loop, etc.  If you get any output at all during the hang, XWin is
probably doing something useful.

 but than the logon screen of the linuxserver appears in the
 Cygwin/X-Window and i am able to login. The initialisation of the
 X-desktop is done as usual. But every time i open an xterm, the
 Cygwin/X-Window hangs again. Again killing the second XWin.exe brings
 Cygwin/X-Window back to life, producing an output similar to the
 following

 **
 332281787 [main] XWin 804 fork_parent: child 1476 died waiting for dll loading
 **

 Can anybody tell me, what is happening 

Yes.  XWin forks to be able to spawn off a process (in this case, xterm).
You have killed the forked child, thus XWin is not able to create the
xterm process.  Don't do that.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: X11 forwarding connection refused

2005-09-30 Thread Igor Pechtchanski
On Fri, 30 Sep 2005, Anna Barnes wrote:

 Hi
 I'm sorry I know this question has been asked many times but I have
 searched FAQ and followed all the suggestions listed there for X11
 forwarding, for example I have set X11 forwarding to yes in the
 ssh_config files on both the client and the server.  I have also set the
 DISPLAY variable, and tried using xhost + I have also tried some of the
 solutions previously mentioned but I still get the error message when I
 try and run any of the applications on our apps server...

 connect localhost port 6000: connection refused
 X connection to nimbus:12.0 broken (explicit kill or server shutdown)

 I will also add that I never get any of these problems with my apple mac
 versions of X11.

Sounds like the X server is not accepting connections.  Can you run local
X clients (e.g., xterm)?
FWIW, you don't need to use xhost + with ssh forwarding.
Also, see if
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
helps...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Basic question 2 - Copy from Windows and paste to cygwin or X

2005-09-28 Thread Igor Pechtchanski
On Wed, 28 Sep 2005, Herbert Eppel wrote:

 On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote:
  I am already doing that (-clipboard), among others:
 
  run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars
  -clipboard -silent-dup-error

 Thanks, but would you mind elaborating a little?

 As I explained in a previous message, it's been a few years since I used
 Unix when I worked at University and my Unix knowledge has never been
 brilliant and has become even rustier since then...

 I start my X environment with the following command:

 startx -- -screen 0 1200 900

 where would -clipoard fit in, and what does it actually do?

man startx explains that the options after '--' are passed directly to
the server.  -clipboard is one such option.

man XWin explains what that option actually does (i.e., synchronizes the
X keyboard with the Windows one).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Basic question 2 - Copy from Windows and paste to cygwin or X

2005-09-28 Thread Igor Pechtchanski
On Wed, 28 Sep 2005, Herbert Eppel wrote:

 On 28.09.2005 15:52 UK Time, Igor Pechtchanski wrote:

   I start my X environment with the following command:
  
   startx -- -screen 0 1200 900
  
   where would -clipoard fit in, and what does it actually do?
 
  man startx explains that the options after '--' are passed directly to
  the server.  -clipboard is one such option.
 
  man XWin explains what that option actually does (i.e., synchronizes the
  X keyboard with the Windows one).
  HTH,

 Thanks. However, I seems something is wrong somewhere.

 With my usual command (i.e. startx -- -screen 0 1200 900) X runs OK,
 although I just noticed that I get some feedback relating to clipboard
 in the main cygwin window (see
 http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin1.jpg)

Right -- this says that clipboard support isn't enabled.

 When I first tried startx -- -screen 0 1200 900 -clipboard some
 clipboard error messages appeared - see
 http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin2.jpg

Those are just warnings -- the clipboard thread is started.

 I just tried the same command again. This time there are no clipboard
 error messages (see
 http://homepage.ntlworld.com/herb.eppel_new/temp/Cygwin3.jpg), but the
 clipboard still doesn't work.

 What am I doing wrong?

Please provide the exact steps you use to test the clipboard operation,
and any messages or results that make you believe it doesn't work.

Hint: X has multiple selection buffers; the clipboard support synchronizes
what's called primary selection; some applications (e.g., Mozilla) use a
different buffer for their selection storage.  It would also help if you
posted /tmp/XWin.log (instead of those screenshots).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Basic question X - whatever

2005-09-28 Thread Igor Pechtchanski
On Wed, 28 Sep 2005, Herbert Eppel wrote:

 Success 8-)
 Thanks a lot for all contributions!

 Just one more thing for now: I think I may find it a little difficult to get
 used to pressing the left and right mouse button simultaneously.

 Is there an alternative (without losing my double-click function for the
 scroll wheel button)?

Depending on the application, you may be able to set up keyboard shortcuts
to do this.  For a bash example, see
http://cygwin.com/faq/faq.using.html#faq.using.copy-and-paste (or try
searching the archives of the main Cygwin mailing list for copy paste --
I'm sure there were recipes for various key combinations).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: second report

2005-09-27 Thread Igor Pechtchanski
On Tue, 27 Sep 2005, Alexander Schwez wrote:

  Hallo, I send you second report with ERRORs in using WAVE function.
 Some more I have printing Stack trace in Window X~.
 Thank you, Alex Schwez,Lübeck, Germany.


 [EMAIL PROTECTED] ~
 $ PATH=/usr/openwin/bin:$PATH

 [EMAIL PROTECTED] ~
 $ startx

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

 Contact: cygwin-xfree@cygwin.com

 XWin was started with the following command line:

 X :0 -multiwindow -clipboard

 winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
 (II) XF86Config is not supported
 (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
 (==) FontPath set to 
 /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
 winDetectSupportedEngines - Windows NT/2000/XP
 winDetectSupportedEngines - DirectDraw installed
 winDetectSupportedEngines - DirectDraw4 installed
 winDetectSupportedEngines - Returning, supported engines 0007
 winSetEngine - Multi Window or Rootless = ShadowGDI
 winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
 winAllocateFBShadowGDI - Creating DIB with width: 1152 height: 864 depth: 32
 winFinishScreenInitFB - Masks: 00ff ff00 00ff
 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
 null screen fn ReparentWindow
 null screen fn RestackWindow
 InitQueue - Calling pthread_mutex_init
 InitQueue - pthread_mutex_init returned
 InitQueue - Calling pthread_cond_init
 InitQueue - pthread_cond_init returned
 winInitMultiWindowWM - Hello
 winInitMultiWindowWM - Calling pthread_mutex_lock ()
 winMultiWindowXMsgProc - Hello
 winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
 MIT-SHM extension disabled due to lack of kernel support
 XFree86-Bigfont extension local-client optimization disabled due to lack of 
 shared memory support in the kernel
 (--) Setting autorepeat to delay=500, rate=31
 (--) winConfigKeyboard - Layout: 0407 (0407)
 (--) Using preset keyboard for German (Germany) (407), type 4
 Rules = xorg Model = pc105 Layout = de Variant = (null) Options = 
 (null)
 (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
 (--) 3 mouse buttons found
 Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
 list!
 winPointerWarpCursor - Discarding first warp: 576 432
 winInitMultiWindowWM - pthread_mutex_lock () returned.
 winProcEstablishConnection - Hello
 winInitClipboard ()
 winProcEstablishConnection - winInitClipboard returned.
 winClipboardProc - Hello
 DetectUnicodeSupport - Windows NT/2000/XP
 winInitMultiWindowWM - pthread_mutex_unlock () returned.
 winMultiWindowXMsgProc - pthread_mutex_lock () returned.
 winClipboardProc - DISPLAY=127.0.0.1:0.0
 winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
 winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
 winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
 display.
 winClipboardProc - XOpenDisplay () returned and successfully opened the 
 display.

 winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
 display.
 winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window 
 parameter)

 winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window 
 parameter)

 winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window 
 parameter)

See http://www.cygwin.com/ml/cygwin-xfree/2005-09/msg00184.html.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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 using Cygwin, Dual Monitor, with External DVI

2005-09-25 Thread Igor Pechtchanski
On Sun, 25 Sep 2005, Andy Glew wrote:

 I have a problem whereby X text does not render correctly, in a
 configuration involving dual monitors, an external DVI monitor in
 addition to the LCD monitor on my laptop. It renders in other
 configurations using these monitors and this laptop.

 I am using Cygwin/X [*] on an IBM ThinkPad T42p. The T42p is docked in
  ^^^
Did you mean to include a footnote for this?

 an IBM 2878 docking station. The docking station is connected to an
 IBM ThinkVision monitor via a DVI cable.

 When I am in dual monitor mode (i.e. driving both monitors
 independently, with the external DVI monitor Windows' primary
 desktop), Cygwin/X applications such as xterm and GNU EMACS do not
 render on the external DVI monitor.  Their X windows (I am running
 Cygwin/X in multiwindow mode, so their X windows are also Windows
 windows) are blank - nothing displays.

 When I drag these windows over to the secondary monitor, the laptop's
 LCD display, they render.  Moreover, it is obvious that everything I
 typed while the window was on the external DVI monitor is now visible.
 Therefore, stuff is being added to X Windows' concept of what should
 be displayed on the window - it is just not getting sent to the
 screen.

 Similarly, when I drag the X windows back from the secondary, laptop,
 LCD, onto the external DVI monitor, the windows drag correctly. The
 old contents of the window display on the external DVI monitor, but
 nothing new gets drawn.

 ---

 However, when I am driving only the external DVI monitor, but not also
 driving the LCD at the same time, everything is drawn. That is how I
 am writing this message.

 ---

 Normally, at home I use Cygwin/X with an external analog video monitor
 in dual display mode with my laptop's LCD tablet.  This is one of the
 first times I habve used an external DVI monitor.

 ---

 Configuration info:

 Now, how can I tell what versions of Cygwind and Cygwin/X I am running?

Attaching the output of uname -svr and /tmp/XWin.log is usually enough
for most X problems.  For general Cygwin problems, it's best to attach the
output of cygcheck -svr, as requested in the Cygwin problem reporting
guidelines at http://cygwin.com/problems.html.

 The external DVI monitor is reported by Window's device manager as a
 Plug and Play monitor, on an ATI Monility Fire GL T2.

 The laptop LCD panel is an IBM Thinkpad 1400 x 1050 LCD panel, also on
 ATI Monility Fire GL T2.

That said, let me take a guess: try using the -multiplemonitors option of
XWin, and see if it solves your problem.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 and X server

2005-09-24 Thread Igor Pechtchanski
On Sat, 24 Sep 2005, Mario dos Reis wrote:

 I have recently installed Cygwin on my home PC
 (WinXP). I have tried to ssh to a solaris system and
 then running netscape, gut I get the followig error
 message and netscape terminates:

 X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
   Major opcode of failed request:  73 (X_GetImage)
   Resource id in failed request:  0x3a
   Serial number of failed request:  121
   Current serial number in output stream:  121

 To be honest I have no clue of what's going on.

 I normally log onto the same solaris machine from my
 linux laptop at work, and have no problem running
 netscape.

Does
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
help?

Look especially at the second and fourth answers.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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

2005-09-20 Thread Igor Pechtchanski
On Tue, 20 Sep 2005, Bart Bacon wrote:

 To the Gurus of CygwinX,
 I've noticed that in order to run CygwinX on separate accounts on the
 same machine, all users must have computer administrator privileges
 under the Windows XP Professional operating system.  Is there any work
 around to allow users with limited privileges (such as my daughter) to
 access CygwinX? Cygwin does not seem to have this problem.  Thanks for a
 great product and hopefully a response to this question.

It would help to know exactly what error messages you're getting from the
limited account, but it sounds like the problem of not being able to
overwrite either /tmp/.X11-unix or /tmp/XWin.log.  X creates a directory
in /tmp that is owned by the last user who ran X (and, of course, so is
the log file).  The next user may need to have administrative privileges
to overwrite the directory and log.

One possible solution is to have a different /tmp for your daughter's
account -- see man mount for user mounts.  Let us know if it helps.  If
not, please give a better description of your problem, with the steps to
reproduce it and the error messages you see.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Apologies over using Subject line for 'reference'

2005-09-19 Thread Igor Pechtchanski
On Mon, 19 Sep 2005, John Ormerod wrote:

 This might be off-subject, but I think has a general reference. I've
 used forums (or fora) and newsgroups for years, but I've never come
 across this format before. I couldn't find any guidance on how to use
 it, so it's all been guesswork - my first attempt had a subject
 something like Testing as I was unsure about the use of ' at 
 dot com' rather than [EMAIL PROTECTED] for example.

 I've had a few responses appear as an email, but most I can only see via
 the browser and there's no way to use that for a reply. I wondered how
 people were replying and getting the reference to form the discussion
 tree. And I'm still non the wiser, but at least I know what not to do
 now. Sorry.

FWIW, I mostly reply via the browser.  See if
http://cygwin.com/ml/cygwin/2004-09/msg00989.html helps.  GMane also
allows you to get a full raw copy of a given message to reply to.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



X announcements

2005-09-07 Thread Igor Pechtchanski
I seem to recall some discussion about why X announcements weren't
forwarded to this list from cygwin-xfree-announce (the way they are to the
main Cygwin list from cygwin-announce), but can't find it at the moment.
Could someone refresh my memory?  Are the reasons still relevant?
Thanks,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: setup PATH variable by PATH=%PATH:/usr/X11R6/bin

2005-09-05 Thread Igor Pechtchanski
Ugh, top-posting.  Reformatted...

On Thu, 1 Sep 2005, Mark Paulus wrote:

 On Thu, 01 Sep 2005 12:33:23 -0400 (EDT), PoWah Wong wrote:

 I want to setup my PATH variable by following the
 instructions of Chapter 4. Using Cygwin/X, section
 startx at http://x.cygwin.com/docs/ug/using.html.
 
 After doing
 PATH=%PATH:/usr/X11R6/bin
 my original path is lost.
 
 I use windows XP SP2.
 [snip]

 The statement should read:
 PATH=%PATH%:/usr/X11R6/bin

 Note the trailing % on PATH.  That is a Windowism.

No, actually, since the example is in a shell, the statement should read

PATH=$PATH:/usr/X11R6/bin

(note the quotes and the '$').
I'd update the HTML in CVS, but it looks like a generated file, and I
couldn't find the source.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Batch conversion between vector graphics?

2005-09-05 Thread Igor Pechtchanski
On Mon, 5 Sep 2005, Angel Tsankov wrote:

 Does cygwin include an application suitable for batch conversion of .fig
 files to .eps? If so, what is it?

fig2dev, in the transfig package.  Granted, transfig could use a better
description in the installer...
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 under XP fails to start only on 2nd User Account

2005-08-31 Thread Igor Pechtchanski
On Wed, 31 Aug 2005, Iain Campbell wrote:

  On Wed, 31 Aug 2005, Iain Campbell wrote:
 
  I'm new to the list. Hi!
 
  I have two accounts on my laptop, one for use on my home network and
  the other for use at my place of work. I'm going nuts trying to get X
  working on my office account, even though it's perfectly fine on my
  personal account.
 
  --snipped--
 
  Start here:
 
  Problem reports:   http://cygwin.com/problems.html
 
  I suspect it's either a mount issue, or a permission one.  Seeing the
  output of cygcheck -svr will likely provide enough information to
  decide which one.  Please make sure you *attach* the output, rather
  than include it in-line.

 Thanks, Igor. I've had a peek at the file (attached) and I'm none the
 wiser :-)

The file you attached shows a lot of information about your system that's
useful for those who know where to look -- saves asking a whole bunch of
thy this -- what do you see? questions.

According to the cygcheck output, your mounts look good (i.e., you've
installed Cygwin for all users).  The next step is to look at
/tmp/XWin.log for the exact fatal error you get (you mentioned it was
non-specific, but didn't paste the exact message in).  You aren't trying
to run the two X sessions (for the office account and the home one) at the
same time, by any chance, are you?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 solved, sort of (was Re: Cygwin/X under XP fails to start only on 2nd User Account)

2005-08-31 Thread Igor Pechtchanski
On Wed, 31 Aug 2005, Iain Campbell wrote:

 Tried starting X using 'startx' from the problem account and discovered
 a vital clue. There was an error message suggesting that the process
 couldn't write to /tmp/XWin.log

Ah, good, that was my next question... :-)  I'm glad you found the
problem.

 Rather than delete the file, I've set permissions to 0777 and it fixes
 my problem. I am, however, if this was the correct way to fix it.

That's exactly the correct way to fix it (well, permissions should really
be 0666).  There is no other way to allow different users to write to the
same file (short of adding individual ACLs, but not all POSIX tools
understand those).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Matlab Segmentation Fault error

2005-08-30 Thread Igor Pechtchanski
On Mon, 29 Aug 2005, René Berber wrote:

 Joe Andersen wrote:

  Not sure if this is a Cygwin problem, but it seems to be. I just
  installed cygwin so I could run Matlab on the unix servers at school
  from my windows laptop. Now that I;ve got rid of zonealarm, cygwin
  generallty works fine. However, when I try to run matlab after having
  ssh'ed to crest (our server), I get segmentation fault and matlab
  doesn't run.
 
  Here is how I log on:
 
  [EMAIL PROTECTED] ~
  $ ssh -X -l  crest.***

 I assume you started X windows first on your laptop.

  [EMAIL PROTECTED]'s password:
  Last login: Mon Aug 29 15:59:01 2005 from 
  [EMAIL PROTECTED] ~]$ matlab
  Segmentation fault

 This is happening on the server, not your laptop, so the problem may be
 on the server.  Have you tried running matlab on an X terminal connected
 directly to the server?

  start matlab with the following flags
  -nojvm -nodisplay -nosplash -nodisplay
 
  (in various combinations) Is there something I should change settings
  wise to make things work? Or is SSh the wrong protocol here?

 Ssh should not cause any problem, I use it all the time to have a
 graphical interface for Solaris and Linux.  You just have to make sure
 that the environment variable DISPLAY is set correctly (on the server)
 and that your host (laptop in this case) has security permission to
 access the X server (xhost +laptop name or address).

A couple of comments: this is almost certainly a bug in Matlab or one of
the libraries it uses -- it should not crash like this.  Also, this is an
X-related issue, and thus belongs on the cygwin-xfree list, not the main
one -- please direct all follow-ups there (should happen automatically
with the current Reply-To).

That said, you may find
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding
helpful for finding a workaround for your problem.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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: Remote login, then nothing happens

2005-08-29 Thread Igor Pechtchanski
On Mon, 29 Aug 2005, Andy Schmidgall wrote:

 Peter Valdemar Morch wrote:

  Hi,
 
  This is a mailing list about the X server in Cygwin. Sounds to me like
  you are asking about ssh specific stuff.

I'm not sure this is true -- this pertains to X forwarding over ssh, so
IMO belongs on this list.

  Andy Schmidgall mrflippy-at-tresgeek.net |Lists| wrote:
 
   I'm running cygwin/X on my Windows XP Home box, and am trying to
   connect to my Linux (Fedora Core 4) box. X runs fine on my windows
   machine, but I can't seem to get the remote connection working. I've
   tried ssh -X, ssh -Y, multiple combinations of options for those.
   All result in the same thing: I'm asked for my password, I enter it,
   and then... nothing. Nothing else happens. The logs on the linux box
   indicate that it accepted the ssh session. X Forwarding is enabled
   in my ssh config file on the linux box. I've read and reread the FAQ
   and documentation. I see nothing of note in any logs that I can
   find. Any ideas what might be wrong?
 
  If you open a non-X cygwin session in a dos box, and then type:
  cygwin-prompt DISPLAY=:0 xwininfo.exe -root
  Does that show information or an error message?

 It waits a minute, and then gives me:
 xwininfo:  unable to open display ':0'
 usage:  xwininfo [-options ...]

Heh.  To get X forwarding over ssh, you need at least 2 things: a running
X server, and for ssh to know which display the X server runs on[*].  The
above seems to indicate that the X server is either not running, or is
running on the wrong display.

 (and then a bunch of options)

  cygwin-prompt DISPLAY=:0 ssh -Y [EMAIL PROTECTED]
  do you then get a
  Password:
  prompt?
 
  If you do, and you enter your linux password, do you then get a prompt
  on your linux box? If not, this question is probably not related to X
  at all. Contact e.g. another cygwin list.

 I get a password prompt, but after entering my password, nothing else
 happens. I do not get a command prompt after entering my password.

Does the same happen if you run ssh -x (note the lowercase) without
DISPLAY= and -Y?  If so, you may indeed have a general ssh issue -- try to
get a working prompt first, and then set up X forwarding.

 If there is another list I should be sending this too, please let me
 know. I wasn't quite sure what specific area the problem fell under.

I think until we determine otherwise, let's continue this on cygwin-xfree.

One more place to check is your startup scripts on the remote machine.
Do they change the value of DISPLAY (they shouldn't -- it should be left
at whatever ssh sets it to)?  Do they try to launch an X client if DISPLAY
is set (that could be what's causing the apparent hang)?
Igor
[*] Well, there are more configuration options to check, but the two
things above are required regardless of the configuration.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 for exporting CDROM

2005-08-26 Thread Igor Pechtchanski
Wrong list, redirected.  This has nothing to do with Cygwin/X.  Please
remove cygwin-xfree at cygwin dot com from further discussion.

On Fri, 26 Aug 2005, clresid wrote:

 Dear Sir/Mdm,
 Is there a way for me to export the CDROM of my PC and
 allow a remote mount from another unix system (such as
 Sun or SGI) to read the CDROM data?  Thank you.

You could try using the nfs-server package.  Please read the
documentation carefully before using.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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

2005-08-26 Thread Igor Pechtchanski
On Fri, 26 Aug 2005, Raúl Lorenzo Boullosa wrote:

 Hi,

   I downloaded CygWin and installed, with base and X11 packages.
 If i use the startxwin.bat and get error below. So I went to FAQ and
 DOCs to solve the problem about opening fonts. Now, I open a console
 with bash --login -i and it doesn´t exist mount, umount, ls command. If
 i type any command before i get this error:
   bash: mount: Command not found
   bash: ls Command not found

Sounds like a non-X-related mount problem to me.  But it's just a guess,
pending details.

 The only commands works I found are help, exit. :)

Yep, those are bash builtins, not external programs like ls.

 So i can´t solve the problem, whats happend?

I'd suggest reporting this to the main Cygwin list, following the
guidelines at http://cygwin.com/problems.html.  Particularly, we would
need the information about your system that cygcheck -svr provides --
please be sure to *attach* that output to your message.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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: Spam: XFree86 maintainer

2005-08-23 Thread Igor Pechtchanski
On Tue, 23 Aug 2005, Corinna Vinschen wrote:

 On Aug 23 09:19, Alan Hourihane wrote:
  On Mon, 2005-08-22 at 13:33 +0200, Corinna Vinschen wrote:
   On Aug 22 12:09, Øyvind Harboe wrote:
I miss Alexander :-)
   
Any word on a new cygwin-xfree maintainer?
  
   Unfortunately not.  Is anybody willing to step up, perhaps somebody
   who already looked into the xfree sources more than once?
 
  If no one steps up for the job, then I'll volunteer. But my time is
  limited, so I won't be able to make releases at the frequency
  Alexander did.

 Thanks for the offer!  It's worth a couple of gold starts.

 We'll just wait for cgf to wake up now... ;-)

Why wait for CGF?  You have the power to give out gold stars too, you
know... :-)  I'm sure he'll confirm these.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA
--
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: Latex in Cygwin lost?

2005-08-22 Thread Igor Pechtchanski
Wrong list, redirected.  Please remove cygwin-xfree at cygwin dot com
from further replies.

On Mon, 22 Aug 2005, xzou wrote:

 Dear Cygwin folks,

 I installed Cygwin/X in Feb, 2005, and it has been working very well.
 This passed weekend I wad trying add the xfig, and after downloading
 and reinstalling, yes I have xfig now. However, the latex  and tex
 do not work any more, but amstex still works.
 When I  run latex, I got the following message:

 $ latex meta.tex
 This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
  file:line:error style messages enabled.
  %-line parsing enabled.
 kpathsea: Running mktexfmt latex.fmt
 tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
 fmtutil: config file `fmtutil.cnf' not found.
 I can't find the format file `latex.fmt'!
 
 and when I run tex I got the following:

 $ tex ams-00.tex
 This is TeXk, Version 3.141592 (Web2C 7.5.4)
  file:line:error style messages enabled.
  %-line parsing enabled.
 kpathsea: Running mktexfmt tex.fmt
 tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
 fmtutil: config file `fmtutil.cnf' not found.
 I can't find the format file `tex.fmt'!
 

 I am a mathematician, and use latex a lot. Does anybody have any
 suggestion/idea in solving this problem?

 Many thanks

 Xingfu Zou, University of Western Ontario (Canada)

What does cygcheck -cv tetex tetex-base tetex-bin tetex-tiny tetex-extra
show?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: MOUSE MOVE EVENT + CTRL + LEFT CLICK not recognized?

2005-08-19 Thread Igor Pechtchanski
On Fri, 19 Aug 2005, jason cafarelli wrote:

 I've recently started using cygwin in place of
 XVision.  One of my programs uses ctrl + left click to
 move a mouse cursor around the screen.  For some
 reason CYGwin does not seem to recognize the ctrl key
 being held down.  Is this a newb setup/configuration
 problem or something more serious?

 Two other xservers i have tested with recognize the ctrl+click.

What does xev show?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: X11 icons without stripes?

2005-08-05 Thread Igor Pechtchanski
Wrong list, redirected.  Please remove cygwin at cygwin dot com from
further messages.

On Fri, 5 Aug 2005, Torsten Bronger wrote:

 I use Cygwin under Win2k.  When I start X11 apps remotely on a Linux
 box through an ssh -X tunnel, their icons (e.g. in the taskbar)
 have black horizontal stripes.  Is there a way to get rid of them?

Try ssh -Y instead of ssh -X.  For reasons, see the Cygwin/X FAQ
(http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: more in insert and copy from clipboard

2005-08-05 Thread Igor Pechtchanski
On Fri, 5 Aug 2005, J. David Boyd wrote:

 Igor Pechtchanski [EMAIL PROTECTED] writes:

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

  On Fri, 5 Aug 2005, J. David Boyd wrote:
 
  Is there some setting that tells Cygwin to use/not use the windows
  clipboard.
 [snip]
  For the longest time, I have been merryly cutting and pasting between
  firefox, notepad, a bash shell, emacs, etc, all using ctrl-insert and
  shft-insert.
 
  Sometime in the recent past, this no longer works.  I can cut and
  paste between all of my cygwin programs no problem, but there is no
  communication with the windows side of things.
 [snip]

 There is no 'Properties' item.  I'm running in Cygwin X-windows, and
 doing everything under X.  My bash is running in an xterm, started with
 this command line (without the line break, of course):

 xterm -sl 5000 -sb -rightbar -ms red -cr red -fg black -bg white -e 
 /usr/local/bin/bash -l 

Ah, so you're using an xterm.  This makes the question off-topic for this
list.  I've redirected my reply to the right list, and set the Reply-To:
accordingly.  Please remove cygwin at cygwin dot com from further
discussion of this, unless it veers back to something relevant to Cygwin
at large, and not just Cygwin/X.

 My best example would be to wget something from a URL in a file.

 Last week (two, three weeks ago?) I would have used the mouse to
 highlight the text in firefox (notepad, openoffice.org), then pressed
 Ctl-Ins to copy it into the clipboard. (Or clicked on copy in the menus,
 it worked either way.) Then I would have moved into my xterm, and type
 'wget ' and then pressed shift-ins, to paste from the clipboard.  I hit
 enter, and wget worked perfect.

 Now, I do it all the same, but the shift-ins pastes whatever I last
 ctl-ins from a cygwin-X window.

 I don't recall changing any settings anywhere, but something might have
 changed in some internal Cygwin settings file, somewhere...

This has nothing to do with Cygwin settings -- it's an internal setting of
the X server.  My guess would be that either the clipboard thread isn't
starting properly, or you need to run xwinclip instead of using the
-clipboard parameter.  Looking at (and posting) /tmp/XWin.log would help.

The X clipboard settings are generally confusing -- they have at least 4
clipboards, only one of which corresponds to the system clipboard.  As far
as I know, the recent X servers are pretty good at doing the copy/paste
with the system clipboard, but there's always the possibility of
misconfiguration or some other factor that affects this.  Perhaps the
people on the Cygwin/X list will have more helpful comments.

  If this doesn't help, please describe exactly what you're trying to
  do, what worked before, and what doesn't work now.  Getting some
  information about your system as requested in
  http://cygwin.com/problems.html would also help.

 Okay, here is the output from my cygcheck -s -r -v output:
 (sorry, but it goes on for quite a while...)
 [snip]

That's why we prefer it attached to the message, rather than included
inline.  At first glance[*], nothing looks wrong.
HTH,
Igor
[*] For the Cygwin/X folks: rather than waste bandwidth, the original post
on cygwin@ was http://cygwin.com/ml/cygwin/2005-08/msg00204.html.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 occurred. my mozilla installation failed. what to do?

2005-07-29 Thread Igor Pechtchanski
First, I just have to cite Heinlein:

   When in danger, or in doubt --
   Run in circles, scream, and shout.

Then I'd like to cite the Cygwin problem reporting page at
http://cygwin.com/problems.html, which has some useful hints on how to
report problems properly.  For Cygwin/X crashes, it's usually also useful
to provide XWin.log.

Besides the above, lacking the details of the error, it's quite impossible
to help you.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: XFree86 command line installation

2005-07-27 Thread Igor Pechtchanski
Karthik,

Reposting the same question every 24 hours will not get you closer to the
answer.

On Wed, 27 Jul 2005, Rajagopalan, Karthik wrote:

 Hi,

 This is a question about Cygwin-XFree86 installation.

To dispell a myth, there is no such thing as a separate XFree86
installation.  There is a Cygwin installer, named setup.exe, which can be
used to install *any* Cygwin packages, including the Cygwin/X ones.

Which, BTW, makes this question less appropriate for the cygwin-xfree
list, and more appropriate for the main Cygwin list, which is where I'm
redirecting this reply.  Please remove cygwin-xfree from further
discussion unless it comes to Cygwin/X-specific points.

 I am trying to install XFree86 from command line in silent mode without
 any user interface.

Another note: the Cygwin/X implementation has switched from the XFree86
codebase to the X.org codebase a long while ago.  I suspect you want to
install the current versions of the X packages.  Calling them XFree86 is
likely to result in confusion.

 But on using the command structure

 setup.exe -L -R c:\test\xfree86 -q -l c:\cygwin -n -5

 I am seeing the progress bar dialog. Is it not possible to install
 completely in silent mode?

No, it is currently not possible.  The Cygwin installer is a graphical
application.  You can run it in unattended mode, but you cannot tell it to
not create a Window.

That said, there may be other tools that allow opening a GUI application
without a window.  You could use one of those tools to invoke setup.exe,
which will hide the main window.  Before you ask, I'm not aware of any
Cygwin tools that would do this.  I'd suggest checking the MS Knowledge
Base.

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

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: compiling flpsed under Cygwin

2005-07-21 Thread Igor Pechtchanski
On Wed, 20 Jul 2005, Stephen P. Harris wrote:

 - Original Message -
 From: Christopher Faylor [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]

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

 [snip]
 SH: So change the FAQ and the name of the mailing list. Why is
 your sayso tobe considered authoritative and the FAQ dismissed?

 [snip]
 1) You display either ignorance of the FAQ or presume that others
 should regard your interpretation of the FAQ as superior to that doc.

See http://cygwin.com/acronyms/#CGF.

 [snip]
 3) Sombody must be in charge of putting files on the download
 list. So I presume there is at least one person besides me who
 would recognize what the the term compatility file refers to
 when used in the context of X11 library package files. To me,
 your statement demonstrates your personal lack of knowledge.

 [snip]
 Your persistence seems worthy, but your discrimination falls short.
 [snip]
 The problem of the so error message jumped out at you. It didn't need a
 first-level tier help script approach used by technicians of limited
 experience.

 Also I didn't know .so files were forbidden to Cygwin since my
 Apache directory is full of them, installed by Cygwin. So from 0)
 your statement Cygwin/Windows do not use .so files seems

Cygwin/Windows does not use *Linux* .so files.  Copying a *Linux* .so file
to Cygwin and expecting it to work shows total ignorance of what Cygwin is
and how it works (see the What isn't Cygwin section at the top of the
Cygwin web page).

As for the rest of your points, see below.

 [snip]

 1. If you are truly using XFree86 then you're off-topic for this mailing
 list. We don't support XFree86 anymore. Unless you are in charge of this
 list with the power of refuting the FAQ the use of we seems yet another case
 of the we consisting of an X-man with a mouse in his pocket. People with
 little qualification habitually use the term we to hide their inexperience.
 It advertises their feeling of being on insecure ground.

As a matter of fact, he *is* in charge.  See http://cygwin.com/who.html.
FYI, Brian Dessent, whose very valid help you so frivolously dismissed as
first-level tier help script approach, is the maintainer of Cygwin's
apache packages, as well as the Cygwin install program, so he's well aware
of the issues of compiling programs in Cygwin.

 I will be moving on, Stephen

Yes, I think you'd better.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA


Re: compiling flpsed under Cygwin

2005-07-21 Thread Igor Pechtchanski
On Thu, 21 Jul 2005, Stephen P. Harris wrote:

 - Original Message -
 From: Igor Pechtchanski [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]

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

  On Wed, 20 Jul 2005, Stephen P. Harris wrote:
 
   - Original Message -
   From: Christopher Faylor [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
 
  http://cygwin.com/acronyms/#PCYMTNQREAIYR.
 
   [snip]
   SH: So change the FAQ and the name of the mailing list. Why is
   your sayso tobe considered authoritative and the FAQ dismissed?
  
   [snip]
   1) You display either ignorance of the FAQ or presume that others
   should regard your interpretation of the FAQ as superior to that doc.
 
  See http://cygwin.com/acronyms/#CGF.

 I suppose this is an appeal to authority type of argument. I criticized
 the fact that the Cygwin FAQ and CGF's statements contradict each other.
 Do you think mentioning his title erases the contradiction?

It's not his title that is in question here.  The Cygwin project is run by
volunteers.  Chris and Corinna and others make their contributions to
Cygwin on their own time.  There is no official support for Cygwin (unless
you buy a Red Hat license).  So it's quite understandable that
documentation is sometimes incomplete, and that other users contribute
support when and to the extent that they are able.

 It was Chris Faylor who wrote:
 1. If you are truly using XFree86 then you're off-topic for this mailing
 list.  We don't support XFree86 anymore.

 SH: That may be, but how am I to know that? The FAQ says:

 Almost anything related to Cygwin is on-topic here.  Please note,
 that this is not a mailing list for the discussion of general Windows
 topics.  There are many many other places for that on the Internet.

 Also note, that if you are interested in the Cygwin XFree86 project
 which is porting the XFree86 code to Windows, then the correct
 mailing list for this discussion is [EMAIL PROTECTED] 

 SH: I assume then that the FAQ does not need to be amended and
 that Chris Faylor can contradict the FAQ whenever he chooses.

No, the point is that the FAQ *does* need to be amended, but
http://cygwin.com/acronyms/#SHTDI.  Unless someone volunteers their time
to make changes to the FAQ, this isn't going to happen.

 SH: Igor, bring up titles does not refute evidence of a written
 contradiction in policy. Your point about qualifications does nothing to
 rebut my point that the policies are contradictory. Do you think you
 make the point that such contradictions are ok, depending on who makes
 them?

Yes, precisely.  The point I make is that Chris, by the virtue of being
the project leader, is the ultimate authority on all things Cygwin.  If he
contradicts the FAQ, then the FAQ is wrong.  By contradicting it publicly,
the issue is now on the mailing lists, and there is a chance that someone
will volunteer their time to produce the corrections to the FAQ (which,
BTW, Chris does not maintain).

 You are replying to an imaginary issue, his qualifications, rather than
 my point which is that the statements are contradictory.

I do not dispute that his statements are contradictory.  What I was trying
to tell you by showing you his qualifications is that if he contradicts
the FAQ, he's most probably right.

 And so on. I do think CFG should not make statements contradictory to
 the FAQ, or assume the responsibility of editing the FAQ so that it does
 not mislead users; not when you push reading the documentation.

Again, Cygwin is a volunteer-run project.  Until the Cygwin FAQ maintainer
has the time to take CGF's statements and incorporate them into the FAQ,
the FAQ will be out of date.  FAQ updates do happen occasionally, and this
information will likely find its way into the FAQ at some point.  Nobody
knows when.

Cygwin users should try reading the mailing list archives to see if any
documentation is out of date.  If they don't read the archives, they
should not be surprised when FAQ errors are pointed out to them on the
mailing lists.  If they are surprised or offended by the documentation
being out of date, they can return the product for a full refund.

Instead of complaining that the FAQ is out of date, you can help the cause
by coming up with the proper wording and creating a patch against the FAQ
sources (which are publicly available in CVS).  You don't even need a
copyright assignment for this, IIRC.  It would make the FAQ maintainer's
job much easier, and is likely to bring those particular FAQ entries
up-to-date sooner.  If you are unwilling to do that, you cannot demand
that someone else spend their time doing it.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire

Re: How do I add my site as a mirror

2005-07-14 Thread Igor Pechtchanski
This has nothing to do with Cygwin/X.  Redirecting to the main cygwin
list.  Please remove cygwin-xfree from further messages in this thread.

On Thu, 14 Jul 2005, Lisandro Weissheimer wrote:

 What do I have to do to add my website as a mirror?

See http://cygwin.com/mirrors.html, last sentence before Site List.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA


Re: Initial run of BASH doesn't initialize home directory

2005-07-12 Thread Igor Pechtchanski
On Tue, 12 Jul 2005, Thomas Smith wrote:

 I was able to get Cygwin to run without problems and then decided to try
 Cygwin/X to take advantage of X.

 I completely uninstalled Cygwin...

Why?!

 ...as follows:

 - Deleted the Desktop and Start Menu shortcuts.
 - Deleted C:\cygwin
 - Deleted Cygnus Solutions from the Registry.

 I removed all of the downloaded source Cygwin files and started the
 Cygwin/X installer--everything seems to install correctly. The only

There is no such thing as a Cygwin/X installer.  There is a Cygwin
installer which installs the xorg-* family of Cygwin packages.

 non-default packages I select are:

 gcc
 vim
 nano
 inetutils
 openssh
 xorg-x11-base
 xorg-x11-devel
 xorg-x11-man-pages

 When I start the Cygwin Bash Shell for the first, I get dropped to a
 shell prompt and placed in /usr/bin. My Home directory isn't created and
 the general Cygwin environment doesn't work--that is, I'm not able to
 execute any commands. In fact, no files even appear in /usr/bin.

This isn't an X-related problem, and thus belongs on the main Cygwin list.
Please remove cygwin-xfree from further messages.

 I've researched this problem and haven't been able to locate a solution.
 I'm also not sure how to start troubleshooting it.

 Any ideas as to how I can start troubleshooting this problem?

Please read and follow the Cygwin problem reporting guidelines at
http://cygwin.com/problems.html.  Please pay particular attention to the
part that asks you to attach the output of cygcheck -svr.

It might also help to know how you're starting bash.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA


RE: Newbie needs help getting GUI

2005-07-08 Thread Igor Pechtchanski
Ugh, top-posting.  Reformatted...

On Fri, 8 Jul 2005, Peter Urban wrote:

  -Original Message-
  From: [EMAIL PROTECTED]

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

  Subject: Newbie needs help getting GUI
 
  Depending on the desktop environment you have to run different
  programs which startup the GUI:
 
  Gnome: gnome-session
  KDE: startkde
  CDE: dtsession
  X11: ~/.xinitrc
  (this will do the same as startx)
 
  You can start a single program by typing it's name:
 
  $ mozilla
  $ gimp
 
  You can add this to the ssh commandline for easy access:
 
  ssh -Y [EMAIL PROTECTED] gnome-session
 
  This will login and start the remote gnome desktop.
  Please note that running the remote desktop with multiwindow mode will
  result in a strange window layout, so are best used in the windowed
  mode (omiting the -multiwindow parameter).

 Thanks for the quick response! I'm not certain which environment is
 available on the Red Hat machine and I don't have physical access to it.
 It's running Red Hat Enterprise 4.

 I tried 'ssh -Y [EMAIL PROTECTED] gnome-session' and get the
 following...

 (gnome-session:6144): Gtk-WARNING **: cannot open display:

Either run the ssh command from an xterm that pops up when you start X, or
set your DISPLAY in the shell that you run ssh from (i.e., run it as

DISPLAY=:0 ssh -Y [EMAIL PROTECTED] gnome-session

).

 Then, I tried 'ssh -Y [EMAIL PROTECTED] startkde' and get the
 following...

 /usr/bin/startkde: line 70: xsetroot: command not found
 /usr/bin/startkde: line 189: xset: command not found
 /usr/bin/startkde: line 192: xset: command not found
 /usr/bin/startkde: line 202: xsetroot: command not found
 startkde: Starting up...
 ksplash: cannot connect to X server
 kdeinit: Abortin. $DISPLAY is not set.
 Warning: connect() failed: :No such file or directory
 ksmserver: cannot connect to X server
 startkde: Shutting down...
 Warning: connect() failed: :No such file or directory
 Error: Can't contact kdeinit!
 startkde: Running shutdown scripts...
 startkde: Done.

Same as above.

 Is there something that must be configured on the Red Hat workstation?

No, it's your local thing.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA


Re: Help about xorg-x11-fnts

2005-07-07 Thread Igor Pechtchanski
On Thu, 7 Jul 2005, Alireza Ghasemi wrote:

 Hello,
 I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile
 it.There is no typical Makefile and no configure script.Please explain me
 step by step how to compile it and get use of X11 in Cygwin.I have
 downloaded all other needed packages But it is very difficult for me to
 download huge 16 MB xorg-x11-fnts binary file.
 I copied the package to /usr/X11R6/lib/X11/fonts

Don't copy it -- use the Cygwin setup program to install it.

The X.Org X packages use Imakefiles instead of Makefiles -- there's
adequate documentation on X.org.  But read on.

 but again When I try to run X I get error about 'fixed font'.
 What should I do?

Normally, you'd be referred to the Cygwin/X FAQ at
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof.

However, in this case, that would be useless, as you didn't use a
prescribed procedure to install the packages, so anything could be
happening.  This kind of installation isn't (and cannot be) supported on
the Cygwin lists.
Igor
P.S. Your spacebar key seems to be malfunctioning.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Duplication error upon startx with XWin :0; No terminal with XWin :1

2005-07-07 Thread Igor Pechtchanski

On Fri, 8 Jul 2005, Angus Veitch wrote:


First of all, thanks to Alexander and Igor for responding to my last
message. I'm edging my way forward, but haven't seen the light just yet.
I'm still not having much success running startx or xdmcp.  It's even
possible that some of what I am observing is perfectly healthy, and it
is my expectations or understanding of the program that are wrong.
Since I don't know whether all my problems are related, I'll deal with
startxwin.bat in this email and with startxdmcp.bat in the next one.
Sorry for all the logs!

I'm running a freshly downloaded cygwin/x, and am trying to connect WinXP to a
(nearly) freshly installed Linux box running MEPIS.

If I run startxwin.bat with the line XWin :0 -multiwindow -clipboard
-silent-dup-error, I successfully load a terminal, but attempting to run
startx invokes: Fatal server error: InitOutput - Duplicate invocation on
display number: 0.  The full XWin.log follows:
[snip]


If it really is a duplicate invocation on the same window station, you
should have an X icon in your system tray.  You could quit the current X
server, and your new one would come up.


I can't find any other xwin processes running (perhaps I don't know what to
look for),


ps -W | grep -i xwin


but to keep xwin happy, I instead run startxwin.bat with XWin :1
(...etc).  The result is that I get no terminal at all  -- the cygwin/x
window is just a blank grey screen.  The XWin.log follows:

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

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin :1 -multiwindow -clipboard -silent-dup-error
[snip]
winDeinitMultiWindowWM - Noting shutdown in progress
winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT
message, exiting main loop.
winClipboardProc - XDestroyWindow succeeded.

winClipboardIOErrorHandler!

winDeinitMultiWindowWM - Noting shutdown in progress
-

So, my question is: Why is the terminal missing when I run startwinx.bat
with display number :1 rather than :0?


You're basically attempting to start two multiwindow window managers on
the same underlying Windows desktop.  If I understand this correctly, the
multiwindow manager needs some sort of exclusive access to the underlying
Windows interface to delegate all of the window handling, and having more
than one of them makes them interfere with each other.

Try starting the second XWin without the -multiwindow parameter, and see
if it helps.  You don't want -multiwindow for XDMCP anyway.
Igor
--
http://cs.nyu.edu/~pechtcha/
 |\  _,,,---,,_ [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
|,4-  ) )-,_. ,\ (  `'-'Igor Pechtchanski, Ph.D.
   '---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


RE: Cygwin doesn't recognize the Canadian French keyboard

2005-07-07 Thread Igor Pechtchanski
Daniel,

Please make sure your mailer respects the Reply-To: header -- I set it for
a reason.  There was no need to Cc: me -- I read the list.

On Thu, 7 Jul 2005, Daniel Landry wrote:

 On Wed, 6 Jul 2005, Igor Pechtchanski wrote:
 Ah.  I'm going to venture a guess and say that it's not simply an xterm,
 but an xterm running bash[*] that doesn't work, and direct you to
 http://cygwin.com/faq/faq_3.html#SEC48.

 [*] bash uses readline, and, most likely, so does the python interpreter
 environment (top-level?).

 Your guess is right.

At which point this stops being an X-related problem, and is better
discussed on the main list.  I've set the Reply-To: accordingly (though
the xfree list is likely to add another pointing to itself).

 I have followed the link and adapt to my specific need but it seems that
 I have missed something.  Accented characters are printed as if
 convert-meta is set to on.  As an example e (e acute) is displayed as
 \351.

Displayed by what?  If you type echo é at the bash prompt, does that
display properly?  What about echo -e '\0351'?

 These are my home configuration files

 # .bashrc
 ?
  ^
Huh?

 alias less='less -r'
 alias ls='ls -F --color=tty --show-control-chars'
 export LANG=fr
 export LC_ALL=fr_CA
 export LC_CTYPE=iso-8859-1
 export OUTPUT_CHARSET=iso-8859-1
 export LESSCHARSET=iso8859
 setxkbmap ca_enhanced

 # .inputrc
 set meta-flag on  # enable 8-bit input
 set convert-meta off  # don't strip 8-bit characters
 set input-meta on # enable 8-bit input
 set output-meta on# display 8-bit characters correctly

What does bind -v | grep meta show when run from bash?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

Re: Errors: Duplicate invocation and can't find dll's

2005-07-06 Thread Igor Pechtchanski
On Thu, 7 Jul 2005, Angus Veitch wrote:

 I have just installed the X components of Cygwin and am hoping to
 eventually connect with XDMCP to my Linux machine.  But I'm having some
 serious teething problems.

 First, XWin seems to be having difficulty finding the dlls.  If I run
 XWin -query [computer name] I First I get an error message saying that
 it can't find cygwin1.dll.  If I copy that dll file from the cygwin\bin\
 directory into C:\cygwin\usr\X11R6\bin, the error message changes to
 another dll.  If I copy that dll to the X11R6\bin directory, it moves
 onto yet another one that it can't find.

NO, NO, NO!  Please don't do that.  Remove the DLLs you copied and instead
add C:\cygwin\bin to your PATH.

 If I run startxwin.bat instead, I don't get the dll error.

That's because startxwin.bat adds C:\cygwin\bin to the PATH.

 But when I try to run startx, I get:

  winCheckDisplayNumber - Cygwin/X is already running on display 0
 
  Fatal server error:
  InitOutput - Duplicate invocation on display number: 0.  Exiting.

And what's cryptic about that message?  You've already run X on display 0
-- use display 1 if you want another instance.

 If I try startxdmcp.bat, I get a similar result:

  mkdir: Cannot create /tmp/.X11-unix with root ownership
  winCheckDisplayNumber - Cygwin/X is already running on display 0
 
  Fatal server error:
  InitOutput - Duplicate invocation on display number: 0.  Exiting.

Ditto.

 The supposed cause of this error is that I am running two sessions of
 XWin, but that is simply not the case.  I get the same results if I add
 :1 to the batch files.

Is someone else running X on that machine?  Are you using terminal
services?

 Any suggestions?

Hmm, what does ps -W | grep -i xwin show?

 PS.
 This may be relevant: When I installed Cygwin/X, selected all of the X
 components, rather than just the ones that are automatically selected by
 the x-org base package or whatever it was called.  Is this bad?

Shouldn't be.  Please see the Cygwin problem reporting guidelines at
http://cygwin.com/problems.html for the right way of reporting your
installation information (particularly the part about attaching the output
of cygcheck -svr).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


RE: Cygwin doesn't recognize the Canadian French keyboard

2005-07-06 Thread Igor Pechtchanski
Ugh, top-posting.  Reformatted.

On Wed, 6 Jul 2005, Daniel Landry wrote:

 -Message d'origine-
 De:   Daniel Landry
 Date: 6 juillet 2005 16:34
 A:'Alexander Gottwald'; 'cygwin-xfreeatcygwin.com'

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

  -Message d'origine-
  De: Alexander Gottwald
  Date:   6 juillet 2005 14:56
 
   On Wed, 6 Jul 2005, Daniel Landry wrote:
  
Running setxkbmap with each layouts (ca, fr_CA, ca_enhanced) don't
fix the problem.  In all case, the French accents are replaced by
a BEEP and any character is displayed.  However, I can make a cut
and paste from WinXP without any problem.
  
   ca_enhanced uses deadkeys.
   ^,` are deadkeys. pressing ^ and A will compose A
   [snip]
 
  I'm familiar with deadkeys, but they don't work on my Cygwin
  installation.  The e character is a special key that doesn't request
  any deadkey and it doesn't work either.  Using any accented character
  give always the same result: BEEP without any character displayed.
  All other characters seem to work correctly.  I give a try to the fr
  mapping with the same result.  One of my co-workers has also installed
  Cygwin on his computer and he obtained the same results as mine.  I
  made an upgrade this morning to be certain that I'm having the last
  Cygwin version.  If it can help, my computer is a Dell Latitude C840.
  [snip]

 I have found my problem.  I had tried cut and paste functions in Emacs
 but try the new keyboard mapping in Xterm.  In fact, ca_enhanced
 keyboard was working in some application, but not on others.  Emacs,
 vim, nano see well the new mapping.  Xterm and some other applications
 like python interpreter environment don't see it, but I can't make any
 cut and paste with accented character either.  I'll see case by case for
 the configuration of these applications but it is no more a
 keyboard-mapping problem.
 [snip]

Ah.  I'm going to venture a guess and say that it's not simply an xterm,
but an xterm running bash[*] that doesn't work, and direct you to
http://cygwin.com/faq/faq_3.html#SEC48.

HTH,
Igor
[*] bash uses readline, and, most likely, so does the python interpreter
environment (top-level?).
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Numlock and java applications

2005-06-27 Thread Igor Pechtchanski
Wrong list.  Questions about Cygwin/X should be sent to the cygwin-xfree
list.  Redirecting.

On Mon, 27 Jun 2005, Casolaro, Didier wrote:

 Hello,
 I'm developping and testing java application under KDE (3.4.0)
 environment trough cygwing running on Windows XP. If numlock key is
 active, some keys of my keyboard (enter, arrows, numpad keys, backspace)
 don't work any more with any java application.
 Is there any patch anywhere to make java application working properly
 without having to unlock numlock key?

 Thanx for your answer...

AFAIK, no.  But you may get other answers on the cygwin-xfree list.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: 6.8.2.0-2: Shift and control keys don't operate

2005-06-22 Thread Igor Pechtchanski
On Wed, 22 Jun 2005, Ed Greenberg wrote:

 --On Wednesday, June 22, 2005 8:56 PM +0200 Alexander Gottwald
 [EMAIL PROTECTED] wrote:

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

  Ed Greenberg wrote:
 
   Following up my own post. I note while running xev that the shift
   and control keys do not cause events. The xev output window
   indicates all the other keys, but not those.
 
  That's odd. What kind of keyboard do you have? Maybe there are
  programs running which grab some of the keys and translate them to a
  different kind of messages.

 This is a pretty plain vanilla Win XP Prof SP2 installation.

 Can somebody on XP SP2 with a US keyboard please run xev and see if
 shift and control keys generate scancodes?

They do here:

--- Cutting here may damage your screen 
KeyPress event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29187866, (177,177), root:(241,260),
state 0x0, keycode 49 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29188050, (177,177), root:(241,260),
state 0x1, keycode 49 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:

KeyPress event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29188767, (177,177), root:(241,260),
state 0x0, keycode 61 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29188952, (177,177), root:(241,260),
state 0x1, keycode 61 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:

KeyPress event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29190504, (177,177), root:(241,260),
state 0x0, keycode 36 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29190800, (177,177), root:(241,260),
state 0x4, keycode 36 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:

KeyPress event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29191359, (177,177), root:(241,260),
state 0x0, keycode 94 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29191592, (177,177), root:(241,260),
state 0x4, keycode 94 (keysym 0xffe4, Control_R), same_screen YES,
XLookupString gives 0 bytes:

KeyPress event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29194456, (177,177), root:(241,260),
state 0x0, keycode 96 (keysym 0xffea, Alt_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0x101,
root 0x37, subw 0x0, time 29194671, (177,177), root:(241,260),
state 0x8, keycode 96 (keysym 0xffea, Alt_R), same_screen YES,
XLookupString gives 0 bytes:
--- Cutting here may damage your screen 

Left Alt and Fn don't generate any events (Windows intercepts both).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


RE: Mouse button copy/paste not working

2005-06-21 Thread Igor Pechtchanski
On Tue, 21 Jun 2005, Alexander Gottwald wrote:

 Actually the FAQ needs some cleanup. There are a lot of old entries which
 should be moved to a section Removed entries too separate them from the
 active ones but to keep the links and references working.

Alexander, if you're cleaning up the FAQ anyway, you might want to
coordinate with Joshua on the Cygwin-friendly firewalls question (see
http://cygwin.com/ml/cygwin/2005-06/msg00926.html).  Just a heads-up.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Mouse button copy/paste not working

2005-06-20 Thread Igor Pechtchanski
On Mon, 20 Jun 2005, Charles Packer wrote:

 As a Unix veteran but first-time Cygwin user, I've discovered that I
 can't paste selected text with the middle button under these
 circumstances: I have logged into a remote Unix system and start some X

Wrong list.  Please follow-up to cygwin-xfree at cygwin dot com (I've
set the Reply-To: accordingly).

 window from there -- an xterm, say, or xedit. I select text in one of
 those windows (by dragging with the left button down) and then try to
 paste somewhere else in the window. It will paste only if the selected
 text is still highlighted. This is not right; it should have been copied
 to some buffer that is still available to the middle button even if the
 originally selected text is no longer highlighted.

 Oddly enough, the problem doesn't exist with the local Cygwin xterms and
 xedit -- only with those that the remote system creates. For what it's
 worth, the .xinitrc script that Cygwin uses in this installation runs
 xwinclip and then wmaker. The invocation of twm has been commented out.
 When I do a ps, I see that wmaker appears twice.

 Incidentally, occasionally the middle button does worse than merely not
 paste; it kills the window. The error message showing in the main Cygwin
 xterm is: BadAtom(invalid Atom parameter); Major opcode of failed
 request: 18(X_Change Property).

See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read
the whole section).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Mouse button copy/paste not working

2005-06-20 Thread Igor Pechtchanski
On Mon, 20 Jun 2005, Charles Packer wrote:

 Igor Pechtchanski wrote:

  See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read
  the whole section).
  Igor

 Typical Unix-head response (Read the whole book...).

I initially wrote please read the whole section 5 (which is only one
printed page long, BTW), but then omitted the section number because I
thought it was self-evident.  Apparently not.

 There is nothing in the FAQ that deals with this problem. However,
 perusing the Cygwin/X installation instructions, under the section on
 logging on to remote clients, I noticed the suggested ssh command: ssh
 -Y -l username hostdomain. I checked to see what our PC guy had set me
 up with under the alias he had given me: ssh -X -l myname $1. Changing
 -X to -Y made all the difference and solved the problem. Returning to
 the FAQ, there is a question X forwarding does not work does not work
 with OpenSSH under Cygwin

That is the exact question I pointed you to.

 in which the answer I needed is embedded as an afterthought. Suggestion:
 Add to the FAQ a question specifically mentioning the symptoms I
 described.

The symptoms are there (i.e., the BadAtom message).  True, they are not
in the form of a question -- the FAQ maintainer reads this list and I'm
sure will see your suggestion.
Igor
--
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: cyg/lib DLL naming

2005-06-16 Thread Igor Pechtchanski
On Thu, 16 Jun 2005, Peciva Jan wrote:

  As AGO pointed out, searching for libfreetype.dll is non-portable,
  dangerous, and silly.

 Not me, who is doing that, but one large SW open-source library.
 Therefore it is clear, that it have to link with other libraries in the
 system that it is using.

Right, but that doesn't make the current approach any less dangerous,
non-portable, or silly.  You may want to contact the authors of Coin and
let the know about this bug in their code.

 Things turned in to the OS ideas. And I am not interrested in them, I
 want to simply fix the incompatibility between Coin library and Cygwin.

Not quite.  These are dynamic loading ideas.  Building a bridge DLL is
hardly an OS-level thing.

However, I can see your problem, as the code to look up the freetype DLL
is probably hard-wired into Coin, and there isn't much you can do about
it.  As you mentioned, you could use some nasty workarounds (like
providing your own stub libfreetype.dll in your application directory,
which should be found first, and which links to the appropriate freetype
DLL), but eventually Coin should be fixed.

 Coin library is important for us, because we are using it for
 visualization on our university (we are not the authors of the library).

  I think, you are missing the point. This compatibility library breaks the
  compatibility with non-cygwin world (see the previous discussion).
 
  No, I believe *you* are missing the point. [...]

 :-)

 If I skip all offensive words, I have to thank you for the discussion.

You're welcome.  However, my profanity filter is overheating while trying
to find any offensive words in my previous message.  Would you mind
letting me know what they were, so that I could add them to the filter?

Or do you mean If I skip all offensive words that come to mind? :-)

 Let me give you the last question:
 If I understand it correctly, I can not link with cygwin based DLLs
 without a special handling code. Am I true?

In this context (linking from a pure Win32 application), yes, you need to
put some initialization code in (with the latest snapshot, that is).

A rejoinder question, though: if you're buidling a native Win32
application, why not use the native build of freetype as well?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: cyg/lib DLL naming

2005-06-15 Thread Igor Pechtchanski
On Wed, 15 Jun 2005, Peciva Jan wrote:

   our cross-platform application is working on Linux and Windows but
   not on Cygwin when X are installed. The problem has been tracked down
   and as a result: What is the reason for naming
   /usr/X11R6/bin/libfreetype.dll and not cygfreetype.dll ?
  
   This is an old library from the XFree86-dll-compat package and the
   package is only required by program which have not been updated to the
   naming structure which is used for over year now.
 
  Thanks for the response. I am glad that cyg prefix is planned to be used
  everywhere. However, can you give me some hints when will be the package
  or the DLL probably removed?
 
  Why do you care?  It's a *compatibility* library, there for *old*
  executables. If you link with freetype now, the new DLLs should be used
  automatically.

 I think, you are missing the point. This compatibility library breaks the
 compatibility with non-cygwin world (see the previous discussion).

No, I believe *you* are missing the point.  As AGO pointed out, searching
for libfreetype.dll is non-portable, dangerous, and silly.  If you wish to
use freetype, why not link with an appropriate import library and let it
pick up the known DLL?  If you want to do this conditionally, you could
even create a bridge DLL, and load *that* via the dlopen() calls.

 Therefore, I was asking, WHY is it prefixed lib* and not cyg*

Because that was the convention the maintainer chose at the time.

 and WHEN will it be removed to get this bug fixed.

Probably never.  Again, *this is not a bug*.  If this breaks your
application, it's a bug in your application, which is non-portable and
will need to be fixed.

 Anyway, I know, that it may take some time to get the things happen.

An indefinite amount of time.  Even if TeXmacs gets recompiled to use the
newer libfreetype packages, the compatibility library will probably still
be around, since many unofficial packages may depend on it as well.  It
won't be installed by default, but you can't count on any particular
machine not having that DLL.

 I should probably consider some nasty workarounds.

Yes, you should.  Except, as I suggested above, they need not be
particularly nasty.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: cyg/lib DLL naming

2005-06-15 Thread Igor Pechtchanski
On Mon, 13 Jun 2005, Peciva Jan wrote:

 [snip]
 (*) I am expecting that I have understood it well, that I can not link MSVC
 compiled applications and cygwin-gcc compiled DLLs.

And this is not completely true anymore either.  There were some fixes in
the recent snapshots of Cygwin that allow cygwin1.dll to be loaded
dynamically from elsewhere (see the cygwin-patches archives for the
discussion).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: cyg/lib DLL naming

2005-06-14 Thread Igor Pechtchanski
On Tue, 14 Jun 2005, Peciva Jan wrote:

  our cross-platform application is working on Linux and Windows but
  not on Cygwin when X are installed. The problem has been tracked down
  and as a result: What is the reason for naming
  /usr/X11R6/bin/libfreetype.dll and not cygfreetype.dll ?
 
  This is an old library from the XFree86-dll-compat package and the
  package is only required by program which have not been updated to the
  naming structure which is used for over year now.

 Thanks for the response. I am glad that cyg prefix is planned to be used
 everywhere. However, can you give me some hints when will be the package
 or the DLL probably removed?

Why do you care?  It's a *compatibility* library, there for *old*
executables.  If you link with freetype now, the new DLLs should be used
automatically.  All you need is the libfreetype2-devel package, as well as
libfreetype26 (the runtime).  Note that libfreetype26 contains
cygfreetype-6.dll.

However, to answer your question, the compatibility packages are usually
around until the last application using them switches to linking with the
new runtime.  Since there's no way to know when that happens (because
others may have unofficial applications), the DLLs stay around practically
forever.  Now that the Cygwin Time Machine is operational, though, this
may change.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: xterm and right click and 'print window'

2005-06-09 Thread Igor Pechtchanski
On Thu, 9 Jun 2005, J. David Boyd wrote:

 Igor Pechtchanski [EMAIL PROTECTED] wrote:

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

  On Wed, 8 Jun 2005, J. David Boyd wrote:
 
  Has anyone found a way to make this feature work, on any version of
  windows, with any printer?
 
  This works for me.  WinXP, networked printer.  As long as the PRINTER
  variable is exported.
 
  I've had no luck so far, and am grasping for clues.
 
  I've defined my $PRINTER as //quantex2/hplaserj, which prints okay
  from windows, but not cygwin.
 
  Open a regular bash window (no X), and type echo $PRINTER.  If that
  prints the correct thing, try bash -c 'echo $PRINTER'.  If that
  works too, type xterm -display 127.0.0.1:0, and from that xterm type
  echo $PRINTER.  If you see the correct printer in all 3 cases, the
  Print Window command should work (it does for me).
 
  Alternatively, since all xterm does is pipe stuff to lpr, does lpr -P
  //quantex2/hplaserj /etc/passwd print /etc/passwd to that printer
  (just to make sure lpr works)?
   Igor

 All the variable expansion looks fine, so maybe it is an lpr problem.

 When I try the command line

 lpr -P //quantex2/HPLaserJ /etc/passwd

 I get the error printer name is invalid.

 When I go back to what my profile set up, which is
 HP LaserJet 6P, I actually get output.  I was thinking all along
 that I couldn't use that name, but perhaps cygwin's lpr has been
 patched to use the windows resource name?

lpr interacts directly with the print spooler, so whatever name is used
for the printer in Windows, lpr will also use.

 I also noticed that nothing came out of the printer until I
 sent another file...

That may be because your driver needs to be set up to send a FF after each
job.  There may be an lpr option for that as well, not sure.

 And, are you setup for DOS endings or Unix?

Unix, of course.  But it doesn't matter for lpr -- it's all pipes anyway.

 So, I can print from the command line.  But, after closing my
 terms and opening some new ones (just to be sure I have the correct
 environment), and verifying that $PRINTER is still HP LaserJet 6P,
 I get nothing from 'Print window', and I don't see any errors.
 I wonder if there is a log somewhere that I can peruse.

If you start an xterm from a bash console window, all error messages from
that xterm go into the console window.  Otherwise, you can redirect the
stdout/stderr of the xterm to a file.

 Anyway, thanks for the help. I guess I won't worry about it
 for now.  I can always do an Alt-PrtScn and paste it
 somewhere to print it.

It would be interesting to find out why your config doesn't work.  Do you
have PRINTER set in the global Windows environment?  How do you start your
xterm?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: xterm and right click and 'print window'

2005-06-08 Thread Igor Pechtchanski
On Wed, 8 Jun 2005, J. David Boyd wrote:

 Has anyone found a way to make this feature work, on any version of
 windows, with any printer?

This works for me.  WinXP, networked printer.  As long as the PRINTER
variable is exported.

 I've had no luck so far, and am grasping for clues.

 I've defined my $PRINTER as //quantex2/hplaserj, which prints okay
 from windows, but not cygwin.

Open a regular bash window (no X), and type echo $PRINTER.  If that
prints the correct thing, try bash -c 'echo $PRINTER'.  If that works
too, type xterm -display 127.0.0.1:0, and from that xterm type echo
$PRINTER.  If you see the correct printer in all 3 cases, the Print
Window command should work (it does for me).

Alternatively, since all xterm does is pipe stuff to lpr, does lpr -P
//quantex2/hplaserj /etc/passwd print /etc/passwd to that printer (just
to make sure lpr works)?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Cygwin Fonts

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Bharat Ruparel wrote:

 Hello Igor,

 I got your contact information while searching through Google and
 looking for an answer to my quest for using Fonts in cygwin or more
 correctly Cygwin/X.  I must admit that I am new to Cygwin and I don't
 know much about xwindows except that I have worked within the Solaris
 environment using the Hummingbird Exceed software quite a bit.

Bharat,

Sending Cygwin-related questions by personal mail is frowned upon in the
Cygwin community.  Questions about Cygwin are usually best sent to one of
the Cygwin mailing lists (in this case, the cygwin-xfree list -- see
http://cygwin.com/lists.html#available-lists).  Not only will you get
access to more expertise than any one person could provide, but your
questions and the answers to them will be archived on the web for others
to find.

For your convenience, I'm Cc'ing this reply to the appropriate list, and
setting Reply-To accordingly.

 I was trying to use Nedit editor in the Cygwin environment since that is
 what I was used to at my previous job.  To my joy, I found it in the
 Cygwin installation.  However, I have a problem using it in the Cygwin
 program. The fonts that I get when I execute startx are painfully
 small for a 50 year old like myself.  I am trying to make them bigger
 and have trouble understanding what needs to be done from the
 documentation that I see on the Cygwin site.  Could you help me out by
 giving instructions in simple steps that I can use to accomplish this
 task?

If you're asking how to change fonts in nedit, I'd say the Nedit
maintainer would be a better person to answer this.  If it's the font size
of the initial xterm that bothers you, right-click on the xterm window
while pressing the Ctrl key, and select Huge from the fonts menu that
pops up.  You can also edit the .Xdefaults file in your home directory and
add the following line to it:

XTerm*VT100*font: 10x20

This changes the default font to something larger (the one that you get
with Huge, in fact).

HTH,
Igor
P.S. The cygwin-xfree list sets the Reply-To to the list address
automatically, so you may want to subscribe to cygwin-xfree to make sure
you haven't missed any replies...
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


RE: Cygwin Fonts

2005-06-06 Thread Igor Pechtchanski
Ug.  Top-posting...  Reformatted.

On Mon, 6 Jun 2005, Bharat Ruparel wrote:

  -Original Message-
  From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 06, 2005 11:46 AM
  To: Bharat Ruparel
  Cc: [EMAIL PROTECTED]

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

  Subject: Re: Cygwin Fonts
 
  On Mon, 6 Jun 2005, Bharat Ruparel wrote:
 
   Hello Igor,
  
   I got your contact information while searching through Google and
   looking for an answer to my quest for using Fonts in cygwin or more
   correctly Cygwin/X.  I must admit that I am new to Cygwin and I don't
   know much about xwindows except that I have worked within the Solaris
   environment using the Hummingbird Exceed software quite a bit.
 
  Bharat,
 
  Sending Cygwin-related questions by personal mail is frowned upon in the
  Cygwin community.  Questions about Cygwin are usually best sent to one of
  the Cygwin mailing lists (in this case, the cygwin-xfree list -- see
  http://cygwin.com/lists.html#available-lists).  Not only will you get
  access to more expertise than any one person could provide, but your
  questions and the answers to them will be archived on the web for others
  to find.
 
  For your convenience, I'm Cc'ing this reply to the appropriate list, and
  setting Reply-To accordingly.
 
   I was trying to use Nedit editor in the Cygwin environment since that is
   what I was used to at my previous job.  To my joy, I found it in the
   Cygwin installation.  However, I have a problem using it in the Cygwin
   program. The fonts that I get when I execute startx are painfully
   small for a 50 year old like myself.  I am trying to make them bigger
   and have trouble understanding what needs to be done from the
   documentation that I see on the Cygwin site.  Could you help me out by
   giving instructions in simple steps that I can use to accomplish this
   task?
 
  If you're asking how to change fonts in nedit, I'd say the Nedit
  maintainer would be a better person to answer this.  If it's the font size
  of the initial xterm that bothers you, right-click on the xterm window
  while pressing the Ctrl key, and select Huge from the fonts menu that
  pops up.  You can also edit the .Xdefaults file in your home directory and
  add the following line to it:
 
  XTerm*VT100*font: 10x20
 
  This changes the default font to something larger (the one that you get
  with Huge, in fact).
 
  HTH,
  Igor
  P.S. The cygwin-xfree list sets the Reply-To to the list address
  automatically, so you may want to subscribe to cygwin-xfree to make sure
  you haven't missed any replies...

 Hello Igor,
 My apologies for sending you a question by personal email, I simply didn't
 know any better.  From now on, I will post my question cygwin-xfree list as
 you indicated.

Bharat,

No need to apologize.  Proper netiquette is different in different
online communities.  No way to know them all...

Also, please review the available Cygwin lists for future posting.  This
list (cygwin-xfree) is for questions that relate to Cygwin/X.  If you have
general Cygwin questions, please use the main Cygwin list.

 Thanks for the tip, I was looking to make the fonts in the initial xterm
 window and what you just told me works great!  It would be nice if these
 things were included in the documentation section somewhere on the Cygwin
 site.  It is a great product which people like myself could benefit from if
 the information was a bit easier to find.

FYI, this information was in no way Cygwin-specific.  A Google search for
xterm fonts finds lots of recipes for this in the first page of matches.

For this kind of information, the Cygwin/X FAQ is a good place to look.
The commands I listed come almost directly from the xterm man page (see
the RESOURCES section and the fontMenu part of the MENUS section).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Displaying remote Xclients without server window

2005-06-02 Thread Igor Pechtchanski
On Thu, 2 Jun 2005, Stephan Wehner wrote:

 I'm thinking about setting up an X server on a Windows machine without
 the server window itself.

 I want an xterm running on the remote (e.g. Linux) machine to be
 visible on my local machine as its own window, which can be moved
 around, minimized, resized etc. on the Windows machine just like any
 other Windows application window. Then, if I run e.g. ghostview in
 that xterm, the new window appears on my Windows machine.

You must be thinking of multiwindow mode.  This is already the default in
the latest versions of the xorg-x11 packages.  Just run startx or
startxwin.sh, or use the -multiwindow parameter when invoking XWin.

On the off chance you want to run your own window manager and still not
see the root window, try the -rootless parameter instead.

There are also display forwarding issues (e.g., via ssh), but you'd have
those even with the root window.

 In addition, these remotely running windows show up separately on my
 Windows taskbar.

Yep, definitely multiwindow. :-)

 Plus, available remote applications appear in the Windows
 Start Menu automagically, and when launched run on the remote machine,
 but display on the Windows machine. (The user sees no difference,
 except maybe for authentication)

 Is it already possible with existing (cygwin) code? Or other packages?

Heh.  That's something you'd have to do yourself.  You can create a
Windows shortcut that starts the X server, and then starts an xterm on the
remote machine with DISPLAY set appropriately.  FWIW, I found that it's
usually better to run a local xterm that runs ssh instead of running a
remote xterm over ssh (as you said, the user sees no difference).  In case
you're interested, here's the command line for my shortcut (I don't check
for a running X server -- I leave that as an exercise for the reader):

c:\cygwin\bin\run.exe /bin/bash --login -c /usr/bin/xterm -display 127.0.0.1:0 
-bg '#ff' -fn 10x20 -rw -cu -si -sk -sb -sl 5000 +cn -T 'Remote xterm' -n 
'Remote xterm' -e /usr/bin/ssh -C -X -2 [EMAIL PROTECTED] 

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: sshd and X

2005-05-25 Thread Igor Pechtchanski
On Wed, 25 May 2005, Boaz Harrosh wrote:

 Alexander Gottwald wrote:

  Maybe ssh -v -v -v wil give you a clue what is happening.

 Right!! try running sshd in a consul in the foreground. (Check what switch
 makes it run in the foreground (-d?))

Both -D and -d do (Cygwin's ssh-host-config uses the -D option for the
service).  -d is much more verbose (into the system log, which by default
is the Windows Event Log), and will only accept one connection.

 Than see what prints you have.
 If this works it is not the end. SYSTEM user is different than the
 foreground user, sshd is very picky about permissions been to low or to
 high.

You can run sshd from a SYSTEM-owned shell (Google for system owned shell
shortcut).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: rxvt in search of libX11.dll

2005-05-20 Thread Igor Pechtchanski
On Fri, 20 May 2005, Didier BRETIN wrote:

 Hello,

 I have installed some X11 packages and the 'startx' is working.
 I have xterm.

 But when I want to launch 'rxvt' it says to me that it doesn't
 find libX11.dll.

As I understand it, rxvt will first look for cygX11-6.dll, which is in
xorg-x11-bin-dlls, and only then for libX11.dll (which is in
XFree86-lib-compat).  The fact that it doesn't find cygX11-6.dll probably
indicates that you don't have /usr/X11R6/bin in your PATH.  However,
without the system information requested in the Cygwin problem reporting
guidelines at http://cygwin.com/problems.html, the above is just a
guess.

 I launch a find / -name 'libX11.dll'  on my cygwin installation
 and this file is not existing.

 What is the package for this library I need to install ?

The answer to which package should I install to get file A almost always
involves the Cygwin package search page at http://cygwin.com/packages.
A search for libX11.dll there points to the XFree86-lib-compat package.
However, as I said, you probably just need to add /usr/X11R6/bin to your
PATH.

One other point: rxvt has a Windows native mode, which doesn't require a
running X server.  You can invoke rxvt with -display :0 to get the
Windows native mode (it uses libW11.dll, which comes with the rxvt
package, and doesn't need X installed).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Cannot connect to a Sun server using xterm

2005-05-04 Thread Igor Pechtchanski
On Wed, 4 May 2005, a12 wrote:

 Alexander Gottwald skrev:

  On Wed, 4 May 2005, a12 wrote:
 
   Pardon my ignorance, but what am I supposed to do to solve the
   problem ?
 
  Start XWin.

 Which means: use XDMCP  don't use xterm.
 Please correct me, if I am wrong.

You're wrong.  It means exactly what it says: run startx (or
startxwin.bat, or start XWin.exe ..., or any of your favorite methods
for starting the X server on your local machine) before running ssh -X/Y.

And please don't top-post.  Thanks.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: rdesktop build on cygwin gone wrong

2005-05-03 Thread Igor Pechtchanski
On Tue, 3 May 2005, jose isaias cabrera wrote:

 Thanks Dave, that worked perfectly.

 Just a little note for the folks out there like me... :-)

 I couldn't find patch, so I re-ran the cygwin setup.exe again and found the
 patchutils on the Devel Category. :-)

The patch utility is part of the (surprise, surprise) patch package.
Luckily for you, the patchutils package depends on the patch package,
so setup installed it for you at no extra cost.

For the future, if you need to find out which package contains a
particular utility, use the Cygwin package search page at
http://cygwin.com/packages/.  It usually helps to append .exe to the
name of the executable, or prepend bin/ to it (the .exe trick doesn't
work for symlinks and shell scripts).

 However, I couldn't find autoreconfig,

Hmm, let's see: http://cygwin.com/packages/, type in bin/autoreconf,
hit Go, and voila -- Found 6 matches for bin/autoreconf.  I'll let you
actually perform the above to find out which packages contain it.

 so I just,

 rm -rf rdesktop-1.4.0
 tar -xvf rdesktop-1.4.0.tar
 cd rdesktop-1.4.0
 patch -p1  ../rdesktop.patch
 ./configure
 make
 make install

 and I have rdesktop 1.4.0.

 thanks Dave.

 josé

 - Original Message -
 From: jose isaias cabrera [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]

Ehm, http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

Re: Problems with arrow keys and delete

2005-04-23 Thread Igor Pechtchanski
On Fri, 22 Apr 2005, Thomas Dickey wrote:

 On Fri, 22 Apr 2005, Alexander Gottwald wrote:

  On Fri, 22 Apr 2005, Thomas Dickey wrote:
 
   iirc, NumLock would simply prevent the key from being recognized.
  
   The description above hints that the application doesn't expect to
   see the 2 which is sent to denote that the shift-key is pressed.
 
  Ah, yes. I noticed similar behaviour with fvwm and desktop switching
  on shift-alt-arrow_key which did not work if numlock was switched on.
  It then produced just 4C in xterm (2C with shift, 3C with alt).

 I'm not sure what would make the ESC [ lost.

A shell with the wrong TERM setting would interpret ESC [ as Meta-[, and
treat the rest of the sequence as separate characters.
Igor

 Just checking here, if I set NumLock (and am using cygwin), I don't see xterm
 lose that information.  With xterm #198 (which shouldn't be different - this
 code is not that recent), I'm seeing things like

   ESC [ 1 ; 2 A

 whether or not NumLock is set.

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Antwort: Re: Antwort: Re: downgrade a 5-button- to a 3-button-mouse

2005-04-19 Thread Igor Pechtchanski
On Tue, 19 Apr 2005, Hermann-Josef Beckers wrote:

 cygwin-xfree-owneratcygwindotcom schrieb am 18.04.2005 18:54:11:

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

  I've placed a small program on
  http://www.tu-chemnitz.de/~goal/xfree/msgtest.exe which will dump the
  messages to the console. Please run it and report what it prints when
  pressing the onscreen keys and what it reports when pressing the
  physical key.

 Attached two files:

 keyboard.out contains the messages, when entering F6 via the attached
 keyboard.
 menu.out contains the messages generated by clicking the button
 labeled F6 in the panel.

 NB. I had a problem in using msgtest.exe from a bash prompt.
 The X server was active, but no window appeared and msgtest.exe
 didn't spew any messages. I had to start a xterm from the bash
 prompt and then start msgtest.exe.

In bash, you needed to say

DISPLAY=127.0.0.1:0.0 msgtest

In an xterm, the DISPLAY is already set.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Checked on FAQ but..

2005-04-13 Thread Igor Pechtchanski
On Wed, 13 Apr 2005, Samuel Wang wrote:

 Please help with this error message;

 $ startx
 [snip]
 cat: /cygdrive/c/Documents and Settings/swang/.Xauthority: No such file or 
 directory

This is spurious.

 [: and: unknown operand
 [: and: unknown operand

These are due to spaces in your $HOME.  As a workaround, use $HOME with no
spaces in it (see the FAQ), but the startx script *should* be fixed.

FWIW, I submitted fixes for it a while ago -- I wonder if they made it
into the current version, or if this was a problem I didn't cover...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


RE: Multiple XWin.exe programs loading and no xterm

2005-04-08 Thread Igor Pechtchanski
On Fri, 8 Apr 2005, Phil Betts wrote:

 IIRC, there was talk a while back of making the multiwindow manager an
 external client.  I don't know if anythng has been done in this
 direction, but if this were done, there would at least be a consistent
 startup for all WMs.

There is an external MWWM client, but, IIRC, it doesn't work too well ATM.
Kensuke would be the best person to talk about it, I guess...

 An alternative that I've not seen raised before: I was wondering if it
 would be possible to run XWin as a Windows service (presumably via
 cygserver).

Services are run by 'cygrunsrv', not 'cygserver'.  'cygserver' provides
Unix shared memory and IPC services for Cygwin.

 The upside is that it would probably make more sense to those coming to
 X from a Windows background.  The downside is that there are so many
 different ways to start X (i.e. local/remote, multiwindow/external WM
 etc.) that you'd still need to support the traditional startup methods.

Well, I don't recall if XWin has a way of selecting the next available
display (I do know it's not on by default, even if it exists), but that
would be pretty much a must in coping with an X service when one needs to
also start an XDMCP query, for example.

 I know zip about the issues involved in running as a Windows service,
 but if it's simple, it may be something to consider, perhaps as a
 default installation.

It's pretty simple to start a program as a service.  One wouldn't want to
have it as a default option, certainly, but a config script akin to that
of other service packages (e.g., cron, openssh, cygserver, etc) that
*installs* such a service for the user to start would be very useful.

 As a sidenote, historically (IMHO), X startup has been a bit of a
 mess.  A lot of old X servers were started by running X and a WM in
 the background, then running xterm as a foreground task, just to
 enable switching (or more likely restarting) window managers.  If they
 inadvertently closed the initial xterm, the poor user was stuffed!  I
 know - I was that user!

It would be trivial to write a keepX program that connects to the server
and does nothing (but is a client, so X stays around even if no other
clients are present).  If such a program were contributed to the xorg
packages (or, better yet, the upstream X distribution), the default
xinitrc could invoke it in the background before the xterm.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: always-on-top bug

2005-03-29 Thread Igor Pechtchanski
On Mon, 28 Mar 2005, Jack Tanner wrote:

 Igor Pechtchanski wrote:
   The splashscreen of an app being displayed over ssh X11 forwarding stays
   on top of other windows instead of going to background when I select a
   Windows window. Normally, I would've never noticed this since
   splashscreens usually whiz by, but I was on a slow connection, and this
   was very noticeable.
 
  Was this in multiwindow mode, or in rootless/rooted mode?  If the former,
  then AFAIU this is expected behavior -- the windows are managed by the

 Yes, this was in multiwindow mode. But multiwindow mode doesn't use the
 internal Windows window manager, does it? I had thought it used an
 emulation of it that tried to be as similar as possible.

As Alexander said, multiwindow mode is a thin layer on top of the internal
Windows window manager.  All of the X hints and attributes (like
always-on-top) are translated to the corresponding Windows hints and
attributes by the multiwindow layer.

 A native Windows OpenOffice.org starts with a splashscreen that I can
 send to the background by clicking on a different window. An
 X11-forwarded OOo starts with a splashscreen that stays on top no matter
 what. Does this mean that the Windows OOo doesn't draw its splashscreen
 with an always-on-top instruction?

Possibly.  You'd need to look at the source to find that out.  They do use
different windowing libraries, so I wouldn't be surprised if the code that
deals with splash screens is radically different...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Missing libs when compiling GTK+ code

2005-03-27 Thread Igor Pechtchanski
On Sun, 27 Mar 2005, Radek Vokal wrote:

  On Sat, 26 Mar 2005, Radek Vokal wrote:
 
   On Sat, 26 Mar 2005 20:26:36 +0100, Gerrit P. Haase [EMAIL PROTECTED] 
   wrote:
 
  http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.
 
Radek Vokal wrote:
   
 I'm trying to compile my project under Cygwin/X and faced several
 problems. The first one was missing libXrender.la file. Thanx to this
 mailing list I've solved this issue but right after fixing this the
 makefile reports:

 gcc.exe: /usr/lib/libgpg-error.dll.a: No such file or directory
 [snip]
 gcc.exe: /usr/lib/libiconv.dll.a: No such file or directory
 make[2]: *** [myproject.exe] Error 1
 etc.

 Strange that all these files are present in these directories. Am I
 missing some PATH configuration or ldconfig stuff?
   
Just a guess: what about the permissions on these files?
Can you do `ls /usr/lib/libiconv.dll.a` as the same user who issues
the make command?  How looks the link command used?
  
   This looks fine. Does permission really mather in Cygwin anyway? I see
   all these listed files, ls -l /usr/lib/libiconv.dll.a says
  
   -rwxr-x---+ 1 rat Users 7630 Jul  6  2004 /usr/lib/libiconv.dll.a*
  
   which seems to be ok.
 
  Does it help if you run gcc with CYGWIN=notraverse?
  Igor
  --

 I think I do sth wrong. I started with helloword example trying to
 compile it with

 gcc -mms-bitfields -mno-cygwin -mwindows helloworld.c -o helloworld.exe 
 `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`

 but I get several errors starting with

 helloword.c:1:21: gtk/gtk.h: No such file or directory

 which looks really supicious. When I try to locate gtk.h file I find it in
 /usr/include/gtk-1.2/gtk/gtk.h
 /usr/include/gtk-2.0/gtk/gtk.h

Brian is correct in that -mno-cygwin will make gcc look for the header
files, etc, in different places.  However, since your original e-mail
mentioned link errors rather than missing include file errors, and the
missing libraries are in the standard Cygwin locations, I'm assuming you
originally tried to use gcc without -mno-cygwin.  FWIW, it might be a good
idea to drop -mwindows as well...

 Igor, what does it mean CYGWIN=notraverse?

It means to add notraverse to the value of the CYGWIN environment
variable before running gcc.  In bash, you can do it all on one line,
e.g.,

CYGWIN=$CYGWIN notraverse gcc ...

This expands on Gerrit's question about permissions.  You may have
too-strict permission settings on some directories.  Newer Cygwin versions
by default check not only the permissions on files, but also the
permissions on all the directories in the path that is traversed to reach
those files.  The notraverse setting turns off this checking.

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: always-on-top bug

2005-03-27 Thread Igor Pechtchanski
On Sun, 27 Mar 2005, Jack Tanner wrote:

 The splashscreen of an app being displayed over ssh X11 forwarding stays
 on top of other windows instead of going to background when I select a
 Windows window. Normally, I would've never noticed this since
 splashscreens usually whiz by, but I was on a slow connection, and this
 was very noticeable.

Was this in multiwindow mode, or in rootless/rooted mode?  If the former,
then AFAIU this is expected behavior -- the windows are managed by the
native Windows window manager, and any always-on-top hints are translated
to the Windows always-on-top attribute, which makes your window *really*
stay on top of others.  If the latter, does it make other X windows stay
on top of the Windows windows?  If so, this sounds like a bug.  If not, I
can't see how this is possible, as the rootless mode is implemented via
one large window with transparent areas, IIRC.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Fwd: GLXUnsupportedPrivateRequest error with Xwin_gl.exe

2005-03-26 Thread Igor Pechtchanski
On Fri, 25 Mar 2005, David Cameron wrote:

 However, Gazebo now dies immediately after with the cryptic message
 Bad System Call:
 $ gazebo.exe example.world
 *** Gazebo 0.5.1 ***
 using display [127.0.0.1:0.0]
 rendering: [GLX offscreen] direct [no] RGBA [8 8 8 8] depth [16]
 Bad system call

I know nothing about Gazebo, but the Bad system call message is usually
an indication that cygserver is not running when an application invokes
either shared memory or IPC functionality.  See
/usr/share/doc/cygserver.README.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Missing libs when compiling GTK+ code

2005-03-26 Thread Igor Pechtchanski
On Sat, 26 Mar 2005, Radek Vokal wrote:

 On Sat, 26 Mar 2005 20:26:36 +0100, Gerrit P. Haase [EMAIL PROTECTED] wrote:

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

  Radek Vokal wrote:
 
   I'm trying to compile my project under Cygwin/X and faced several
   problems. The first one was missing libXrender.la file. Thanx to this
   mailing list I've solved this issue but right after fixing this the
   makefile reports:
  
   gcc.exe: /usr/lib/libgpg-error.dll.a: No such file or directory
   [snip]
   gcc.exe: /usr/lib/libiconv.dll.a: No such file or directory
   make[2]: *** [myproject.exe] Error 1
   etc.
  
   Strange that all these files are present in these directories. Am I
   missing some PATH configuration or ldconfig stuff?
 
  Just a guess: what about the permissions on these files?
  Can you do `ls /usr/lib/libiconv.dll.a` as the same user who issues
  the make command?  How looks the link command used?

 This looks fine. Does permission really mather in Cygwin anyway? I see
 all these listed files, ls -l /usr/lib/libiconv.dll.a says

 -rwxr-x---+ 1 rat Users 7630 Jul  6  2004 /usr/lib/libiconv.dll.a*

 which seems to be ok.

Does it help if you run gcc with CYGWIN=notraverse?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Corrupted overlapping pull-down menus

2005-03-14 Thread Igor Pechtchanski
On Sat, 12 Mar 2005, Matthew Johnson wrote:

 [snip]
   I don't know exactly what version of Cygwin I'm using (how can I
   tell?),

 You can tell by opening a Cygwin shell and typing, cygcheck --version.

No.  The output of cygcheck --version has *very little correlation* with
the installed version of Cygwin.  The way to find out the version of
Cygwin you're using is the same as that of finding out the version of
Linux (or any other Unix) that's being used: uname -r.  The installed
version of Cygwin (and other packages) is also part of the output of
cygcheck -svr.

 In fact, it is a oftne a really good idea to run cygcheck -svr 
 cygchout and attach the file 'cygchout' to email to this list, since
 many people can spot the problem right away from that output.

The output of cygcheck -svr provides information about the Cygwin
installation.  Sometimes there are configuration issues that result in
certain symptoms, and having that output available can help either confirm
or rule out those configuration issues as the cause of the poster's
symptoms.

OTOH, there are many guidelines for posting Cygwin-related questions to
the lists, all of which are listed at http://cygwin.com/problems.html.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: launch server x without startx command

2005-02-16 Thread Igor Pechtchanski
On Wed, 16 Feb 2005, Alexis Cothenet wrote:

 Hi all,

 I'm working using Cygwin XFree86. I'd like to avoid to type
 startx each time i click on the cygwin icon (lazy attitude;-)
 in a such way i could work directly in the X shell when i click on it.
 I have seen http://www.cygwin.com/ml/cygwin-xfree/2004-01/msg00476.html (
 tried with my own ip)
 but it doesn't work for me.
 i'm working with tcsh shell.
 Maybe there is a place where i could launch the startx script ?

 Does someone know how i could manage that ?

Alexis,

In exactly what way doesn't it work for you?  Does the X server produce an
error, or do X clients report that no server is detected?

If the latter, make sure you have DISPLAY=localhost:0.0 in your
environment, otherwise the X apps won't know about the X server.

If the former, please post the exact command you're trying to add.  FWIW,
in the newer versions of Cygwin, you may be better off with using setsid
XWin [options] instead of XWin [options] .  One typo in the message
you referred to is that xwin is lowercase, while the executable is named
XWin, but on most systems this shouldn't matter.

An alternative solution that was discussed (but I'm not aware of any
resolution) is to write a script that conditionally starts the X server if
it's not already running, and kick it off in every X client shortcut.
Igor
P.S. Of course, there's always http://cygwin.com/problems.html.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: F1 F4 do not work with xwin-6.8.1.0-10

2005-02-07 Thread Igor Pechtchanski
On Mon, 7 Feb 2005, Ehud Karni wrote:

 The problem: F1 and F4 don't work with xwin-6.8.1.0-10.
 Temporary workaround - using xmodmap:
 xmodmap -e keycode 208 = 0xffbe  # set F1
 xmodmap -e keycode 211 = 0xffc1  # set F4

 Notes:
 It seems that the problem caused by the keycodes assigned to F1 and F4.
 They should have been on keycodes 67 / 70 but they are on 208 / 211.

 I did not have this problem with any previous version of Xwin.
 (i.e. xwin-6.8.1.0-9 or before).

 uname -a:
 CYGWIN_NT-5.1 p4-1700-xp 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown 
 unknown Cygwin

 Below are the `xev' output and XWin.log
 [snip]

The obvious question: is your NumLock on?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: resolution smaller than application

2005-01-25 Thread Igor Pechtchanski
Yuk, top posting...  Reformatted.

On Tue, 25 Jan 2005, Mordechai_Pniel wrote:

  Igor Pechtchanski [EMAIL PROTECTED]
  25/01/2005 21:02
  Please respond to cygwin-xfree

Again, http://cygwin.com/acronyms/#PCYMTNQREAIYR (Please configure your
mailer to not quote raw e-mail addresses in your replies).  We have enough
spam out there as it is.  This *is* possible even in Lotus Notes (at least
it is in R6).  Also, please make sure your mailer respects the Reply-To
header.

  On Tue, 25 Jan 2005, Mordechai_Pniel wrote:
 
On Mon, 24 Jan 2005, mpniel wrote:
   
 My Windows Xp resolution is smaller than the real Xwindows
 application resolution that i am running.
 So i get only a section of the Xwindows screen application.
 Is it possible to get all the real Xwindows screen on my Windows
 XP?
 
  BTW, what is the size of your X application?  When you imply that it
  doesn't fit on the XP screen, and then say that you set your X window size
  to be the same as your XP screen, it's pretty confusing...

You still didn't answer this one.

  I'm going to assume for the rest of this message that your X application
  is 1280x1024.
  [snip]
  So, to summarize, try
 
  cygstart XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% 
  -lesspointer -clipboard
 
  and see if you get a big enough window for your X app with scrollbars.

 Command failed with error:

 $ cygstart XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% 
 -lesspointer -clipboard

 cygstart: bad argument -screen: unknown option

Whoops.  Make that

cygstart -- XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% 
-lesspointer -clipboard

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: subscribe donaldatziesig.org

2005-01-25 Thread Igor Pechtchanski
On Tue, 25 Jan 2005, Donald R. Ziesig wrote:

 Hopefully this is the way to subscribe to this list.

http://cygwin.com/lists.html#subscribe-unsubscribe
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: resolution smaller than application

2005-01-25 Thread Igor Pechtchanski
On Tue, 25 Jan 2005, Mordechai_Pniel wrote:

 On Tue, 25 Jan 2005, Igor Pechtchanski wrote:

  cygstart -- XWin :0 -screen 0 1280 1024 -scrollbars -query %REMOTE_HOST% 
  -lesspointer -clipboard

 Great Igor !!
 Now it works ok.
 But just could you tell me why must use the command cygstart instead of
 run ?

run will hide the main window in some cases.  You can try it, and if it
works for you -- great.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: question about using Cygwin/X from 2 WinXPpro logins

2005-01-25 Thread Igor Pechtchanski
On Wed, 26 Jan 2005, Banibrata Dutta wrote:

 Hi,

 I had installed Cygwin (including Cygwin/X) via the WinXPpro
 user=Administrator (for the local machine).

Did you install for All Users, or Just for Me?  BTW, the official
guidelines for reporting Cygwin problems and providing relevant
information about your system are at http://cygwin.com/problems.html.

 I can successfully do startx from this account, and do the usual
 Cygwin/X tasks from this, i.e. create xterms, do xhost+ etc. When i try
 to start Cygwin/X via the user=myself which belongs to
 domain=MYDOMAIN, startx fails, saying that xinit could not be found.
 I did the following...
 export PATH=$PATH:/usr/X11/bin
 startx
 but this has no impact, i.e. no success yet.

Isn't it supposed to be /usr/X11R6/bin?

 Anybody aware / has-clue as to what's up ? Any help would be appreciated.

Once you get past the PATH/mount hurdle, you might run into problems with
/tmp/.X11-unix/.  There are a few solutions: using different displays is
one (provided that directory is writable to the world); mounting /tmp as a
user mount in a different directory for each user is another.  See the
thread http://cygwin.com/ml/cygwin-xfree/2004-05/msg00252.html, for
example.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: resolution smaller than application

2005-01-24 Thread Igor Pechtchanski
Wrong list, redirecting...  Please remove cygwin at cygwin dot com from
any follow-ups.

On Mon, 24 Jan 2005, mpniel wrote:

 My Windows Xp resolution is smaller than the real Xwindows application
 resolution that i am running.
 So i get only a section of the Xwindows screen application.
 Is it possible to get all the real Xwindows screen on my Windows XP? or at
 least to pan with the mouse in order to see the hidden parts of the big
 screen? or to scale the real Xwindows size to my WIndows Xp size?

How are you invoking XWin?  Do you use the startxwin.sh script?  If so,
XWin is invoked in multi-window mode, which uses the Windows screen as the
X screen.  Try invoking XWin directly, and giving it the -screen parameter
(see the man page for instructions on specifying the screen size), and
-scrollbars to allow resizing/scrolling.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Cygwin Xfree not functional on laptop with wireless

2005-01-19 Thread Igor Pechtchanski
On Wed, 19 Jan 2005, Browning, Jeff wrote:

 All:

 I have installed Cygwin Xfree on my T40 laptop and yesterday when in the
 office over a normal wired ethernet connection, it was working fine.

 Today, I am working from home over a wireless connection, and Cygwin has
 become completely non-functional. The bash shell shows nothing,
 basically it's just dead. Running the startxwin.bat file from a normal
 DOS window shows the usual start message. The X icon appears, but will
 display nothing. Eventually, the X icon vanishes, apparently a silent
 crash.

 Any clue what is going on here?

The bash thing sounds like a general Cygwin problem, so you should take it
to the main Cygwin list (redirecting and setting Reply-To:).  Do you
happen to run a VPN in addition to your wireless connection?
Also, please review http://cygwin.com/problems.html to see how you can
provide the relevant information about your system.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: XWin/xdmcp fails after PC domain change

2005-01-13 Thread Igor Pechtchanski
On Thu, 13 Jan 2005, Greg Dotts wrote:

 I could sure use some help solving a problem with my Cygwin/X (on MS XP Pro
 SP1 - Fedora 2 xdmcp connection.

 I recently changed my Samba server setup to PDC and joined my desktop and
 laptop PC's to the domain which promptly killed my Cygwin/X installations.
 Step two was a remove/reinstall of Cygwin/X to the latest release on both
 machines.  This resulted in my laptop working, but not my desktop.  Next step
 was to remove the desktop and laptop from the domain and back into the
 original workgroup and try again.  I had to remove/reinstall Cygwin/X again,
 and again only the laptop will connect.

 So now I'm scratching my head...  I have removed Cygwin/X from my desktop,
 cleaned the registry, removed all files related to Cygwin/X from the HD and
 reinstalled.  Same result - The XWin window loads but no response from the
 Fedora server.  Below is a copy of the XWin.log file and user variables, but I
 don't see anything out of the ordinary and I can't find any related entries in
 any of the Fedora logs.

 BTW, nothing has changed on the xdmcp server side that I'm aware of... It
 looks to me like XWin.exe is not making the request to 192.168.1.1???
 [snip]

 Any help would be appreciated and I've RTFM'd and searched the archives. ;-)

XDMCP is very sensitive to DNS changes.  Make sure that when the server
does a reverse DNS lookup on the IP, it gets the same FQDN as supplied by
your Cygwin machine.  Check /var/log/messages on the server.  Do you have
a stale /etc/hosts entry, perhaps?

See http://en.tldp.org/HOWTO/XDMCP-HOWTO/ and
http://cygwin.com/ml/cygwin-xfree/2004-04/msg00329.html.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Display problems with second/subsequent xterm instances

2005-01-11 Thread Igor Pechtchanski
On Tue, 11 Jan 2005, Lloyd Wood wrote:

 I've been using cygwin for some months. I have a problem with second
 and subsequent xterms, which display rather than act on terminal
 control codes setting colour information. This appears to have broken
 with a cygwin X upgrade, but I can't be certain.

 The first xterm created with startx from console is black window,
 yellow text, green user name, matching the cygwin console, works as
 you would expect.

 Subsequent xterms launched from the first xterm (I can't launch xterms
 from the console window even after setting DISPLAY correctly and
 telling xhost localhost has permission -- odd) display the
 character codes instead:

 \[\033]0;\w\007
 [EMAIL PROTECTED] \[\033[33m\w\033[0m\]
 $ echo $DISPLAY
 :0.0
 \[\033]0;\w\007
 [EMAIL PROTECTED] \[\033[33m\w\033[0m\]

 They're definitely xterms - ctrl right-click gets me the VT Fonts menu
 (other clicks are intercepted by too-smart-by-half windows links.)

 I've not set up any special profiles or startup scripts in cygwin.
 Any ideas?

Is your login shell set correctly in /etc/passwd?  Looks like the
subsequent xterms run /bin/sh instead of /bin/bash...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: X -broadcast

2005-01-10 Thread Igor Pechtchanski
On Sun, 9 Jan 2005, Brett wrote:

 Hi,

 Have been using X -broadcast to connect to a XDM server on my network
 for months now.  However, when another user of cygwin tries, it doesn't
 work.  I've tested it on a couple different XP machines, each with
 Cygwin installed for ALL USERS.

 I can resolve this problem by removing the /tmp/XWin.log file
 manually.  It seems that this file is written by the last person to
 successfully start an X Window, and the permissions are 644.

 Maybe if the file was written 664, or a different file was written for
 each $LOGNAME, this problem might go away.

 Here is what I've come up with that works for me: a startx script to
 start X:

 -
 # startx
 rm -f /tmp/XWin.log

   if [ $? -ne 0 ]; then
 echo File could not be deleted
 exit
   fi

 X -broadcast  /dev/null 21 
 -

 I'd be grateful for thoughts on a better solution.

Have a separate /tmp for each user -- execute the following once for each
user account:

mount -fu $USERPROFILE\\Local Settings\Temp /tmp

and all of your users should be able to start X the regular way with no
interference.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: New setup.exe release candidate - please test

2004-12-29 Thread Igor Pechtchanski
Ugh, top-posting... Oh, well...

This behavior is by design.  Setup doesn't remember the source packages
that were installed -- only the binary ones.  One way to fix this would be
to introduce dummy (empty) binary packages for the two source-only
packages -- feel free to propose this on the cygwin-apps list.  Another
(proper) fix would be to patch setup.exe -- again, feel free to post a
patch on the cygwin-apps list.

HTH,
Igor

On Wed, 29 Dec 2004, Alexey N. Solofnenko wrote:

 Not remembering what was installed seems like a bug to me.

 - Alexey.

 Andrew Schulman wrote:

  New feature-- probably unlikely given the current difficulty just in
  getting bugs fixed, and that the current setup utility will probably
  be scrapped altogether in favor of something better.
 
  However, if a feature like that were to be implemented, I'd rather see
  it in those annoying checkboxes at the end.  You know, Add an icon to
  the desktop and Add an icon to the start menu.  I've unchecked
  those boxes about 20 bezillion times, and every time setup forgets and
  asks me again.

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Having XP and KDE desktops togather

2004-12-22 Thread Igor Pechtchanski
On Tue, 21 Dec 2004, Vinod Gupta wrote:

 My cygwin and xfree86 installed fine on my Windows XP machine. I would
 like to have both local XP desktop and remote KDE Desktop from Linux
 server, togather. Works almost OK when I do the following:

 - Execute startxwin.bat which launches xserver as:
   run xwin -clipboard -multiwindow
 - Open ssh client terminal and connect to remote linux server
 - Execute startkde from the ssh client terminal

 except for the following problem:

 The KDE Desktop occupies whole of XP screen and remains in foreground,
 can not be moved and can not be iconized. So Windows becomes practically
 inaccessible until I kill KDE Desktop.

 Any suggestions to make both desktops co-exist?

Try omitting the -multiwindow parameter.  That way, the KDE desktop will
be started in one Windows window that you can manipulate normally.  If you
also want to open local X clients in multiwindow mode, you can start
another (windowed) instance of X for your KDE desktop (i.e., use run XWin
:1.0 -clipboard) and ssh with DISPLAY set to :1.0 to start your KDE
session.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Problem with ssh and X

2004-12-15 Thread Igor Pechtchanski
On Wed, 15 Dec 2004, Dr Christian Hicks wrote:

 I am trying to connect to a Sun UNIX box and display
 the graphics on my PC running Cygwin. I am using
 the command ssh -X -l user-name remote-machine.

Wrong list.  Redirecting to cygwin-xfree.  Please delete cygwin at cygwin
dot com from subsequent discussion.

 The connection is being made OK, but when I try and
 run something with X graphics I get an error message
 of the form:
 X Error (intercepted): BadWindow (invalid Window parameter)
 Major Request Code : 7
 Minor Request Code : 0
 Resource ID (XID) : 58
 Error Serial Number : 47
 XView warning: invalid object (not a pointer), xv_get
 finished; X Error of failed request: BadWindow (invalid Window parameter)
   Major opcode of failed request 7 (X_ReparentWindow)
   Resource id in failed request: 0x3a
   Serial number of failed request: 47
   Current serial number in output stream: 56

 I have a Netgear DG834G router/firewall, neither of which are
 showing anything in the log. The odd thing is that I tried
 the same thing from my work PC and it was fine. I updated
 the whole of my Cygwin installation yesterday.

 Any help would be very gratefully received.

 Thanks,
 Dr Christian Hicks

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote, which has the
same answer that a Google search for 'BadWindow invalid window
parameter ssh site:cygwin.com' (or even 'BadWindow Cygwin') would have
shown...
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: _impure_ptr warning in install

2004-12-04 Thread Igor Pechtchanski
On Fri, 3 Dec 2004, george young wrote:

 [Xwin 6.8.1.0-1, Windows XP pro 5.1, experienced with linux X, not a windows 
 or cygwin hacker]

 I just did a full uninstall of cygwin everything, using the setup program.
 Then I installed:
 [setup version 2.427, from mirror.mcs.anl.gov]

 base/  cygwin emu engine  1.5.12-1
 X11/   X-start-menu-icons 1.0.3-2
X-startup-scripts  1.0.10-2
xorg-x11-base  6.8.1.0-1

 net/   inetutils  1.3.2-28

 interpreters/  python


 During the install I several times got the message:

 The procedure entry point _impure_ptr could not be located in cygwin1.dll

 Is something broken in the current release?

 -- George Young

Please review the Cygwin problem reporting guidelines at
http://cygwin.com/problems.html to see what information is usually
requested when reporting Cygwin problems.  Particularly, you should have
provided the output of cygcheck -svr on your system as an uncompressed
text attachment to your message.

At a guess, you most likely have more than one Cygwin1.dll on your
machine.  Run the Windows Find (Start Menu-Search) and search for all
instances of Cygwin1.dll.  Delete all but the one in your Cygwin's /bin
directory, then you should be able to reinstall normally.
Igor
P.S. This is not a Cygwin/X problem, and thus belongs on the main Cygwin
list (cygwin at cygwin dot com).
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: More X11 error messages

2004-11-22 Thread Igor Pechtchanski
On Sat, 20 Nov 2004, Daniel Newhouse wrote:

 I'm cross posting since the X11 developers blame
 everything on the cywin setup.exe

FYI, you didn't, as you misspelled cygwin in the list address as well.
But see below.

 When I try to install it is at 94%(installing everything) and the file
 that I get a hangup at is etc/postinstall/xorg-x11-fnts.sh

 When I click cancel on the installation I am then given another error

 Cannot open file C:\cygwin\var\log\setup.log

I think this would be very indicative of the problem.  Can you create a
c:\cygwin\var\log\setup.log via another program (e.g., notepad)?  Are all
the components in the above path executable by your user?  Is
c:\cygwin\var\log writeable?

 This is a good time to reiterate the fact that the log file that is
 supposed to be generated by the cygwin installation is not generated on
 my computer.

Umm, of course, that's what the above message states.

 I am of course, using XP SP 2.

 I don't expect anyone to help anymore, I am just reporting what goes
 wrong.

Most of the earlier reports of this exact problem were answered in the
same exact way as I've just answered you.  There were no further replies.

 And yeah, I tried installing cygwin without x11 first and that doesn't
 help.

 Probably because most people don't install all the packages, which I
 must do.

The two statements above are not connected in any way.  Installing Cygwin
without X11 first doesn't preclude you from installing all the packages.
Theoretically, installing everything at once and everything in two parts
should produce equivalent installations.  The technique of splitting the
install process is simply a workaround for a known (and currently being
worked on) bug in setup.exe.

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: GLX acceleration

2004-11-17 Thread Igor Pechtchanski
Lester,

Exactly what kind of speedups are you expecting here?  AFAIU, the
GLX-accelerated XWin will give you speedup only for programs that use the
GLX extension, which automatically excludes most standard X clients (e.g.,
xterm, emacs, etc).  For applications not using the GLX extension, the
GLX-accelerated XWin should be no different from the regular XWin.

Alexander, please correct me if I'm wrong.
Igor

On Tue, 16 Nov 2004, Lester Ingber wrote:

 Yes, XWin_GL seems to run OK, though I have not seen any dramatic
 speedup yet.

 It is likely that part of this may be due to memory problems I seem to be
 having in the latest xorg downloads, with XWin and now also with XWin_GL.
 (I only seem to have these problems in xterm and rxvt, not in a Cygwin
 console window.)

 [snip]
 --8-- top cut 2/2 - bottom 2/2 ---8--
   +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

  In an effort to get better performance on my ThinkPad/XPPRo I'm
  considering adding the experimental GLX acceleration module offered
  under setup.  Is anyone using this?

 I've tested it with some programs including the glut suite. Some of the
 glut examples fail but most work well.

  How do you turn it on?

 Just install it and run XWin_GL.exe instead of XWin.exe.

 Any feedback is welcome.

 BTW: Only the multiwindow mode is useful with the accelerated server since
 the OpenGL drawing surface is not translated to match the window boundaries
 in windowed moded.

 bye
   ago

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

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Problems with ssh and tunnelling with cygwin 1.5.12

2004-11-16 Thread Igor Pechtchanski
On Tue, 16 Nov 2004, Nick Wisniewski wrote:

 Dave Korn wrote:
  that ought to give you enough information to find out
  what's wrong.  Try ssh -v -v -v rest of options and see what that tells
  you.

 I try this and it hangs with a response:

 debug2: x11_get_proto: /usr/X11R6/bin/xauth -f 
 /tmp/ssh-LuCdTO1472/xauthfile generate unix:0 MIT-MAGIC-COOKIE-1 untrusted 
 timeout 1200 2/dev/null

 When I kill sh.exe from the task manager, it hangs again immediately with the
 response:

 debug2: x11_get_proto: /usr/X11R6/bin/xauth  list unix:0 . 2/dev/null

 When I kill sh.exe again, it continues as normal.

On Fri, Nov 12, 2004, I wrote among other things:

 I don't recall any option that would make ssh start a shell on the local
 machine.  Are your ssh config files customized?  Are you running keychain,
 or autossh, or any other ssh-related scripts?

xauth is a script (well, a program).  What happens if you run those exact
commands from the command line?  Also, try stracing the ssh process (as
Dave Korn suggested) and see where sh hangs (use something like strace -o
ssh.strace ssh [EMAIL PROTECTED] and browse ssh.strace).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


  1   2   3   4   >