SIGSEGV in XopenDisplay in Cygwin64 X11

2016-07-21 Thread John Watts



--

Regards,

John Watts

john_wa...@isoparix.com
Skype:  JS.Watts
Tel:+44 (0)20 8549 6501
Car:+44 (0)774 694 9715

Everything that is Proveable is True.
But not everything that is True is Proveable - and we can prove that.


Cygwin Configuration Diagnostics
Current System Time: Thu Jul 21 14:41:51 2016

Windows 7 Home Premium Ver 6.1 Build 7601 Service Pack 1

Path:   C:\Program Files\ImageMagick-6.9.2-Q16
e:\tools
e:\isoperf\misc
C:\Program Files\Common Files\Microsoft Shared\Windows Live
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live
C:\Program Files (x86)\Vim\vim74\
c:\cygwin64\bin
C:\Program Files (x86)\Intel\iCLS Client\
C:\Program Files\Intel\iCLS Client\
C:\ProgramData\Oracle\Java\javapath
C:\Program Files\MPICH2\bin
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\
c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
C:\Program Files (x86)\ASUS\HomeCloud\jre7\bin
C:\Program Files (x86)\QuickTime\QTSystem\
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
C:\cygwin64\usr\x86_64-w64-mingw32\sys-root\mingw\bin
C:\Program Files (x86)\Windows Live\Shared
C:\Program Files (x86)\Skype\Phone\

Output from c:\cygwin64\bin\id.exe
UID: 197608(John)  GID: 197121(None)
197121(None)   545(Users)
4(INTERACTIVE) 66049(CONSOLE LOGON)
11(Authenticated Users)15(This Organization)
113(Local account) 4095(CurrentSession)
66048(LOCAL)   262154(NTLM Authentication)
401408(Medium Mandatory Level)

SysDir: C:\Windows\system32
WinDir: C:\Windows

Path = 'C:\Program 
Files\ImageMagick-6.9.2-Q16;e:\tools;e:\isoperf\misc;C:\Program Files\Common 
Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common 
Files\Microsoft Shared\Windows Live;C:\Program Files 
(x86)\Vim\vim74\;c:\cygwin64\bin;C:\Program Files (x86)\Intel\iCLS 
Client\;C:\Program Files\Intel\iCLS 
Client\;C:\ProgramData\Oracle\Java\javapath;C:\Program 
Files\MPICH2\bin;C:\Program Files (x86)\NVIDIA 
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
 Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files 
(x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files 
(x86)\ASUS\HomeCloud\jre7\bin;C:\Program Files 
(x86)\QuickTime\QTSystem\;C:\Program Files\Intel\Intel(R) Management Engine 
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine 
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine 
Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine 
Components\IPT;C:\cygwin64\usr\x86_64-w64-mingw32\sys-root\mingw\bin;C:\Program 
Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Skype\Phone\'

ALLUSERSPROFILE = 'C:\ProgramData'
APPDATA = 'C:\Users\John\AppData\Roaming'
CommonProgramFiles = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
CommonProgramW6432 = 'C:\Program Files\Common Files'
COMPUTERNAME = 'OCEANDRIVE'
COMSPEC = 'C:\Windows\system32\cmd.exe'
CYGWIN_ROOT = 'c:\cygwin64'
DISPLAY = ':0.0'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Users\John'
JAVA_HOME = 'C:\Program Files (x86)\ASUS\HomeCloud\jre7'
LIB_PATH = 'c:\cygwin64\lib'
LOCALAPPDATA = 'C:\Users\John\AppData\Local'
LOGONSERVER = '\\OCEANDRIVE'
NUMBER_OF_PROCESSORS = '8'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PROCESSOR_ARCHITECTURE = 'AMD64'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 63 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = '6'
PROCESSOR_REVISION = '3f02'
ProgramData = 'C:\ProgramData'
ProgramFiles = 'C:\Program Files'
ProgramFiles(x86) = 'C:\Program Files (x86)'
ProgramW6432 = 'C:\Program Files'
PROMPT = '$P$G'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
PUBLIC = 'C:\Users\Public'
SESSIONNAME = 'Console'
SystemDrive = 'C:'
SystemRoot = 'C:\Windows'
TEMP = 'C:\Users\John\AppData\Local\Temp'
TMP = 'C:\Users\John\AppData\Local\Temp'
USERDOMAIN = 'Ocean

Persistent CYGWIN/X server taskbar button with urxvt in CYGWIN-64, not rxvt in CYGWIN-32. Why?

2015-12-09 Thread John J Ottusch
Thanks for the tip.

First of all, using 'strace' I determined that testing is not advisable 
with the 'run.exe' executable named anything other than just 'run.exe'. 
Renaming the executable to 'runX.exe' ends up being interpreted as 'run X' 
and things go wrong from there.

The good news is that the version of 'run' Jon Turney provided does indeed 
withhold taskbar display of the CMD window from which urxvtermX.bat is 
run.

The bad news is that I have to execute the target 
'C:\win64app\cygwin\bin\run.exe C:\win64app\cygwin\urxvtermX.bat' twice 
(or sometimes more). The first time through starts up 'Cygwin/X 
Server:0.0'. The second and any subsequent times it creates a new 'urxvt' 
term.

jjo



--
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: Persistent CYGWIN/X server taskbar button with urxvt in CYGWIN-64, not rxvt in CYGWIN-32. Why?

2015-12-01 Thread John J Ottusch
> I think this is not a problem with the X server, but with the Cygwin 
run 
> utility, which is supposed to run the .bat file with a hidden console.

> See [1] a previous discussion of this problem.

> I've built an x86_64 run.exe with that patch applied and uploaded it 
at 
> [2]. Perhaps you could try that and see if it improves things.

> [1] http://cygwin.com/ml/cygwin-xfree/2012-08/msg0.html
> [2] ftp://cygwin.com/pub/cygwinx/x86_64/run.exe

-- 

Makes sense that it could be run.exe behavior.

However, the version of run.exe from [2] (which is 220K in size vs. 68K 
for the original version ?!?) does not seem to do anything. Running it 
from a CMD window with urxvtermX.bat as the argument does not produce an 
error message, a urxvt term, nothing.

BTW, I made an effort to give both versions of run.exe (I renamed the 
new one runX.exe) the same ownership and permissions, but to no avail.

Am I missing something essential?

jjo

P.S. My apologies if this message is not properly threaded. I see how 
one can post an original message from 'http://post.gmane.org/post.php?
group=gmane.os.cygwin.xfree', but not how one goes about replying to a 
previously posted message.


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



Persistent CYGWIN/X server taskbar button with urxvt in CYGWIN-64, not rxvt in CYGWIN-32. Why?

2015-11-28 Thread John J Ottusch
I use CYGWIN a lot with 64-bit Windows 7 and have been transitioning 
from 32-bit CYGWIN to 64-bit CYGWIN primarily in hopes of avoiding 
repeated STATUS_ACCESS_VIOLATION errors.

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

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

Both are started from a Windows shortcut:

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

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

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

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

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

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

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

John Ottusch



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: GNOME on cygwin

2010-08-04 Thread John J. McDonough
On Wed, 2010-08-04 at 23:04 -0400, Larry Hall (Cygwin X) wrote:
> On 8/4/2010 6:33 PM, Timares, Brian (HP) wrote:
> > Raul Acevedo wrote:
> >> My real question is what is the point of these packages, if GNOME is
> >> not actually in them.  It's a bit confusing and I wasted a chunk of time
> >> trying to install GNOME through Cygwin only to find out it's not possible.
> 
> Brian, you misunderstand what Gnome is, since the Cygwin distribution
> contains many packages that make up Gnome.  See below for more.



> The short answer is that it's there to house all-that-is-Gnome.  It just
> doesn't contain everything yet.  With some luck, it will someday.  In the
> meantime, there are allot of packages that make up Gnome.  Since the
> distribution has some of them now, it makes sense to put them in this
> category.  The same is true for KDE, Perl, etc.

Something that should be mentioned.  GNOME is a huge, lumbering system
with ten or twelve zillion libraries.  Lots of programs rely on those
libraries, but no program relies on all of them.  As you port a program
you may also need to port libraries that it requires, and a LOT of the
time, those libraries are going to be part of GNOME.

KDE is similar, although perhaps not quite as massive as GNOME.  Many of
the other desktops were developed specifically to avoid the huge
overhead of GNOME and KDE.  But of course, as soon as you install a
program built on one of those foundations, you need to pull in the
associated libraries, and take the associated performance hit.

GNOME is also undergoing a huge change.  It probably wouldn't make a lot
of sense to put a great deal of effort into a GNOME port at this point
in time when the whole GNOME world will change in a few months.

--McD



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Can't start xterm from Cygwin/X icon in system tray

2010-01-01 Thread john

Are you executing startxwin from a login shell? I use
"\path\to\cygwin\bin\run.exe /bin/bash.exe -l -c /bin/startxwin.exe"
and it works for me.

On Fri, 1 Jan 2010, Jim Reisert AD1C wrote:

> On 12/31/2009 1:43 PM, Yaakov (Cygwin/X) wrote:
>
> > This sounds like it has nothing to do with startxwin. I can't reproduce
> > this, but do any of the following help:
> >
> > 1) creating a ~/.startxwinrc containing just "xterm &"?
>
> Same problem.  No xterm.
>
> > 2) changing that .startxwinrc to "run xterm"?
>
> Pop-up:  "Couldn't find xterm anywhere.  I even looked in the PATH"
>
> Same when I tried "run /usr/bin/xterm" (couldn't find /usr/bin/xterm anywhere
> etc.)
>
> > 3) setting LANG=en_US.ISO-8859-1 ?
>
> No change.
>
> > 4) installing the font-daewoo-misc, font-isas-misc, and font-jis-misc
> > packages?
>
> Those fonts are already installed.
>
> As I said, I have a desktop icon for starting an XTERM that works.  It only
> "doesn't work" when trying to start the xterm from ~/.startxwinrc, or from the
> system tray.
>
> - Jim
>
>
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Can't start xterm from Cygwin/X icon in system tray

2009-12-31 Thread john

I had this problem. It was happening because PATH was not being set. The
problem went away when I used /startxwin.bat instead of
/bin/startxwin.exe.

On Thu, 31 Dec 2009, Jim Reisert AD1C wrote:

> On Thu, Dec 31, 2009 at 6:33 AM, dahaiou wrote:
> >
> >
> > Jim Reisert AD1C wrote:
> >>
> >> I am unable to start an xterm from the Cygwin/X icon in the system tray
> >> (right-click, select xterm).  Both setups have the same line in .XWinrc:
> >>         "xterm"      EXEC  "xterm"
> >> As  a work-around, I created a shortcut on my desktop to start an xterm:
> >>     D:\Cygwin\bin\run.exe /usr/bin/xterm -display localhost:0
> >> That works perfectly,
> >
> > What exact command is mapped to the "xterm" label in the right-click tray
> > menu? It's configured in an init file somewhere though I can't remember the
> > filename right now.
>
> "which" points to /usr/bin/xterm
>
> > Can you check whether the DISPLAY variable is set in the xterm process
> > started from the tray menu? If it isn't, that would explain it.
>
> I tried this explicitly:
>
>  "xterm"  EXEC  "xterm -display localhost:0"
>
> That didn't make a difference.
>
> One other piece of data:  I modifed ~/.XWinrc and then clicked "Reload
> .xwinrc" from the menu in the system tray. This KILLED the X server!
>
> - Jim
>
>
>

-- 
Hendrik Groeneveld
+1 (425) 327-4506
+1 (425) 645-8027 Fax
hend...@hg.com
--
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: Path problem with xterm

2009-09-28 Thread John Emmas
- Original Message - 
From: "Mike Ayers"


If you set PATH absolutely in .bash_profile, the right thing will happen.
You may want to copy the initial value of PATH into another exported env
var, so that you can see if there have been changes to the default path.


Hi Mike.  If I can find some time this week, I'm tempted to give this a try
but I don't quite understand how it would work.  Are you saying that an
absolute path in .bash_profile will somehow override the other paths?  Or
that it will somehow prevent the various other scripts from adding their own
entries?  Or will I still have to track down all those other files and edit
them anyway?

John 



--
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: Path problem with xterm

2009-09-25 Thread John Emmas
- Original Message - 
From: "Ken Brown"


Most of the extra entries probably come from the various bash startup
files (including /etc/profile).  These startup files will be invoked every
time you start a new bash login shell.


It looks like you're right about this Ken.  Many of the scripts and batch
files just blindly add their directory requirements to my path without
checking whether the path already contained them.

Havng said that, some of the scripting models (e.g. for processing batch
files) might not have adequate tools for doing an intelligent check, so it
looks like this is something I'll just have to live with  :-(

It is quite annoying though because most applications that need to search
the user's path don't seem to do it intelligently either -  and so the same
folders keep getting searched over and over again.

Thanks anyway,

John 



--
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: Path problem with xterm

2009-09-24 Thread John Emmas
- Original Message - 
From: "Mike Ayers"

Subject: RE: Path problem with xterm


Are you perhaps modifying PATH in .bashrc?


No Mike, not as far as I can tell.  In fact it's the original .bashrc that
was installed with Cygwin.  I haven't edited it and I can't see anything in
it that refers to my path.  :-(

John


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



Path problem with xterm

2009-09-24 Thread John Emmas

If I open a bash terminal in cygwin, then I create an xterm (either by
running startxwin.bat or by running the relevant lines from it manually)
then I type "set", my environment settings get listed.  Among them is my
current PATH variable.  However, the displayed path is not the same as the
path I had previously (in the bash terminal).  Basically, it's the same path
but with some extra entries added (most of these being duplicates of entries
that were already present).

Cygwin's 'startxwin.bat' does introduce some extra entries - but even if
I comment them out I still end up with unwanted entries that look like they
must either be getting added by Xwin or xterm.  Can anyone suggest where
they might be coming from, so I can see if I can get rid of them?

Thanks,

John 



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

2009-09-13 Thread john
On Sat, 12 Sep 2009, Alicia Muirhead wrote:

> "A fatal error has occurred and Cygwin/X will now exit.
> Please open /tmp/XWin.log for more information."
> Release: 6.8.99.901-4
> "XWin was started with the following command-line:
> /usr/X11R6/bin/XWin-multiwindow -clipboard -silent-dup-error'
>
> I cannot open /tmp/XWin.log.

Try looking in /var/log

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

2009-09-10 Thread john
On Thu, 10 Sep 2009, Tanja Kjallman wrote:

> Fatal error, open /var/log.xwin.0.log, Xwin was started with the
> following command-line: Xwin -mulitiwindow -clipboard
>
> The program still performs the modelling I need

If your program works after getting a fatal from the server it's probably
because you already have a server running. Try adding -silent-dup-error
to the XWin command-line.

--
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: Why is remote client being rejected? AUDIT: XWin: client 4 rejected from IP 192.168.3.3

2009-07-19 Thread john

Disregard the bit about the client dieing if you close the terminal. The
problem seems to have been fixed (it's been a LONG time since I tried it).

On Sun, 19 Jul 2009, j...@asyn.org wrote:

> Also, running your X client in the background does not disconnect it from
> the terminal from which you launched it. If you close the terminal, the
> client app will die.

--
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: Why is remote client being rejected? AUDIT: XWin: client 4 rejected from IP 192.168.3.3

2009-07-19 Thread john
On Sat, 18 Jul 2009, Linda Walsh wrote:

> Yes I've read the FAQ -- it doesn't help.  Is says:
>
>
> The problem is most likely a wrong DNS (Network name resolution). Make sure
> your windows host has a hostname which is valid from linux too and an IP
> address which linux can resolve to that hostname.
> ---
>   What DNS resolution?
>
> If you add a line
>
> 192.168.26.1 myhost
>
> to /etc/hosts on the XDMCP server with the IP address and the hostname of your
> windows host the name resolution should work.
> XDMCP server?  I'm not trying to connect to an XDMP server.
>
> I'm trying to open
> 'xosview&'
> on a remote host with DISPLAY=mycywin-window-machine:0.0
> (or machine:0), neither work.
> Yes I export the variable on the remote machine or I wouldn't be getting
> the rejected message in my local cygwin XWin /var/log/XWin.0.log file.
>
> It =works= if I let it connect through my 'ssh' connection but that's really
> connecting back to ssh on the cygwin machine and connecting, AFAIK,
> via the local socket or local host.
>
> I wanted to try connecting NOT through my ssh connection  so I could close the
> ssh connection and have the remote xosview continue running.
>
> Thanks for ideas...
> Linda
>

Have you added the client to your X server's acl? See xhost(1)

Also, running your X client in the background does not disconnect it from
the terminal from which you launched it. If you close the terminal, the
client app will die.

--
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: Audible bell broken in bash/xterm

2009-07-16 Thread john
On Thu, 16 Jul 2009, Thomas Dickey wrote:

> On Thu, 16 Jul 2009, j...@asyn.org wrote:
>
> >
> > I've installed Cygwin/X on both XP Pro and laVista Home Basic systems and
> > the bell doesn't work. The bell does work in a console window but not in
> > an xterm. Am I missing something or is this a bug? How is the  char
> > [supposed to be] routed through bash/xterm/XWin to create the audible
> > response? Both systems are fresh installs (as of last week) with no config
> > changes or errors during the installs.
>
> What's "xterm -v" say?
>
> Audible bell was broken in #242, and fixed in #243.

It says 242...
Thanks!

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



Audible bell broken in bash/xterm

2009-07-16 Thread john

I've installed Cygwin/X on both XP Pro and laVista Home Basic systems and
the bell doesn't work. The bell does work in a console window but not in
an xterm. Am I missing something or is this a bug? How is the  char
[supposed to be] routed through bash/xterm/XWin to create the audible
response? Both systems are fresh installs (as of last week) with no config
changes or errors during the installs.

Thanks,
John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-16 Thread John Emmas
- Original Message - 
From: "John Emmas" 


One more thing Jon.  I'm probably being ludicrously simplistic
here - but to fix the resizing problem (not resizing until the user lets
go of the mouse button) could there be a simple fix for this just by
responding to the WM_MOUSEHOVER notification?


Or if you'd prefer not to do this in WM_SIZING,  WM_NCMOUSEHOVER
might be more successful and would at least make Cygwin's resizing work more
like Linux's.  I guess the main problem with WM_NCMOUSEHOVER though is that
it doesn't get issued by older versions of Windows.  However, that's Windows
fault, not Cygwin's.

John 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - 
From: "Jon TURNEY"


Thanks for being the guinea pig.  I'll update the CG document to hopefully
clarify the things which caused you problems.


Thanks.  One more thing Jon.  I'm probably being ludicrously simplistic
here - but to fix the resizing problem (not resizing until the user lets go
of the mouse button) could there be a simple fix for this just by responding
to the WM_MOUSEHOVER notification?

For example:-
1)  Check wParam to see if the left button is currently pressed.
2)  If so, call Invalidate() for the window being resized.
3)  Call TrackMouseEvent() on next WM_MOUSEMOVE (so that the next hover
event gets notified).

John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - 
From: "Jon TURNEY"

Subject: Re: X / gtk-x11 / flicker and other problems [+PATCH]


I guess you need to either create that directory so it can write to it


Done that - but now I'm getting a bit paranoid...  it fixed the original
problem but now when I try to launch XWin I get a message box saying
"Windows Firewall has blocked this program from accepting connections from
the internet or network. If you trust the publisher you can unblock it."
Hmmm... do I / should I unblock it?? Unblocking it temporarily lets me run
XWin - apparently fine, although I see a couple of errors in the log file:-

(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (No such file
or directory)
(EE) GLX: could not load software renderer

Are these anything to be worried about?

BTW Jon - flickering seems to be vastly improved!!  Thanks for all your
help.

John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - 
From: "Jon TURNEY"


videoproto isn't packaged as it doesn't do anything useful for us. You
need to configure with --disable-xv

xkbfile is provided by libxkbfile-devel


Okay, I fixed those problems and the build appeared to go okay, following
these instructions (for a Standard build) but adding --disable-xv at the
configure stage:-

http://x.cygwin.com/docs/cg/prog-build-native.html

I then got to the next stage which is to try running the local build.  I
issued this command:-

hw/xwin/XWin -multiwindow -multiplemonitors -clipboard -silent-dup-error

but got a message box saying "A fatal error has occured and Cygwin/X will
now exit. Please open /usr/var/log/XWin %s.log for more information"

However, there's no such folder on my system.  I do have a folder called
/var/log/ but the most recent file in it is dated about an hour ago...   :-(

Simply issuing  'hw/xwin/XWin' gives me the same problem.  Also (this may be
significant) my new XWin.exe (weighing in at just under 9Mb) is about double
the size of the previous one.

John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
- Original Message - 
From: "Jon TURNEY"


Nope, 1.4.9 is the latest (indeed, only) version in cygwin mirrors.

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=glproto

1.4.8 was only ever in cygwinports as far as I can tell.  I suspect that
the 'exciting and different' way that setup compares versions between
package servers might be involved here.


Well I ended up finding 1.4.9 in a tar.bz2 file and installed it from that.
The previous test is now passing - but further on I get these errors:-

No package 'videoproto' found
No package 'compositeproto' found
No package 'xineramaproto' found
No package 'xkbfile' found

I've managed to track down 'compositeproto' and 'xineramaproto' but not the
others  :-(

John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-15 Thread John Emmas
Still haven't managed to run 'configure' successfully when trying to build 
xorg-server from source.  I'm now getting a simple error relating to 
GLproto:-



checking for GL... configure: error: Package requirements (glproto >=
1.4.9 gl >= 7.1.0) were not met:

Requested 'glproto >= 1.4.9' but version of GLProto is 1.4.8

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GL_CFLAGS
and GL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


1.4.8 is the latest version according to my usual mirror.  Anyone know if 
1.4.9 can be obtained anywhere using setup.exe?  Or how should I set those 
GL_ env variables to force it to use 1.4.8?


Thanks,

John

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-14 Thread John Emmas

Jon - I followed the instructions from that link and everything went well
until I reached stage 4 ( ./autogen.sh -V ).  At that stage I get this
output:-

autoreconf-2.61: Entering directory `.'
autoreconf-2.61: configure.ac: not using Gettext
autoreconf-2.61: running: aclocal
autoreconf-2.61: configure.ac: tracing
autoreconf-2.61: running: libtoolize --copy
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf-2.61: running: /usr/bin/autoconf-2.61
configure.ac:614: error: possibly undefined macro: XTRANS_CONNECTION_FLAGS
 If this token and others are legitimate, please use m4_pattern_allow.
 See the Autoconf documentation.
autoreconf-2.61: /usr/bin/autoconf-2.61 failed with exit status: 1

Any suggestions for fixing this error?  Also, assuming I get through that
stage and apply your patch, what do I subsequently run to build and install
the xserver?  Is it the usual "./configure", "make" and "make install" or
something else?

John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas

Thanks Jon & Larry,

I can see a package called "libX11 : X.OrgX11 core library (source)".  Will
that bring in all the source files I need or is there a bit more to it than
that?

John 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas

Jon - I just realised that I don't seem to have the source for X11 (which is
presumably what I need before applying your patch).  I've looked on my usual
Cygwin mirror (ftp://mirrors.xmission.com) as well as looking in
Cygwin-Ports (ftp://sourceware.org) but I couldn't see what I needed to
download.  Should I have found the source code on one of the mirrors?

Thanks,

John 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas

Oh BTW, I should have added:-



One particular problem is that the xserver will only support twin
monitors if they both have the same settings (resolution etc).


Hmm... I thought this worked.  The only restriction should be that the
colour-depth of the monitors is the same...


Sorry, I stand corrected.  I hadn't realised that I only needed to match the
colour depths, so for months I've been matching the resolutions too.  After
a bit of experimenting this morning I now realise that it wasn't necessary.
Apologies.

John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems [+PATCH]

2009-02-13 Thread John Emmas
- Original Message - 
From: "Jon TURNEY" 

Subject: Re: X / gtk-x11 / flicker and other problems [+PATCH]


Bah! Now I've noticed the flickering again, so I have to fix it.
Your cunning plan worked. :-)


Thanks very much for that, Jon.  I'll apply your patch at the weekend
(presumably it'll work with x11r6, which I'm still on?)

My only qualm is that I'm not very experienced with building Cygwin stuff
from source.  Mostly, I've tried the "configure" and "make" route which has
so far been a bit hit-and-miss.  Should I be using cygport to do the rebuild
and if so, what command(s) should I need?

John 



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



Warning: Cannot convert string "-*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1" to type FontStruct

2009-02-10 Thread John Thomas
A solution to this problem from the Oracle Installer on AIX was to add the -fp 
path to XWIN in startxwin.bat as follows. 

%RUN% XWin -multiwindow -clipboard -silent-dup-error -
fp "/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/TTF,/usr/X11R6/lib/
X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/encodings,/usr/X11R6/lib/X11/fonts/mis
c,/usr/X11R6/lib/X11/fonts/util"

It may not be the only solution, though it looks like a "defect" in 
startxwin.bat as I am pretty sure I had this working in a previous version 
without modification. 

Cheers, 

JT


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems

2009-02-05 Thread John Emmas
- Original Message - 
From: "Jon TURNEY"

Subject: Re: X / gtk-x11 / flicker and other problems


At the moment, -multiwindow mode always selects the GDI engine for reasons
which are lost in the mists of time (rooted modes are able to use
DirectDraw), so a GDI BitBlt is used to transfer the contents of the
shadow buffer to the display.


Jon - did I understand you correctly here?  Are you saying that there's an
alternative mode I could try that should give me better performance (even
though it might be limited to just one monitor)?  If so, how do I need to
call Xwin to work in a rooted mode?

Thanks,

John 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems

2009-02-04 Thread John Emmas

May I say in its defence (after a bit more experimenting) that when
comparing Cygwin-X/gtk-x11 against gtk-win32, X's text handling is
noticeably superior at high resolutions (at least, on my system).  With my
monitor set to 1600x1200, Cygwin-X's text is still crisp and clear - whereas
gtk-win32's looks decidedly fuzzy.

Anyway, I wanted to try working in 'rooted' mode to see if this would
improve the flickering that I reported yesterday.  Normally I start X just
by running the batch file startxwin.bat.  Looking in that file I can see
that the command to start X is:-

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

Perhaps naively I figure that if I changed it to this:-

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

I'd get a single monitor in the 'rooted' mode that John referred to
yesterday (i.e. able to use DirectDraw).  However, there seems to be more to
it than that.  The above line causes xserver to run in a very flickery
window, as if something isn't set up properly.

What do I need to do to see the DirectDraw feature in action?

John


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X / gtk-x11 / flicker and other problems

2009-02-03 Thread John Emmas
- Original Message - 
From: "Jon TURNEY"

Subject: Re: X / gtk-x11 / flicker and other problems


btw, I use -multiwindow mode all the time, but I've obviously trained
myself not to see any of these artefacts


lol - fair point..!   But I must admit, having seen how the graphics
performance can be under gtk-win32 I'd be very reluctant now to go back to
x11, even though I know it must be more sensible to stick with the official
backend.  Here's some expansion on what I said earlier:-




 Twin monitors are a bit of a pain too, to be honest.


Would you care to elaborate on this point a bit?


One particular problem is that the xserver will only support twin monitors
if they both have the same settings (resolution etc).  I happen to use my
primary monitor at 1600x1200 and my secondary monitor at 1280x1024.  Running
the monitors at different resolutions is a lot more common than you might
realise.  At one time I thought I was pretty unique but in fact, most
dual-headers that I've spoken to also have their monitors at different
resolutions.  Another problem (doesn't affect me but I think I read this
somewhere) is that Cygwin's xserver isn't very hapy if the primary monitor
is on the right-hand side.




I'm guessing from this that you are using -multiwindow mode.

[ ... ]

At the moment, -multiwindow mode always selects the GDI engine for reasons
which are lost in the mists of time (rooted modes are able to use
DirectDraw), so a GDI BitBlt is used to transfer the contents of the
shadow buffer to the display.


Oh - please explain a bit more  I'm not aware of being in any particular
mode but if there are different modes I could try, I'd be happy to
experiment if you'll tell me how to set them up.




The way the integrated window manager works at the moment, when a window
is being resized WM_SIZING is only used to enforce any window sizing
constrains specified in hints, that isn't passed onto the X application to
allow it to redraw itself until the mouse button is released and a WM_SIZE
is sent.


Yes, that ties in with what I'm observing.  Interestingly I just booted up
into Linux and rebuilt the same app using x11 on Linux.  That gives
more-or-less the same result as Cygwin-X.  The window contents don't get
redrawn until I either release the mouse button (or in Linux's case, stop
dragging for more than about a second).




That probably explains some of what you are seeing, although playing
around with this a bit, I think neither of these things is working
entirely as it should...


I think I'd agree with that.  It's nit-picking I know, but IMHO gtk-win32
(which resizes continuously) gives a more satisfying and somehow a "more
professional" experience.

Do please let me know if I can try out some alternative modes.

John


--
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 / gtk-x11 / flicker and other problems

2009-02-03 Thread John Emmas

I've been 'tinkering around' with Cygwin for a few months now.  Not doing
anything serious with it - just finding out about it.  And in the main, I
like it.  The only disappointment (sorry guys) is 'X11' (or maybe the
problems are with gtk-x11).

Either way, I've been hugely disappointed at how 'clunky' a GUI app feels,
on screen.  Moving windows around the screen isn't so bad - but resizing
them looks horrendous.  Even simple windows flicker very badly.  Another
problem is tnat the contents don't actually resize until I let go of the
window.  So, if I'm dragging the bottom-right corner of a window to make it
bigger, I just get a big white flickery space at the bottom and on the RHS -
until I let go of my mouse button at which point, all the objects reposition
themselves.  Twin monitors are a bit of a pain too, to be honest.

A few days ago I realised that GTK+ offers various backends, including a
win32 one.  So over the past few days I've been taking a look at it - to see
if I could ditch 'X' and gtk-x11 abd build my Cygwin apps using gtk-win32.
It's not without its problems but I've been truly astonished at how much
smoother the windows behave, on screen.  Okay - we'd expect a native build
to be slicker, but this is so smooth compared to the clunky effects
that I see with Cygwin-X and gtk-x11.

Before I decide to dive off at a tangent, is there anything I could do to
'tweak' the performance of Cygwin's 'X' and/or gtl-x11?  For example, is it
possible that X11 isn't taking advantage of hardware accelleration?  And if
so, is this something I could 'turn on' somehow?

Thanks,

John


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



PSPP and Cygwin/X

2009-01-08 Thread John Simister
Dear sir/madam,
I'm trying to install PSPP on my Windows XP (Home edition) computer, but it's 
not 
working.  I used files from   http://pspp.awardspace.com/
and it includes Cygwin.  When I run PSPP, it gives this error message:


A fatal error has occurred and Cygwin/X will now exit.
Please open /tmp/XWin.log for more information.

Vendor:  The Cygwin/X Project
Release: 6.8.99.9901-4
Contact:  cygwin-xfree@cygwin.com
XWin was started with the following command-line:

/cygrdive/c/Cygwin/usr/X11R6/bin/XWIN -multiwindow -clipboard
-silent-dup-error



Please can you advise me how to get Cygwin (and hence PSPP) to work?  I want to 
usee it to make available data files from household survey I commissioned in 
poor 
countries.

Best wishes
  John Simister.

-- 
John Simister


--
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 and cygwin-xfree lists to merge

2008-12-11 Thread John Emmas
- Original Message - 
From: "Yaakov (Cygwin/X)"

Subject: Re: cygwin and cygwin-xfree lists to merge


That may have been true until November 12.  But in the last four weeks
since X11R7.4, there have been ~500 messages on cygwin-xfree, including
30 announcements (including 3 xserver revisions).  Comparatively, there
have been ~660 messages on cygwin including ~45 announcements.


I suspect that's probably an untypical situation.  I can give you some
figures for the 3 months from August 17th (when I first registered) to
November 17th (when I unsubscribed from xfree).  These figures include
announcements as well as posts that were duplicated on both lists:-

cygwin.xfree = 194 messages
cygwin = at least 1374 messages

I can't give an accurate figure for the cygwin list because I regularly have
to unsubscribe from it due to the high volume of traffic.  It wouldn't
surprise me if the true figure isn't 50 percent higher or more (i.e. ten
messages on cygwin list for every one on cygwin.xfree).

John


--
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: clipboard issue

2008-09-25 Thread John J. McDonough
Of course, if you aren't getting Xwin started properly, you can't count on 
it to work.  Cutting and pasting between Windows and X is a little weird, 
because each uses its own model.


To copy something in an X window, simply highlight it. This does place it in 
the clipboard.  To paste, click the center mouse button.


Windows cut/paste has a bunch of possibilities, but to copy highlight, then 
select Copy from the menu, type Cntl+C or type Cntl+Insert.  To paste, 
select paste from the menu, type Cntl+V or Shift+Insert.


By the way, I tend to do this an awful lot between Cygwin and Windows, for 
whatever reason, it seems a little cranky in the address bar of a browser, 
but everything else seems to work just fine.


Hope this helps

72/73 de WB8RCRhttp://www.qsl.net/wb8rcr
didileydadidah QRP-L #1446 Code Warriors #35

- Original Message - 
From: "Brandon Metcalf" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, September 25, 2008 9:47 AM
Subject: clipboard issue



I'm trying to get copy and paste working between X applications and
Windows.  I'm running Cygwin 1.5.23(0.156/4/2) on Windows XP
Professional.  When I run startxwin.sh, the last lines are

 winProcSetSelectionOwner - Clipboard not yet started, aborting
 winProcSetSelectionOwner - Clipboard not yet started, aborting

If I comment out the line that launches an xterm, these messages go
away.  In any event, I can't figure out how to cut and paste between X
and windows applications.  I've searched the docs, but don't see
anything about what style of cut and paste I should expect.  That is,
is it like X by using the mouse buttons or some other key sequence?

Thanks.

--
Brandon

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





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Can anyone help with a multiple monitor system?

2008-08-24 Thread John Emmas

I found a log file called XWin.log and it immediately told me what was
wrong

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

As an experiment, I tried setting both my monitors to 1200x1024 at
16-bit depth. XWin then launched and worked as expected.  Curiously,
I found that I can set my monitors to different settings AFTER I start XWin
and it seems to be quite happy to carry on working.  It just doesn't seem
to like *starting* if the monitor settings are different, which is a pity.

Armed with my new knowledge I decided to search Google.  I'd always thought
that I was unusual in having twin monitors running at different resolutions
but in fact, it seems to be quite common.  I found lots of comments about
the same problem - though not all of them about Cygwin.  Some were about
a package (project?) called "comp.windows.x".  I've never heard of this.
Can anyone tell me if it's connected with Cygwin or is it something totally
different?

Cheers,

John



- Original Message - 
From: "John Emmas" <[EMAIL PROTECTED]>

To: 
Sent: 23 August 2008 09:31
Subject: Can anyone help with a multiple monitor system?



I have a dual-head (twin monitor) setup using a Matrox Millenium G400
graphics card.  I've been using this successfully for many years under
both
Windows and Linux (64Studio).

Using GTK, I've built a myself a small "Hello World" type app.  It's just
a
simple GTK dialog box with a label saying "Hello World" and a 'Close'
button.  If I build it under GNU GCC and run it under Linux it runs fine.
However, if I re-boot into Windows and build it under Cygwin, it only
displays properly on my left-hand monitor.  If I drag the dialog box to my
right-hand monitor, the dialog gets displayed - but not its contents.

I'm starting my X server by running startxwin.bat which can be found in
c:\cygwin\usr\X11R6\bin.  I've already taken a look within startxwin.bat
and
I noticed that it offers various command-line switches to Xwin.  One of
these is '-multiplemonitors' which I thought might help.  I modified
startxwin.bat to add this as an extra parameter when starting Xwin but it
didn't make any difference.  Can anyone suggest anything else I could try?

Thanks,

John

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




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



Can anyone help with a multiple monitor system?

2008-08-23 Thread John Emmas

I have a dual-head (twin monitor) setup using a Matrox Millenium G400
graphics card.  I've been using this successfully for many years under both
Windows and Linux (64Studio).

Using GTK, I've built a myself a small "Hello World" type app.  It's just a
simple GTK dialog box with a label saying "Hello World" and a 'Close'
button.  If I build it under GNU GCC and run it under Linux it runs fine.
However, if I re-boot into Windows and build it under Cygwin, it only
displays properly on my left-hand monitor.  If I drag the dialog box to my
right-hand monitor, the dialog gets displayed - but not its contents.

I'm starting my X server by running startxwin.bat which can be found in
c:\cygwin\usr\X11R6\bin.  I've already taken a look within startxwin.bat and
I noticed that it offers various command-line switches to Xwin.  One of
these is '-multiplemonitors' which I thought might help.  I modified
startxwin.bat to add this as an extra parameter when starting Xwin but it
didn't make any difference.  Can anyone suggest anything else I could try?

Thanks,

John 



--
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 a simple GUI app

2008-08-22 Thread John Emmas

Thanks Phil,

As it turns out, a lot of my problems have been solved by doing something
called a "rebase" (I needed to start 'ash' and then type 'rebaseall').

There's very little information about this on the internet.  Can anyone 
explain what exactly I've done and why it's improved things so much?


Regards,

John



- Original Message - 
From: "Phil Betts" <[EMAIL PROTECTED]>

To: 
Sent: 19 August 2008 09:42
Subject: RE: Running a simple GUI app


John Emmas wrote on Monday, August 18, 2008 7:43 PM::


Sorry Phil if my questions seem 'lame'.  I should have explained that
I only installed Cygwin this morning so I'm by no means up to speed
with the concepts or terminology.


I'm sorry if it came across wrongly.  I didn't mean to suggest you were
currently lame.  I had assumed from the context that you were probably
new to at least some of the technology and was trying to steer you away
from _becoming_ a lame Windows user.


Anyway, I managed to arrange Windows so that it now starts X at boot
up. This means that I can use a (DOS) console window to navigate to
the appropriate directory, type 'HelloWorld' and my HelloWorld app
launches with X just running silently in the background.  That's a
lot slicker than the procedure I was using a few hours ago.  Thanks
for the suggestion.

What's strange though is that I can't just double-click on the app's
icon and launch it.  There's a (slim) chance that this could be a
Windows problem but I've never known any other Windows app that can
be started from a command line but can't be started by clicking its
icon.  Any ideas?


As cgf has suggested, it's probably the DISPLAY environment variable.
Alternatively, you could use the standard X parameter "-display :0"
if your program supports it.

Phil
--
This email has been scanned by Ascribe PLC using Microsoft Antigen for
Exchange.

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



--
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 a simple GUI app

2008-08-18 Thread John Emmas

Sorry Phil if my questions seem 'lame'.  I should have explained that I only
installed Cygwin this morning so I'm by no means up to speed with the
concepts or terminology.

Anyway, I managed to arrange Windows so that it now starts X at boot up.
This means that I can use a (DOS) console window to navigate to the
appropriate directory, type 'HelloWorld' and my HelloWorld app launches
with X just running silently in the background.  That's a lot slicker than
the procedure I was using a few hours ago.  Thanks for the suggestion.

What's strange though is that I can't just double-click on the app's icon
and launch it.  There's a (slim) chance that this could be a Windows problem
but I've never known any other Windows app that can be started from a
command line but can't be started by clicking its icon.  Any ideas?

John



- Original Message - 
From: "Phil Betts" <[EMAIL PROTECTED]>

To: 
Sent: 18 August 2008 16:41
Subject: RE: Running a simple GUI app


John Emmas wrote on Monday, August 18, 2008 4:55 PM::


Hi there,

After installing Cygwin (under WinXP) I've got to the stage of
compiling a very simple "Hello World" app which just displays an
empty GTK dialog with the title "Hello World".  To run the app I
(currently) have to start Cygwin (using its desktop icon), type
"startx" into the DOS terminal (which opens a second terminal
window), navigate to the folder containing my executable and finally
type "./HelloWorld".  Obviously this is all a bit convoluted.  Is
there a simpler way to launch my app - for example:-

a)  Double clicking on an icon, or
b)  Issuing some command (from a DOS terminal) that would launch the
app - but starting Cygwin and X invisibly.

Thanks,

John


First, there's no such concept as "starting Cygwin".  Cygwin is just
a DLL.  If you mean "start a bash session", there's no need to do
that just to run an X program.


You could* write a bash script along the lines of:

 /path/to/runyourprog ---
#!/bin/bash --login

checkx || startx
exec yourprogname
-

The --login should ensure that the environment is set up correctly.

Then you can create a shortcut with a target of:

C:\cygwin\bin\bash -c /path/to/runyourprog


* This is very much a lame Windows-user type of thing to be doing.
Xwin is a SERVER.  It should not be started by running a client.
If you were to ask a linux mailing list for a way to switch runlevel
if someone tried to run your program without an X server, you would
rightly expect the electronic equivalent of howls of derision.

Why do you not just start X when you log on?  If you'd rather not
start X every time you log on, you only need to start it the first
time you try to run an X program.  Any properly written X program
(including yours) should tell the user if it cannot connect to the
X server, so if you get this message, you just need to run the
server - once, then try again.

Phil

--
This email has been scanned by Ascribe PLC using Microsoft Antigen for
Exchange.

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



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



Running a simple GUI app

2008-08-18 Thread John Emmas

Hi there,

After installing Cygwin (under WinXP) I've got to the stage of compiling a
very simple "Hello World" app which just displays an empty GTK dialog with
the title "Hello World".  To run the app I (currently) have to start Cygwin
(using its desktop icon), type "startx" into the DOS terminal (which opens a
second terminal window), navigate to the folder containing my executable and
finally type "./HelloWorld".  Obviously this is all a bit convoluted.  Is
there a simpler way to launch my app - for example:-

a)  Double clicking on an icon, or
b)  Issuing some command (from a DOS terminal) that would launch the app -
but starting Cygwin and X invisibly.

Thanks,

John


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

2008-08-18 Thread John Emmas

Thanks Marco, you were absolutely right.  I've now re-installed following
those instructions and a lot more things are getting installed.  It looks
like this will be a lengthy process so in the meantime, can I ask another
newbie question please...?

At the moment, I'm starting Cygwin by using its desktop icon, This brings up
a DOS window and (I'm assuming) that from within the DOS window I'll need to
type commands - e.g. to start X and to run any program that I eventually
want to run.  Is that the normal procedure - or will I eventually get to the
stage where I can launch an app directly from a desktop icon and everything
else will happen automatically?

John


- Original Message - 
From: "Marco Lechner" <[EMAIL PROTECTED]>

To: 
Sent: 18 August 2008 07:52
Subject: Re: Hello



Hi John,

I suppose you are trying an install from localdirectory. Because you
didn't download the X11-packages (because you used only the
default-option only defaultz packages were downloaded).
Why not reading the Installation-Howo?
http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html

Marco

John Emmas schrieb:

- Original Message - From: "Christopher Faylor"
<[EMAIL PROTECTED]>
Subject: Re: Hello


Rerun http://cygwin.com/setup.exe, keep hitting Next, and when it gets
to
the "Select Packages" screen, maximimize the screen and you'll see an
"X11" category on the bottom.  You can either install everything by
clicking once on the "Default" next to the X11 or you can click on the
plus to see the available packages and install the packages
individually.


Thanks Christopher,

When I first installed, I left everything set at 'Default'.  Now I've
re-run
the setup program and I navigated to that screen with X11 at the bottom.
The categories all have a little + sign and if I click it, they expand
and
give various sub-options.  But if I click the + sign for 'X11' there are
no
sub-options.  The only thing I can do with the X11 branch is change it
from
'Default' to 'Install'.  However, that makes no difference to the
installed
file count.  This makes me suspect that X11 is probably already
installed.
Is there a way to check?

Thanks,

John





- Original Message - From: "Christopher Faylor"
<[EMAIL PROTECTED]>
To: 
Sent: 17 August 2008 18:34
Subject: Re: Hello



On Sun, Aug 17, 2008 at 06:27:05PM -, John Emmas wrote:

Hi - I just installed Cygwin today for the first time and I'm trying to
find out if any kind of X server got installed.

When I click on the Cygwin desktop icon (I'm running it under Windows
XP) it opens a DOS type window and I can search around my various
folders etc.  I've tried looking for things like 'xwin' or 'startx' and
stuff like that but I can't find anything.  Is there a way to find out
if X got installed?


If you didn't specify that X should be installed then X was not
installed.

Rerun http://cygwin.com/setup.exe, keep hitting Next, and when it gets
to
the "Select Packages" screen, maximimize the screen and you'll see an
"X11" category on the bottom.  You can either install everything by
clicking once on the "Default" next to the X11 or you can click on the
plus to see the available packages and install the packages
individually.

cgf

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




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




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




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

2008-08-18 Thread John Emmas
- Original Message - 
From: "Christopher Faylor" <[EMAIL PROTECTED]>

Subject: Re: Hello


Rerun http://cygwin.com/setup.exe, keep hitting Next, and when it gets to
the "Select Packages" screen, maximimize the screen and you'll see an
"X11" category on the bottom.  You can either install everything by
clicking once on the "Default" next to the X11 or you can click on the
plus to see the available packages and install the packages
individually.


Thanks Christopher,

When I first installed, I left everything set at 'Default'.  Now I've re-run
the setup program and I navigated to that screen with X11 at the bottom.
The categories all have a little + sign and if I click it, they expand and
give various sub-options.  But if I click the + sign for 'X11' there are no
sub-options.  The only thing I can do with the X11 branch is change it from
'Default' to 'Install'.  However, that makes no difference to the installed
file count.  This makes me suspect that X11 is probably already installed.
Is there a way to check?

Thanks,

John





- Original Message - 
From: "Christopher Faylor" <[EMAIL PROTECTED]>

To: 
Sent: 17 August 2008 18:34
Subject: Re: Hello



On Sun, Aug 17, 2008 at 06:27:05PM -, John Emmas wrote:

Hi - I just installed Cygwin today for the first time and I'm trying to
find out if any kind of X server got installed.

When I click on the Cygwin desktop icon (I'm running it under Windows
XP) it opens a DOS type window and I can search around my various
folders etc.  I've tried looking for things like 'xwin' or 'startx' and
stuff like that but I can't find anything.  Is there a way to find out
if X got installed?


If you didn't specify that X should be installed then X was not
installed.

Rerun http://cygwin.com/setup.exe, keep hitting Next, and when it gets to
the "Select Packages" screen, maximimize the screen and you'll see an
"X11" category on the bottom.  You can either install everything by
clicking once on the "Default" next to the X11 or you can click on the
plus to see the available packages and install the packages
individually.

cgf

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




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



Hello

2008-08-17 Thread John Emmas

Hi - I just installed Cygwin today for the first time and I'm trying to find
out if any kind of X server got installed.

When I click on the Cygwin desktop icon (I'm running it under Windows XP) it
opens a DOS type window and I can search around my various folders etc.
I've tried looking for things like 'xwin' or 'startx' and stuff like that
but I can't find anything.  Is there a way to find out if X got installed?
Thanks.

John


--
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: Window icons in multi-window mode

2008-08-01 Thread John J. McDonough, WB8RCR


- Original Message - 
From: "Raul Acevedo" <[EMAIL PROTECTED]>

To: 
Sent: Friday, August 01, 2008 2:17 PM
Subject: Re: Window icons in multi-window mode



Seems as if there is a way since sometimes, some of the apps DO use their
X11 icons.  In fact, emacs is a case in point.   See:

http://www.mi-nts.org/sl/icons.jpg


How did that happen?  When I start emacs, it uses the stock "X" icon.


I hate to sound ignorant, but that is just "how it works" for me.  I sort of 
agree with Larry Hall's comment that there isn't some configuration switch. 
If an app has no icon associated with it then how is Windows supposed to 
know what icon to display.  I don't see those icons for all apps, obviously, 
and I don't know wy some work and some don't.


I don't think it's always been that way.  It seems to me that I started 
noticing those icons a year or so ago, before that there was another icon, 
I'm not so sure it was the X, on all windows.  But somewhere along the line 
some update caused them to appear.


I should also mention that most (I'm not 100% convinced it is all, but it 
might be) of the apps that DO display icons are running on an actual Linux 
box, and Cygwin is simply the X-server.  So it sounds as if perhaps most of 
the apps in the Cygwin distro don't have icon resources built in.  But 
obviously, the Cygwin X-server is capable of passing those icon images to 
Windoze.


--McD


--
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: Window icons in multi-window mode

2008-08-01 Thread John J. McDonough, WB8RCR


- Original Message - 
From: "Larry Hall (Cygwin X)" <[EMAIL PROTECTED]>

To: 
Sent: Friday, August 01, 2008 1:36 PM
Subject: Re: Window icons in multi-window mode


I think the lack of an answer can be interpreted as a "no, not that we 
know

of."


Seems as if there is a way since sometimes, some of the apps DO use their 
X11 icons.  In fact, emacs is a case in point.   See:


http://www.mi-nts.org/sl/icons.jpg

--McD


--
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: various X-based apps (konsole, mplayer, mencoder) fail to start

2008-06-24 Thread John J. McDonough, WB8RCR
Do ANY X applications work?  Have you ever seen a GUI screen on your XP 
laptop?


Bringing up a Cygwin terminal window is NOT the same as starting an Xterm. 
Do you have the Cygwin X displayed in the tray?


--McD

- Original Message - 
From: "Marco Schuster" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, June 24, 2008 5:51 PM
Subject: various X-based apps (konsole, mplayer, mencoder) fail to start



hello all,

hopefully one of you can help me:
i have a win xp home sp2 laptop here; i have cygwin up and running
(mirrors are sunsite.dk and xmission.com). the only thing that does not
work are any of the kde apps (e.g. konsole) or mplayer/mencoder, which
are AFAIR compiled with X support (at least mplayer must be). even if
ran in a (working!) xterm, they simply exit without displaying an error
or other info or displaying some GUI.
this also prevents the kde desktop from being started, as kstartupconfig
suffers from the same problem.

any idea what might go wrong here?

thanks,
the|m.


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





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



Spelling mistake in the FAQ

2008-06-21 Thread John Johnson

In the FAQ at:

7.1. Cygwin/X failed with "Fatal Error". What does this mean?

The Fatal Error is a general error message. More specific information 
what caused this is available in /tmp/XWin.log. Please check the 
common error messages in 
<http://x.cygwin.com/docs/faq/cygwin-x-faq.html#errors>the Section 
called <http://x.cygwin.com/docs/faq/cygwin-x-faq.html#errors>Error 
and Warning Messages. If you're error is not mentioned proceed with 
<http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-message-not-listed>Q: 
7.4.


Where it says:
If you're error is not mentioned proceed with 
<http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-message-not-listed>Q: 
7.4.

Should read:
If your error is not mentioned proceed with 
<http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-message-not-listed>Q: 
7.4.


Yes! I know, I know, I have other - more important - things to do - 
that send messages like this one.
For example: read section 7.1 to find out how to fix the problem that 
brought me there.


Regards,
John Johnson





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



Problem with Cygwin/FC9

2008-06-09 Thread John J. McDonough, WB8RCR
I am having a problem where certain applications run very slowly on Cygwin, 
but not on the console.  These applications work fine on Cygwin from FC6. 
This doesn't affect all applications.  The slow applications often seem to 
lock up the entire Cygwin subsystem, although things get unlocked if the 
process that is slow is killed from another terminal.  The Windows sysem 
continues to function normally.


Interestingly, I can't see excessive CPU use in any of the boxes concerned, 
nor much in the way of network activity.  The FC6 server is a 700 MHz 
Athalon, the FC9 a 2.2G Core 2 duo.  A few examples:


Launch times:
Galeon - FC6 21 seconds, FC9 9 MINUTES 38 seconds
Evince - FC6 4 seconds, FC9 3 minutes 12 seconds
emacs - FC6 9 seconds, FC9 10 seconds
gnome-system-monitor FC6 10 seconds, FC9 2 seconds

I can't seem to find a clue why some apps are affected and some not.  I ran 
FC8 for a short time on the FC9 box and didn't notice a problem, but I 
didn't test extensively.  The locking up of the Cygwin-X system leads me to 
suspect a cygwin rather than FC9 issue, and at this point in FC9's life I 
suspect the combination hasn't been used extensively.


--McD


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



stopping the cygwin X Server

2007-11-07 Thread John Windberg
There's a nifty startxwin.bat file for starting the x server, but I
was wondering how to stop it. So I went searching and found:

http://x.cygwin.com/docs/ug/using-stopping.html

When you are done using Cygwin/X, press Alt-F4 to shutdown the X
Server; this is the default key combination to shutdown the X Server.

As far as I can tell, this is quite wrong. Alt-F4 will close any open
window, but not the server, but if you are rootless, and there are no
X apps open, alt-f4 simply closes whichever windows app you have open.
the xwin.exe process continues to run.

You cannot switch to the xwin process to bring it forward to then
close it. There is no way to send an alt-f4 to it.

Should there be a stopxwin.bat?

-j

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



openbox works, but how do I get the middle mouse button to display a menu?

2007-08-15 Thread John F Davis

Hello

I have openbox working, but when I click my middle mouse button on my
windows desktop it opens windows desktop dialog.

On a related issue, if I use openbox and icon a window, I can not access
the windows anymore.  Openbox on linux accesses the icon'd windows via the
middle mouse button clicked on the desktop.

Please advise.

JD


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



patch for openbox to work

2007-08-15 Thread John F Davis

Hello

I was trying to get openbox to run in X.  I read some posts and managed to
get it working.  One change needed to be made to /usr/X11R6/bin/bsetbg
similar to the bzdiff patch in 2004.

Here is the patch for that file.

--- bsetbgold   2007-08-15 10:48:58.0 -0400
+++ bsetbgnew   2007-08-15 10:48:38.0 -0400
@@ -602,7 +602,7 @@
 VERSION=1.12
 MORE="(C) 2000 by lordzork industries (http://lordzork.com/)"
 PATH=$PATH:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
-TMPFILE=`tempfile --prefix=bsetbg`
+TMPFILE=`mktemp /tmp/bsetbg` || `tempfile --prefix=bsetbg`
 ARGUMENT=$1


Also, per the other emails, this is how I am starting openbox from my
cygwin shell.


#!/bin/sh
# mystartx
/usr/X11R6/bin/Xwin.exe :0 -rootless&
/usr/bin/xterm -bg black -fg green -sb -rightbar -display :0 &
/usr/bin/xterm -bg black -fg green -sb -rightbar -display :0 &
/usr/X11R6/bin/openbox -display :0


Lastly, nothing would have happen without the help of Soren Andersen
(somian) on #cygwin on irc.openprojects.org

JD


ps. anybody got the popup menus or bbkeys working?


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



winProcSetSelectionOwner - OpenClipboard () failed: 00000578

2007-08-10 Thread John Allwright
Hi,

I found the solution to this problem at
http://thread.gmane.org/gmane.os.cygwin.xfree/9707, posted by Peter
Oliver.

Here's Peters solution...

On Wed, 14 Jan 2004, James Simonsen wrote:

> I am still experiencing problems with -clipboard and XDMCP [with GDM].
> Copy and paste between linux/windows works fine in the login dialog,
> but stops working as soon as I log in.

I had exactly the same trouble with GDM, and found that if you set
"KillInitClients=false" in gdm.conf the problem goes away.

This setting seems to be true by default, so a fix/workaround in
Cygwin/X itself would be helpful if possible.  Perhaps the clipboard
daemon could be made to automatically reconnect whenever it is
disconnected?

The comment that goes with the KillInitClients option is a little
misleading, BTW:

# To try to kill all clients started at greeter time or in the Init
script.
# doesn't always work, only if those clients have a window of their own

Presumably this means that clipboard support is implemented with some
kind of invisible window?

-- 
Peter Oliver
Midrange Services
Aquila Networks Services Ltd


Hope that helps!

Regards,
John

ipTEST Ltd is registered in England and Wales. Registered number:
05822155. Registered office: 15 The Pines, Broad Street, Guildford,
Surrey GU3 3BH. Main telephone number: +44 (0)1483 567218. Website:
http://www.iptest.com

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



Fw: feedback on a configuration package for X11/ctwm|twm

2007-07-22 Thread John S. Urban


I have had a good number of friends and associates ask for a copy of a 
directory that sets up and starts
X11 with the ctwm or twm window manager for CygWin.  Enough so, that I put a 
copy of the directory into

a uuencoded file at
  cygstart http://home.comcast.net/~urbanjost/CYGWIN/index.html
Along with the expected ".twmrc" file are a large number of scripts. One 
relatively unique aspect of the
configuration is that all the files to set up X11 resources, to provide 
scripts used by the menu options,
and to configure the startup of X11 are all contained in a single directory 
so that the use of this configuration
will not interfere with any other setups you have. One favorite feature 
seems to be my configuration of
xterm windows. Xterm windows have a number of useful features that are often 
underutilized because
they are not configured in the default settings. In this configuration a 
default xterm will have a large scrollbar
buffer already set up, and gives you easy access to "window manager" 
functions and smooth scrolling:




XTerm Alt-key actions
#--#-#-#
| vi-like scrolling| font size change| Other 
|

#--#-#-#
|   e   up one line|  +  bigger  |  t  toggle logging 
|
|   y   down one line  |  -  smaller | (if allowed) 
|
|   u   up half page   |  N  text size  N=[0-6]  |  s  secure 
|
|   d   down half page | | 
|
|   b   backward full page | | 
|
|   f   forward full page  | | 
|

#--#-#-#
| Window Manager Ops   | Cut and Paste 
|
|   i  iconify |  Mouse1   mark 
|
|   m  maximize|  double-click Mouse1  mark word 
|
|   r  restore |  triple-click Mouse1  mark line 
|
|  |  Mouse2   paste 
|
|  |  Mouse3   extend mark 
|

#--#---#
| Ctrl-mouse1 - main menu 
|
| Ctrl-mouse2 - VT options 
|
| Ctrl-mouse3 - font menu 
|

#--#
A number of shell scripts will also be in the default search path (assuming 
you have a

relatively new xterm(1) ):

FONT SIZE:
  fixedchange font size
  fixed 10# change to 10-point font
   fixed 10 0  # list all 10-point fonts
   fixed 10 3  # pick 3rd 10-point font

  [0-6]Pick from default xterm font menu (ctrl-mouse3).
  up   Pick next larger font from default font menu
  down Pick next smaller font from default font menu

WINDOW SIZE:
  full make xterm size of display.
  full # maximize xterm
full 10  # change to 10-point font and maximize.

  fullback undo the change done by a simple full(1)

  132  make screen 132 columns wide

  80   make screen  80 columns wide

  smallchange to a 80x24 small font window
  small # make size change, leave current font
   small [0-6] # also change to standard font 0-6
   small OTHER # pass OTHER to fixed(1)

  tall make window as tall as display

WINDOW MANAGER:
  icon iconify/un-iconify xterm

  raiseraise xterm window on display

  lowerlower xterm window on display

kolorchange background and foreground color
   kolor  # show all background colors
   kolor background_color
   kolor background_color foreground_color


There are a lot of other "goodies" in the configuration that bring 
often-overlooked cygwin/X11/ctwm|twm features

to your fingertips, such as ...
under the menus
 left-mouse-->Other Window Managers -->
are options to start almost all the "standard" window managers in new server 
instances independently or

via Xnest.

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



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

Thanks

2007-01-25 Thread DR . JOHN AGU
Dear:Friend, 

 

Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 25 Jan 2007 15:21:58 + (UTC)

This is the documents that you requested for and the only thing remaining is 
your Bio-data for me to know you more and the Memorandum of understanding,  
that we have to agree upon before embarking on this transaction: 

 

find attached 

1.   My Identity card of where I work 

 

2.   The invoice of the transaction 

 

3.  The publication advert for the contract before it was awarded 

 

4. Copy of my International passport



Get back to me as soon as you are through with the confirmation of this 
documents. 

I will call you later today, when am back from inspection site.

 

Thanks 

 

Dr. JOHN AGU 

234-802-5922608







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

2006-10-06 Thread John Breslin
I got it from ftp://sunsite.dk via setup.exe

--
Where'd you get the startgnome.bat?  This file
shouldn't even be here!
In other words, what mirror did you use to install Cygwin?

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



GNOME Please Help

2006-10-05 Thread John Breslin
I installed Cygwin/Gnome and when i run
c:\cygwin\startgnome.bat /f
the X server window appears, disappears, and all i'm
left with is this log, and i'm not sure what to do
next to get Gnome to start.

Thank you,

John

/opt/gnome/bin/startgnome: line 45: [: too many
arguments
/opt/gnome/bin/startgnome: line 51: [: too many
arguments
starting gnome on display :0

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

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0 

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be
set to root
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
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported
engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display
depth of 32 bits per pixel
winFinishScreenInitFB - Masks: 00ff ff00
00ff
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: "0409" (0409)

(--) Using preset keyboard for "English (USA)" (409),
type "4"
Rules = "xorg" Model = "pc105" Layout = "us" Variant =
"(null)" Options = "(null)"
(--) 3 mouse buttons found
Could not init font path element
/usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element
/usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
winPointerWarpCursor - Discarding first warp: 797 573
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled,
returning.
/opt/gnome/etc/startgnomerc: line 23: [: too many
arguments
/opt/gnome/etc/startgnomerc: line 27: [: too many
arguments
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/"
refcount is 2, should be 1; fixing.

waiting for X server to shut down .(II) XF86Config is
not supported
(II) See
http://x.cygwin.com/docs/faq/cygwin-x-faq.html for
more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported
engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winFinishScreenInitFB - Masks: 00ff ff00
00ff
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: "0409" (0409)

(--) Using preset keyboard for "English (USA)" (409),
type "4"
Rules = "xorg" Model = "pc105" Layout = "us" Variant =
"(null)" Options = "(null)"
(--) 3 mouse buttons found
Could not init font path element
/usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element
/usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/"
refcount is 2, should be 1; fixing.
winDeinitMultiWindowWM - Noting shutdown in progress




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



XDMCP through a NAT firewall.

2006-08-14 Thread John McEntee
I need a fairly simple X server using XDMCP, that has one vital function, it
can work from behind NAT! I would much prefer this to be a GPL based X
server as well.

I have a windows destop with the ipaddress 192.168.0.1
I also have an ADSL router with ipadress 192.168.0.254 on the local LAN and
216.239.59.147 on the internet.
I want to connect to 72.14.205.19 with XDMCP.

The command
Xwin.exe -ac -from 216.239.59.147 -query 72.14.205.19
fails with an error message of
Xserver: failed to bind to -from address: 216.239.59.147

My understanding of the problem.
Although I can get the ADSL router to NAT 192.168.0.1 to 216.239.59.147 so
the packet from 192.168.0.1 to 72.14.205.19 have the from address is
216.239.59.147. I understand the inital UDP 177 packet embeds the
192.168.0.1 address. This results in the remote server (72.14.205.19)
sending the response to the windows desktop (192.168.0.1) which it cannot
reach. I wish to be able to embed the router/firewall (216.239.59.147)
ipaddress in the orginal conection from the windows desktop 192.168.0.1 so
the remote server (72.14.205.19) replies to the router/firewall
(216.239.59.147)


How easy would it be to change the source code of Xwin.exe to do this?

Thanks

John

P.S. x11 Tunnelling with ssh is not a option. The above ipaddress are
complete fiction, and the connection is actually a private WAN link which
reduces the security concerns.


___

The contents of this e-mail and any attachment(s) are strictly confidential and 
are solely for the person(s) at the e-mail address(es) above. If you are not an 
addressee, you may not disclose, distribute, copy or use this e-mail, and we 
request that you send an e-mail to [EMAIL PROTECTED] and delete this e-mail.  
Stirling Dynamics Ltd. accepts no legal liability for the contents of this 
e-mail including any errors, interception or interference, as internet 
communications are not secure.  Any views or opinions presented are solely 
those of the author and do not necessarily represent those of Stirling Dynamics 
Ltd.
___

This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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



"United Kingdom Extended" keyboard layout

2006-07-07 Thread John Beranek

I noticed that the latest Cygwin/X doesn't recognise the "United Kingdom
Extended" keyboard layout, so if you do happen to use this keyboard
layout on XP, you end up with a US layout unless you modify your X
startup script to set the keymap to 'gb'. So, as the FAQ suggests, I'm
sending an email to the list...

(--) winConfigKeyboard - Layout: "0452" (0452)
(EE) Keyboardlayout "United Kingdom Extended" (0452) is unknown

Layout code is generally 'gb', if I understand the terminology
correctly, but what it adds is deadkeys on `, and AltGr-"^'~, plus a few
more AltGr combinations.

See: http://www.microsoft.com/globaldev/keyboards/kbdukx.htm

That's all,

John.

-- 
John Beranek To generalise is to be an idiot.
http://redux.org.uk/ -- William Blake


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



Weird Dialog Problem

2006-06-22 Thread John Alberts

Hi.  I'm trying to use Cygwin-X as a replacement for Exceed.
Everything seems to work great except for one extrememly annoying and
time consuming problem.  If a program pops up a dialog that is
supposed to be topmost (always visible on top of other windows), it
doesn't stay on top.  This happens when I'm running Cygwin-X by using
the startxwin.bat file with the option 'XWin_GL -multiwindow'.

Here's what happens.  We are using a program called Gambit (kind of
like a cad application).  On the right side of the main window is a
column with buttons you can click on for doing things like creating
lines and cubes.  When you click a button, a dialog pops up that is
positioned just below the button and still inside this right side
column that is supposed to be always on top.  This allows you to click
a button in this dialog and then draw a line in the main window area,
and then click back in the dialog.  The problem is, this dialog won't
stay on top.  As soon as you click in the main window, the dialog
falls beneath the main window.

Is there any way to fix this?

Thanks

John

--
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: Scaleable fonts

2006-04-05 Thread John Rehill
Am posting this here, due to the fact below that it was pointed out this is
more a cygwin/x thing...

So what is the purpose of the cygwin/x scaleable fonts?  How exactly are
they implemented into the running of cygwin & cygwin/x?

Thanks in advance

____
John Rehill
IT Systems Support
Ph: (08) 8205 2405
EM: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Igor Peshansky
Sent: Wednesday, 5 April 2006 10:41 PM
To: John Rehill
Cc: cygwin@cygwin.com
Subject: Re: Scaleable fonts

On Wed, 5 Apr 2006, John Rehill wrote:

> Hi guys,
>
> Newbie here.  Am trying to get scaleable fonts in a command window
> running under cygwin.  I have installed xorg-x11-fnts (6.8.1.0-3) and
> xorg-x11-fscl (6.8.1.0-2) but from there I'm at a loss as to how to
> implement them.  I don't care what font is actually used, as long as
> it's readable but I want to have it so that when the user changes the
> window size or maximizes it, the fonts 'grow' with the window.

Those are X fonts, and thus not applicable to the Windows cmd window.
AFAIK, there is no way to get the Windows cmd window to display in a font
that is rescaled when the window is resized (not on WinXP, at least).
Win98 has such a feature, IIRC.

You could try to run rxvt in the Windows-native mode -- perhaps it has
some option to change font scaling when resized.

> Oh and sorry if this is to the wrong group I figured this was a cygwin
> thing and not a cygwin/x thing.  Still getting to grips with the system
> so not sure where one begins and the other ends.

No, you're correct -- other than mentioning the X fonts, this has nothing
to do with Cygwin/X.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] |
[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name
changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Newbie help

2006-04-03 Thread John Rehill
John Rehill wrote:

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

René Berber replied

Uh? where exactly did you read that?

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

René Berber replied

Type startx in a Cygwin window.


--

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

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

What am I doing wrong?

Thanks for the help btw...


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



Newbie help

2006-04-03 Thread John Rehill
Hey guys,

Total newbie here in relation to not only cygwin & cygwin/X but also to
UNIX... I'm a total windows slave.

Anyway I've been given the delightful task of trying to configure cygwin and
cygwin/X server for use on our systems.  But I've run into a wall.  Well
actually quite a few really but I'll get to the point of the first one...

How do I enable cygwin/X server as a service on Windows 2k & XP?  I've read
the help files and FAQ but although it said to use the cygserver-config
script I'm at a lost as to how to do that.

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



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



XWin.exe uses 100% CPU when running windows installer

2006-03-22 Thread John Farrelly
I am having a problem on a Windows 2000 Pro machine where XWin.exe
uses 100% of the CPU continually when I run a program which uses the
windows installer. For example, I tried installing iTunes:  the iTunes
installation hung, and the CPU went up to 100%.  I had to shutdown
XWin, and then the iTunes installation continued.

I have seen this with some other program installations on Windows.

I use the command '%RUN% XWin -fullscreen -clipboard
-silent-dup-error' to start the server, and I use WindowMaker as my
WM, but it is the XWin.exe process which is spiking.

Any ideas?

Thanks,
John.

[EMAIL PROTECTED] ~> uname -a
CYGWIN_NT-5.0 localhost 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin

--
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: rfe: seamless windows integration

2006-02-17 Thread John Peery
In response the post below:

http://www.cygwin.com/ml/cygwin-xfree/2003-08/msg00187.html

I just wanted to say that it's possible to run XWin.exe as a service on Windows 
NT/2K/2K3 using SRVANY.exe and properly configuring the Xn.hosts file.

We ran into a situation with an Oracle Reports service that a customer of ours 
was using that needed to use the fonts supplied from an XServer running on 
Windows (using Microsoft TTF fonts).  The solution they were using was not a 
very good one but, nonetheless, we were able to get it working in order to 
fulfill their needs.

Just something to pass along.

Thanks,


John Peery

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

--
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 Freeze with Win98SE and -clipboard in eclipse

2006-02-16 Thread John and Holly Klug

from startxwin.bat:

XWin -multiwindow -clipboard -silent-dup-error &

Output was:

winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows 95/98/Me
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - winInitClipboard returned.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully 
opened the display.


It works until I start eclipse.

--
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: Does xming -from work?

2006-02-14 Thread John and Holly Klug
My only reason for pursuing XDMCP was to improve network performance, 
and Cygwin shows this is not going to happen.


But for the benefit of the Xming project, -from apparently does not work.

My IP address is not fixed.

The following worked (from cygwin):
$ Xwin -query 192.61.248.23 -nodecoration -lesspointer -from 
172.17.4.209 -notrayicon -logverbose 3



Same results with xming from source forge

C:\Program Files\Xming>Xming -query 192.61.248.23 -nodecoration 
-lesspointer -from 172.17.4.209 -notrayicon -logverbose 3



Welcome to the Xming X Server
Vendor: The Xming Project
Release: 6.9.0.0-0
Contact: [EMAIL PROTECTED]

glWinInitVisuals:1526: glWinInitVisuals
init_visuals:1068: init_visuals
glWinScreenProbe:1401: glWinScreenProbe
fixup_visuals:1314: fixup_visuals
init_screen_visuals:1347: init_screen_visuals
(--) Setting autorepeat to delay=250, rate=15
(--) winConfigKeyboard - Layout: "0409" (0409)
(--) Using preset keyboard for "English (USA)" (409), type "4"
(--) 3 mouse buttons found
Could not init font path element C:\PROGRAM FILES\XMING/fonts/CID/, 
removing from list!
Could not init font path element C:\PROGRAM FILES\XMING/fonts/75dpi/, 
removing from list!
Could not init font path element C:\PROGRAM FILES\XMING/fonts/100dpi/, 
removing from list!


Fatal server error:
XDMCP fatal error: Session declined No valid address

winDeinitMultiWindowWM - Noting shutdown in progress

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



VPN performance

2006-02-12 Thread John and Holly Klug
I must use Nortel VPN.  Without A/V or firewall, or any ATI programs, 
the performance of Cygwin/X using ssh -Y -C is at least 5 times slower 
in 6.8.2.0-4 than using VNC4.1.1 with VNC3.3 protocal and no tunneling.


Using ssh tunneling, VNC slows down dramatically.

Seeing this I tried XDMCP (no tunneling, except the VPN), but that was 
very slow as well.


Is there a way to reduce colors, or some other performance trick?  
-depth didn't seem to help.


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



Xwin Freeze with Win98SE and -clipboard in eclipse

2006-02-12 Thread John and Holly Klug
This occurs for me in eclipse IDE, just after selecting a workspace, or 
canceling eclipse from the workspace selection screen.


The same operation in Windows 2000 or Windows XP is OK.

KDE Kate allows me to copy to and from the clipboard in Windows 98SE.  
There are no freezes.


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



Apologies over using Subject line for 'reference'

2005-09-19 Thread John Ormerod
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.
 
----
---
John Ormerod
erebor limited


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



FW: [EMAIL PROTECTED]

2005-09-17 Thread John Ormerod
From: John Ormerod [mailto:[EMAIL PROTECTED]
Sent: 17 September 2005 10:57
To: 'cygwin-xfree@cygwin.com'
Subject: [EMAIL PROTECTED]


If the Subject line looks strange It's my guess at getting a
'references' line into this - I've noticed that moast replies have one,
but I have to admit defeat in finding out how its done. No doubt the
answer will be obvious once pointed out

Ref Dan's comment>>  FYI - I'm using Zone Alarm Pro 5.5.062 with Cygwin
without any problems. 

I was on this level until a few weeks ago when I upgraded to 6.0 - so
this may have gone backwards. There is a recent update to 6.0, but due
to a gotcha with the Cicsco VPN client having to be installed after ZA,
I have put this off. Maybe this patch will let Cygwin work. Maybe it's
the combination of Cicsco VPN and ZA that actually upsets Cygwin. Might
be the phase of the moon... We live in interesting times


----
---
John Ormerod
erebor limited



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



My attempt to use Cygwin seems doomed to failure in spite of...

2005-09-16 Thread John Ormerod
... all the willing help I've received - esp from Reid. I do appreciate you
all taking the time to give me info and clues etc.

My conclusion is there is something on my system that prevents Xwin.exe and
/ or xterm.exe from completely initialising.

I've removed most of the original text of this apend, as while I was closing
down my stuff, I spotted something!

>From FAQ

<<

7.6. Why does Cygwin/X freeze right after startup?

Zone Alarm 5 is known to break Cygwin/X. As a result you'll see this line
(or a similar) as last output in /tmp/XWin.log

Rules = "xorg" Model = "pc101" Layout = "us" Variant = "(null)" Options =
"(null)"

Disabling Zone Alarm will not solve this problem. You can only uninstall
Zone Alarm 5 and switch to an earlier version (4.5 is known to work) or use
a different personal firewall.

>>

I found this, but it is NOT in the xwin.log. By chance this time, I had
started xwin.exe in a cmd prompt and I could see the stdout messages. These
are pretty much what's in the log, except for the last line!

==> Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options
= "(null)"

So, I guess that's it - it's ZA, bless it. I can't not use it, so I guess I
can't use Cygwin. Shame, I was getting quite fond of it.

As a long shot, I'll see if I can find the ZA forum and ask / search.

BTW, I discovered what is making cygwin run slowly - it is vsmon.exe that
runs when ZoneAlarm anti-virus checking is on (it usually is) - as soon as
any X-component starts the cpu consumption for vsmon rockets.

Thanks again everyone


---

John Ormerod

erebor limited 



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



Can't display remote clients

2005-09-15 Thread John Ormerod
Apologies if I'm pumping out too much information on my problems. Have gone
through the User Guide in search of inspiration.

At the end in the section on Displaying Remote Clients - Telnet, I thought
I'd found a possibility - sadly no. However, the results might provide a cue
as to why my install / system is failing to work.

>From the manual:
1. Make sure you have the inetutils package installed.
==> I did not have this as it was not in the X11 package. Found it and
installed.

2. Launch Cygwin/X
==> I assumed this meant runing cygwin.bat to start bash. Took a long time,
but eventually  got a $ prompt.

3. In an X terminal type /usr/X11R6/bin/xhost remote_hostname_or_ip_address
==> This failed - maybe there's a good clue here, especially the "" for
display name? 
<<
[EMAIL PROTECTED] ~
$ /usr/X11R6/bin/xhost rhlwasone
/usr/X11R6/bin/xhost:  unable to open display ""
>>

4. In an X terminal type /usr/bin/telnet remote_hostname_or_ip_address.Use
the
explicit path to ensure that Cygwin's telnet is run instead of Microsoft's
telnet; Microsoft's telnet
will crash on startup when run from Cygwin/X.
5. Login to your remote machine via your telnet session
6. In your telnet session type, DISPLAY=windows_hostname_or_ip_address:0.0
7. In your telnet session type, export DISPLAY
==> I continued to see what would happen.
<<
[EMAIL PROTECTED] ~
$ /usr/bin/telnet rhlwasone
Trying 192.168.183.128...
Connected to rhlwasone.
Escape character is '^]'.
Red Hat Linux release 8.0 (Psyche)
Kernel 2.4.18-14 on an i686
login: ormeroj
Password:
Last login: Thu Sep 15 08:11:40 from ereborjo
[EMAIL PROTECTED] ormeroj]$ DISPLAY=ereborjo:0.0
[EMAIL PROTECTED] ormeroj]$ export DISPLAY
>>

8. You can now launch remote X clients in your telnet session, for example,
xterm& will launch an
xterm running on your remote host that will display on your Cygwin/X screen.
==>
<<
[EMAIL PROTECTED] ormeroj]$ xterm &
[1] 5066
[EMAIL PROTECTED] ormeroj]$ xterm Xt error: Can't open display: ereborjo:0.0
>>
 
John 

---
John Ormerod
erebor limited


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



Using Cygwin instead of SFU 3.5?

2005-09-15 Thread John Ormerod
 Hello
What got me into Cygwin and the problems I'm having is the need to practice
with a product prior to a Proof of Concept.
The product has a fairly complex install - which I will take a step at a
time. It can run in various Unix flavours and Windows. However, for Win it
states that you need to install Services For Unix 3.5. I've not been able to
get the download to work. So I decided to try reversing things by installing
in Vmware/Linux and accessing from Win.

>From what I have seen ('learned' is perhaps too strong a word) over the past
two days, Cygwin - or maybe it's just the bash shell - might be able to
function as a substitute. 

As of now, I have no idea how the product invokes SFU, neither to I have any
idea how the product (or any other) would invoke Cygwin 'from outside', so
to speak.

Can anyone offer a clue as to how I can integrate Cygwin in to Windows so
that it will support apps running in Windows like my product? Could it be as
simple as adding to PATH permanently, the same directories used in
startxwin.bat?
 
----
---
John Ormerod
erebor limited
 


--
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 my X Server not fully started? (Rel: 6.8.2.0-4) - some additional results

2005-09-15 Thread John Ormerod
 Reid

Some more results in case they highlight something.

1. After running startxwin.sh, my cmd prompt showed these last lines:
<<
...
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options =
"(null
)"
>>
 
2. I was not put back to the $ prompt, but I could interact with something.
However, this resulted in error messages. After about 3 attempts, I was back
at the $ prompt. XWin etc still running though. No xterm window opened
(assuming one was supposed to)
<<
[EMAIL PROTECTED] /usr/X11R6/bin
$ ps -ef
 UID PIDPPID TTY STIME COMMAND
JOrmerod3412   1 con  07:53:17 /usr/bin/bash
JOrmerod4740   1 con  08:06:31 /usr/X11R6/bin/XWin
JOrmerod4368   1 con  08:06:31 /usr/bin/xterm
JOrmerod18044740 con  08:06:36 /etc/X11/xkb/xkbcomp
JOrmerod54003412 con  08:37:16 /usr/bin/ps
>>

3. More tests. These may be a bit hard to follow, given no ability to
format. Will do my best.

3.1
==>I entered a: ? (well, why not!)
==> the log and cmd window displayed:
<<
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-4

Contact: cygwin-xfree@cygwin.com

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
XWin was started with the following command line:

X 

winCheckDisplayNumber - Cygwin/X is already running on display 0

Fatal server error:
InitOutput - Duplicate invocation on display number: 0.  Exiting.
>>

==> This also resulted in a GUI error prompt saying much the same thing.

3.2
==> Entered another ? and a CR. Similar or same entries in the log (it gets
overwritten each time)
==> My final CR produced the following in the cmd window, which then exited
whatever it was'in', and put me back to $ prompt (the log did not contain
the same contents)
<<
[EMAIL PROTECTED] /usr/X11R6/bin
$ ?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:

XWin -multiwindow -clipboard -silent-dup-error

_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winCheckDisplayNumber - Cygwin/X is already running on display 0

Fatal server error:
InitOutput - Duplicate invocation on display number: 0.  Exiting.

winDeinitMultiWindowWM - Noting shutdown in progress
X connection to 127.0.0.1:0.0 broken (explicit kill or server shutdown).
>>

The ps -ef at start of this append, show the three processes still running.
The X icon is in the system tray, but does not respond to mouse clicks.

4.
I exited the shell and then reran cygwin.bat. BTW, it does indeed take 60
secs to start.
The same 3 processes we still running.

I could kill xterm. 
But xkbcomp responded with: bash: kill: (1804) - Resource temporarily
unavailable
And Xwin did nothing.

5. 
Using Windows' Task Mgr to stop processes:
Ending xkbcomp resulted in Xwin going as well!? The cmd window displayed:
<<
[EMAIL PROTECTED] ~
$ (EE) Couldn't open compiled keymap file /tmp/server-0.xkm
(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 li
st!
winPointerWarpCursor - Discarding first warp: 512 384
winDeinitMultiWindowWM - Noting shutdown in progress
>>

I'll stop now.

John


---
John Ormerod
erebor limited 


--
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 my X Server not fully started (Rel: 6.8.2.0-4)

2005-09-15 Thread John Ormerod
See below.

Jack Tanner wrote:
<<
 John Ormerod wrote: 

I get the X icon showing in the system tray, but it's 'dead'. By
which I
mean there I no context menu for it - I get the impression from
reading
around that there should be a menu... even if only to stop it. 


If I let the mouse pointer hover over it, the tool tip says:
Cygwin/X Server
- 0:0



The icon in the system tray is supposed to react to two inputs:
- a double-click with the left mouse button should trigger the "Exit" dialog
- a right-click should pop up a menu that is trivially simple until
customized with an xwinrc file.

Does yours react to neither? 
 >>

Jack

The X icon in the system tray does not respond to any mouse clicks.
Currently this was started from within the bash shell as requested by Reid.

I also wonder if the 'xterm' should open an xterm window in Windows? It
doesn't.

FWIW, my windows PATH is 897 bytes when %xxx% symbolics are resolved. So
when the .bat scripts append to the front it may be getting to whatever
limit Windows has these days, or a possible limit that Cygwin can handle.

Regards, John 

----
---
John Ormerod
erebor limited


--
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 my X Server not fully started? (Rel: 6.8.2.0-4) - results

2005-09-15 Thread John Ormerod
Reid

I did as you requested - see below. 
BTW, there is a delay of 3-4 seconds for cmds like 'ps -ef'. Is this normal?
(Thinkpad T41 with 2Gb RAM) 

>> Open a cygwin bash shell, using cygwin.bat.

I did this from cmd prompt. It appeared to be stuck for what seemed a long
time - though maybe it was actually between 30-60 secs. Then the prompt came
alive and resized itself.
--

>> make sure that X is not running,,,
>> $ ps -ef | grep X
>> should not list Xwin

[EMAIL PROTECTED] ~
$ ps -ef | grep X

[EMAIL PROTECTED] ~
$ ps -ef
 UID PIDPPID TTY STIME COMMAND
JOrmerod3412   1 con  07:53:17 /usr/bin/bash
JOrmerod40083412 con  07:58:20 /usr/bin/ps
---

>> from the command line call
>> $ startxwin.sh
>> what does this result in?

[EMAIL PROTECTED] ~
$ pwd
/cygdrive/c/Documents and Settings/John Ormerod


[EMAIL PROTECTED] /usr/X11R6/bin
$ startxwin.sh

[EMAIL PROTECTED] /usr/X11R6/bin
$ 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:

XWin -multiwindow -clipboard -silent-dup-error

_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
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/TT
F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/
lib/
X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winPrefsLoadPreferences: /usr/X11R6/lib/X11/system.XWinrc
LoadPreferences: syntax error, unexpected STRING line 1
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: 1024 height: 768 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
shar
ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0809" (0809)
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
Rules = "xorg" Model = "pc105" Layout = "gb" Variant = "(null)" Options =
"(null
)"

--

I did some further investigations - results in separate append to keep this
one down in size

Regards, John



---
John Ormerod
erebor limited


-Original Message-
From: Reid Thompson [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2005 00:22
To: cygwin-xfree@cygwin.com; [EMAIL PROTECTED]
Subject: Re: Is my X Server not fully started? (Rel: 6.8.2.0-4)

Try the following.

Open a cygwin bash shell, using cygwin.bat.
make sure that X is not running,,,
$ ps -ef | grep X
should not list Xwin

from the command line call

$ startxwin.sh

what does this result in?


--
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 my X Server not fully started? (Rel: 6.8.2.0-4)

2005-09-14 Thread John Ormerod
 
Reid
Thanks for providing me with the info. Sadly, no progress.

1. "run xterm -e /usr/bin/bash -l" was being invoked, the only change I had
made to startxwin.bat was the options for XWin.exe

2. I restored the  '-clipboard -silent-dup-error parms' - see from the log:
<<
XWin was started with the following command line:
/usr/X11R6/bin/XWin -multiwindow -clipboard -silent-dup-error  
>>

3. I created a /usr/X11R6/lib/X11/system.Xwinrc file by pasting in the lines
from your reply and joining up the split comment lines - I used UltraEdit
and saved it in UNIX file format.

I still end up in the same position. The 'X' icon shows up in the system
tray, but I  can't interact with it.

One of things I found today while searching, said that after the X icon
appears, I should get a terminal window open (with horrible colours!), but I
don't get that. My guess is that such a window could be expected from the
'run xterm...' statement?.

Regards, John


----
---
John Ormerod
erebor limited
 

-Original Message-
From: Reid Thompson [mailto:[EMAIL PROTECTED] 
Sent: 14 September 2005 19:41
To: John Ormerod
Subject: RE: Is my X Servier not fully started (Rel: 6.8.2.0-4)

Reid Thompson wrote:
> John Ormerod wrote:
>> Hello
>> I've been struggling all day in what is a new world for me. I need to 
>> have GUI access to a Linux system that runs in a
> 
> did you comment out this line from your .bat file?
> If you did, uncomment it.
> 
> run xterm -e /usr/bin/bash -l
> 
> 
> 
> ...snip
> REM Startup the X Server with the integrated Windows-based window 
> manager. REM WARNING: Do not use 'xwinclip' in conjunction with the 
> ``-clipboard'' REM command-line parameter for XWin.  Doing so would 
> start two clipboard REM managers, which is never supposed to happen.
> 
> run XWin -multiwindow -clipboard -silent-dup-error
> 
> 
> REM Startup an xterm, using bash as the shell.
> 
> run xterm -e /usr/bin/bash -l
> 
> 
> ..snip
> 
> 
> I believe the context menu you are referring to is controlled by a 
> .XWinrc file in your home directory
> 
> $ cat .XWinrc
> # XWin Server Resource File - EXAMPLE
> # Earle F. Philhower, III
> 
> # Place in ~/.XWinrc or in /usr/X11R6/lib/X11/system.XWinrc
> 
> # Keywords are case insensitive, comments legal pretty much anywhere # 
> you can have an end-of-line
> 
> # Comments begin with "#" or "//" and go to the end-of-line
> 
> # Paths to commands are **cygwin** based (i.e. /usr/local/bin/xcalc)
> 
> # Paths to icons are **WINDOWS** based (i.e. c:\windows\icons)
> 
> # Menus are defined as...
> # MENU  {
> #EXEC
> #   ^^ This command will have any
> "%display%" #  string replaced with
> the
> proper display
> #  variable (i.e.
> 127.0.0.1:.0)
> #  orMENU
> #  orALWAYSONTOP
> # ^^ Sets the window to display above
> all others
> #  orRELOAD
> # ^^ Causes ~/.XWinrc or the
> system.XWinrc file
> #to be reloaded and icons and
> menus regenerated
> #  or   SEPARATOR
> #   ...
> # }
> 
> # Set the taskmar menu with
> # ROOTMENU 
> 
> # If you want a menu to be applied to all popup window's system menu # 
> DEFAULTSYSMENU  
> 
> # To choose a specific menu for a specific WM_CLASS or WM_NAME use ... 
> # SYSMENU {
> #   
>  
> #   ...
> # }
> 
> # To define where ICO files live (** Windows path**) # ICONDIRECTORY 
> 
> 
> # To define a replacement for the standard X icon for apps w/o 
> specified icons
> # DEFAULTICON   
> 
> # To define substitute icons on a per-window basis use... # ICONS {
> # #   ...
> # }
> # In the case where multiple matches occur, the first listed in the 
> ICONS # section will be chosen.
> 
> # DEBUG  prints out the string to the XWin.log file
> 
> // Below are just some silly menus to demonstrate writing your // own 
> configuration file.
> 
> // Make some menus...
> menu apps {
> rxvt-green_on_blackexec"rxvt -sl 2000 -sb -sr -cr
> red -geometry 80x40+200+100 -fg green -bg black -e /usr/bin/bash"
> rxvt-yellow_on_blackexec"rxvt -sl 2000 -sb -sr -cr red
>   -geometry 80x 40+200+100 -fg yellow -bg black -e
> /usr/bin/bash" "Emacs" exec"emacs"
> xterm   exec"xterm"
> notepad e

Is my X Servier not fully started (Rel: 6.8.2.0-4)

2005-09-14 Thread John Ormerod
Hello
I've been struggling all day in what is a new world for me. I need to have
GUI access to a Linux system that runs in a VMWare image in my Win XP + SP2
system.
 
I downloaded the X11 package which I think contains what I require, and let
it install.

I am unable to get an X window (is that the right term?) to open in Windows.
This seems to be a very common problem from my searches. However, I would
like to establish first if the X Server is starting properly.

I get the X icon showing in the system tray, but it's 'dead'. By which I
mean there I no context menu for it - I get the impression from reading
around that there should be a menu... even if only to stop it. 

If I let the mouse pointer hover over it, the tool tip says: Cygwin/X Server
- 0:0

The only way I have found to end this is via the Task Mgr - I see 3
processes: Xwin.exe, xterm.exe, xkbcomp.exe, which  I kill one by one. This
doesn't seem right to me. Hence this question.

I started X Server using startxwin.bat. Researching via Google, I removed
some options to end up with "run XWin -multiwindow"

Here is the XWin.log - that might show that initialisation has not
completed, or a problem during startup.

If this is working as designed, then I'd like to know of a smarter way to
stop it, and I'll join a long list of people who seem to have initial
problems in getting a Unix system to open an X window in Windows (and yes, I
have tried stopping my firewall).

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

/usr/X11R6/bin/XWin -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership
(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/75d
pi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32
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: "0809" (0809) 
(--) Using preset keyboard for "English (United Kingdom)" (809), type "4"
>>

Thanks in advance, regards John
 

---
John Ormerod
erebor limited


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



Testing access

2005-09-14 Thread John Ormerod
Sorry if this looks trivial. I'm now trying to ask a question at the Cygwin
mailing list site, but it doesn't tell me how. Email addresses seem to be
'transliterated' in to xxx at yyy dot zzz. So I'm guessing on how to ask a
question before I describe my problem - I've been at it all day and my head
now hurts...
 
----
---
John Ormerod
erebor limited
 
office  : +44 (0)1962-841138
mobile: +44 (0)7966-653010
email : [EMAIL PROTECTED]
alt : [EMAIL PROTECTED]


--
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: base-files 3.4-2: Permission denied!

2005-05-19 Thread John Morrison
On Thu, May 19, 2005 12:01 am, Angelo Graziosi said:
>
> With this new release there is a
>
>Permission denied
>
> when a NOT-ADMIN user starts the X system (startxwin.bat)
>   
>
> He has not access to remove .X11-unix (see startxwin.bat) when /tmp has
> the "t" permission.
>
> Every user (or only Administrator?) should remove manually .X11-unix
> before the disconnetion from the machine.
>
> In this case there is not "permission denied" for the simple user.
>
> angelo.

Sorry, I don't use startxwin.bat, I can't help with that.  3.4-2 simply
2>/dev/null's the error, perhaps startxwin.bat should too?

J.

PS, *please* don't reply to everyone just the list :)



Re: Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)

2005-05-16 Thread John Morrison
On Sun, May 15, 2005 9:38 pm, Angelo Graziosi said:
>
> When loging as user without admn. priv.
> (e.g.: owner= Graziosi, group= Users)
> the standard bash shell (cygwin.bat) says:
>
>chmod: changing permissions of `/tmp': Permission denied
>
> This is caused by
>
> if [ -d "/tmp" ]; then
>   chmod 1777 /tmp
> fi
>
> in /etc/profile.
>
> It assign the permission "t" to /tmp but this was already a problem
> with xorg-x11-xwin-6.8.2.0-1 and org-x11-xwin-gl-6.8.2.0-1.
> The next, 6.8.2.0-2, was released exactly to fix that problem.
> The solution was to not assign the "t" permission to /tmp and
> to whatever it contans!
>
> See:
> 
> 
> 
> 
> 
> 
>
> angelo.

Corinna, this was a change you asked for... what would you like me to do?


J.



Re: Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)

2005-05-16 Thread John Morrison
On Sun, May 15, 2005 9:38 pm, Angelo Graziosi said:
>
> When loging as user without admn. priv.
> (e.g.: owner= Graziosi, group= Users)
> the standard bash shell (cygwin.bat) says:
>
>chmod: changing permissions of `/tmp': Permission denied
>
> This is caused by
>
> if [ -d "/tmp" ]; then
>   chmod 1777 /tmp
> fi
>
> in /etc/profile.
>
> It assign the permission "t" to /tmp but this was already a problem
> with xorg-x11-xwin-6.8.2.0-1 and org-x11-xwin-gl-6.8.2.0-1.
> The next, 6.8.2.0-2, was released exactly to fix that problem.
> The solution was to not assign the "t" permission to /tmp and
> to whatever it contans!
>
> See:
> 
> 
> 
> 
> 
> 
>
> angelo.

Corinna, this was a change you asked for... what would you like me to do?


J.



gnuplot: unable to open display ''

2005-03-16 Thread Anthony John Sibthorpe
Hi
I have been unable to view gnuplot images or run the test command even with my
terminal type set to x11, as x11 just aborts.
Nor can I do: startx
as I get the following (no terminal, and just hangs):
$ startx
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-1
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
X :0 -multiwindow -clipboard
(WW) /tmp mounted int textmode
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
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/X1
1/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font
s/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: 1280 height: 1024 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
winMultiWindowXMsgProc - Hello

Not sure what is going on, as I have all the Cygwin x11 options installed.
Plus none of the Cygwin-X icons on the start menu do anything.
Any help at all appreciated.
Ant


RE: bad installation ?

2005-03-10 Thread John Morrison (Cygwin)
Hi Matthew,

Although the message is from base-files the reason is
due to installation.  In my experience this only
occurs when installing for a domain user although
others have reported other reasons for it.

For me, the message occurs because the base-passwd
(which I also maintain) doesn't and (for a number of
reasons, see archives) can't add domain users.

The outcome is, for this user, is that you get added
to a special group.  In an effort to stop or at least
slow ;) the number of emails to the list when stuff
didn't work because their user/group wasn't setup
correctly some detection code was added to base-files
along with some instruction as to what to do.


Basically adding your user (using the domain flag if
appropriate) to the passwd and group files which is
what the message attempts to help the user to do.  It
appears (judging from the number of times this
question isn't now appearing on the lists) to have
worked for most people, but I'm always looking for
perfection ;)

Hope this helps explain things,

J.

On Thu, March 10, 2005 7:22 pm, Matthew Johnson said:
> Hi, John-
>
> Since I myself have no idea why it is outputting that
> message, no I cannot suggest a better message. And I
> notice that when I did a fresh installation of cygwin
> and cygwin/x on a brand new system yesterday, now I am
> getting that message too. Do _you_ have any idea why
> fresh installations did not used to output this
> message, but now they do? Is it a new message, or did
> something change in cygwin or cygwin/x, such that the
> group now gets initialized to 'mkpasswd' (and did not
> get so initialized before)?
>
> --- "Morrison, John" <[EMAIL PROTECTED]>
> wrote:
>
>> As maintainer of the package which outputs that
>> message I'm
>> always glad to hear of ways to improve it.  Can you
>> suggest
>> a better message?
>>
>> J.
>>
>> > -Original Message-
>> > From: Matthew Johnson
>> >
>> > Well, Phil, I read what she posted,
>> > and I do NOT think
>> > it tells "all Banibrata needs to know".
>> >
>> > The big unanswered question that is probably still
>> > bothering Banibrata is, "how on earth did the
>> >group get to be 'mkpasswd' in the first place?"
>> > I very much doubt that Banibrata set it to that.
>
> And now I can add, I _know_ I did not set it to that,
> yet now I get the message too, when starting up the
> bash shell.
>
> [snip]
>
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
>




RE: bad installation ?

2005-03-10 Thread Morrison, John
As maintainer of the package which outputs that message I'm
always glad to hear of ways to improve it.  Can you suggest
a better message?

J.

> -Original Message-
> From: Matthew Johnson 
> 
> Well, Phil, I read what she posted, and I do NOT think
> it tells "all Banibrata needs to know".
> 
> The big unanswered question that is probably still
> bothering Banibrata is, "how on earth did the group
> get to be 'mkpasswd' in the first place?" I very much
> doubt that Banibrata set it to that. And I have never
> seen that in Cygwin or Cygwin/X before. So it sounds
> like some drastic error condition did this. And if it
> did, who knows what _else_ is messed up in the
> installation? THAT is what Banitrata needs to know; it
> was NOT contained in the message.
> 
> Another thing Banibrata needs to know that was not
> explained is which of the FOUR methods of rebuilding
> the password file is appropriate for this condition.
> 
> Now it may very well be that the readers of the list
> cannot answer this for Banibrata, since it varies from
> case to case, and Banibrata simply has to knuckle-down
> and read the man pages. But even if this is the case,
> some guidelines for how to intepret the man pages
> would be the right, helpful response.
> 
> To that end, I propose to Banibrata the following
> questions:
> 
> 1 - do you need remote access?
> 2 - what version of Windows are you running?
> 3 - do you have access to the Domain Controller?
> 4 - where do you have your home directory
> (directories)?
> 
> The answers to these questions will tell you whether
> or not you need the '-d' option, etc.
> 
> --- Phil Betts <[EMAIL PROTECTED]> wrote:
> > On Wednesday, February 23, 2005 6:23 PM, Banibrata
> > Dutta wrote:
> > > Could anybody explain the following behaviour or
> > Cygwin and "startx"
> > > in Cygwin...
> > > 
> > > 
> > > 
> > > Your group is currently "mkpasswd". This indicates
> > that
> > > the /etc/passwd (and possibly /etc/group) files
> > should be rebuilt.
> > > See the man pages for mkpasswd and mkgroup then,
> > for example, run
> > > mkpasswd -l [-d] > /etc/passwd
> > > mkgroup  -l [-d] > /etc/group
> > > Note that the -d switch is necessary for domain
> > users.
> > 
> >  
> > 
> > > Could someone please help ?
> > 
> > Did you actually *read* what you posted?
> > 
> > It tells you all you need to know.


This e-mail has come from Experian International: winner of the UK's National 
Business of the Year Award 2003.

==
Information in this e-mail and any attachments are confidential, and may 
not be copied or used by anyone other than the addressee, nor disclosed 
to any third party without our permission. There is no intention to 
create any legally binding contract or other binding commitment through 
the use of this electronic communication unless it is issued in accordance 
with the Experian Limited standard terms and conditions of purchase or 
other express written agreement between Experian Limited and the recipient 
Experian Limited (registration number 653331) Registered office: 
Talbot House, Talbot Street, Nottingham NG80 1TH

Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take 
your own steps to ensure that they are actually virus free.



Re: New mouse...

2005-01-24 Thread John Morrison
> On Mon, 24 Jan 2005, John Morrison wrote:
>
>> The mouse is a Microsoft (I know, but I won it!) Wireless Optical Mouse
>> 2.0
>> It's the one with the side-ways scrolling functionality which I think is
>> what is messing up the paste.  xev outputs...
>>
>> Click the scroll: Is two button 1's
>
> I guess this is a driver problem. Most likely it is configured to produce
> a
> double click instead of a middle button press.
>
> see http://hardware.mcse.ms/message127168.html

Oh joy!

I knew it was configured to 'double-click' but, for the life of me
couldn't figure out what to change it to!

> BTW: I've cc'ed the mailing list so it will end up in the public archives.

np :)

Thanks ago!

J.



RE: configuring X, backspace, ....

2004-12-13 Thread Morrison, John
> From: Alexander Gottwald
> 
> quite strange. I've no special mapping for ç but get it displayed in
> bash. The .inputrc contains
> set meta-flag on
> set output-meta on
> set convert-meta off
> and some entries which don't seem to be related

The .inputrc file is part of the base-files package.  If any changes are
wanted, just ask :) (via this or the cygwin@ lists)

J.


This e-mail has come from Experian International: winner of the UK's National 
Business of the Year Award 2003.

==
Information in this e-mail and any attachments are confidential, and may 
not be copied or used by anyone other than the addressee, nor disclosed 
to any third party without our permission. There is no intention to 
create any legally binding contract or other binding commitment through 
the use of this electronic communication unless it is issued in accordance with 
the Experian Limited standard terms and conditions of purchase or 
other express written agreement between Experian Limited and the recipient 
Experian Limited (registration number 653331) Registered office: 
Talbot House, Talbot Street, Nottingham NG80 1TH

Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free.



Doh! problem solved was Re: bug? - startxwin.bat missing from recent Cygwin install

2004-09-21 Thread John Hebert
I apologize for not reading the install section in the
excellent Cygwin/X User's Guide more closely.

I missed two packages during the setup.

Is it possible to rename these two packages:

X-start-menu-icons
X-startup-scripts 

so that they match the other packages (xorg-x11...) so
they would appear in the same section during setup?
I'll bet I'm not the only noob making the same
mistake.

Thanks for taking the time to help me out.

John

--- Alexander Gottwald
<[EMAIL PROTECTED]> wrote:

> John Hebert wrote:
> 
> > Howdy,
> >
> > I installed the latest release of Cygwin, and it
> > doesn't include startxwin.bat. Is this normal? Was
> it
> > removed for a specific reason?
> >
> > I remember playing around with CygwinX about a
> year
> > ago and it was there.
> 
> do you have the startup-scripts package form X11
> section installed?
> 
> bye
> ago
> NP: Regicide - The Fragrance
> -- 
>  [EMAIL PROTECTED]
>  http://www.gotti.org   ICQ: 126018723
> 





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


bug? - startxwin.bat missing from recent Cygwin install

2004-09-21 Thread John Hebert
Howdy,

I installed the latest release of Cygwin, and it
doesn't include startxwin.bat. Is this normal? Was it
removed for a specific reason?

I remember playing around with CygwinX about a year
ago and it was there.

John



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


Re: Problem using multiwindow, function keys, and xfig

2004-09-19 Thread Peters, John
>On Fri, 17 Sep 2004, Peters, John wrote:
>
>> Using -multiwindow, I cannot get function keys to work using xrdb
unless
>> -kb is appended to the XWin command line in startxwin.bat. 
>>
>> However, using -multiwindow, the xfig pulldown menus don't work
unless 
>> -kb is NOT appended.
>> 
>> Using -fullscreen instead of -multiwindow, both function keys and
xfig 
>> work fine if -kb is appended.
>> 
>> With or without -kb, xrdb -q says the function keys are coded, F12
looks
>> 
>> the same under xev, and xmodmap -pk shows keycode 96 codes for 0xffc9
>> (F12).
>
>I have no idea what could cause this and can not reproduce it. -kb and 
>-multiwindow should have no influence each other. 
>
>Can you please provide /tmp/XWin.log?

>bye
>   ago 
>-- 
 

***

Thanks for responding; here are the /tmp/XWin.log files for the 3 cases.
I'm afraid the differences don't mean much to me.  This computer runs
windowsXP and has a networked home drive - all works well on a different
non-networked win2000 machine.



*** xrdb keys programmed and work; xfig menus don't pull down
*



Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.0-1

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

/usr/X11R6/bin/XWin :2 -multiwindow -clipboard -silent-dup-error 
-kb 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more
information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1023
depth: 32
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
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
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: "0409" (0409) 
(--) Using preset keyboard for "English (USA)" (409), type "4"
(++) XkbExtension disabled
3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winInitMultiWindowWM - pthread_mutex_lock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:2.0
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:2.0
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:2.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened
the display.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully
opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.



*** xrdb keys programmed but don't work; xfig ok ***



Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.0-1

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

/usr/X11R6/bin/XWin :3 -multiwindow -clipboard -silent-dup-error 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more
information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1023
depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24
bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - C

Problem using multiwindow, function keys, and xfig

2004-09-17 Thread Peters, John
Cygwin and XWin are magnificent, but, running locally under windowsXP:

Using -multiwindow, I cannot get function keys to work using xrdb unless
-kb is appended to the XWin command line in startxwin.bat. 

However, using -multiwindow, the xfig pulldown menus don't work unless 
-kb is NOT appended.

Using -fullscreen instead of -multiwindow, both function keys and xfig 
work fine if -kb is appended.

With or without -kb, xrdb -q says the function keys are coded, F12 looks

the same under xev, and xmodmap -pk shows keycode 96 codes for 0xffc9
(F12).

One workaround under -multiwindow is to start 2 instances 
of XWin using 2 displays; one with -kb and one without, but is there a 
cleaner way?

Thanks


John Peters
National Measurement Institute
PO Box 264, Lindfield NSW 2070, Australia
Email: [EMAIL PROTECTED]






RE: About box

2004-03-26 Thread John Morrison
> From: Harold L Hunt II
>
> By all means, please just commit code that does blue links in the dialog
> box.  I was aiming to do that and didn't see a way to do it the first
> time through.

Hi Harold,

Try these :)






All the best,

J.



Xaw patch (focus problem) & DLL

2003-12-05 Thread John E Urbanczyk
I wasn't aware that the patched libraries were available - all I had
seen was Harold Hunt's email describing the patch and I read it to say
that he hadn't rebuilt everything as of yet. And I was trying to put
together everything in one day, but the new libraries have fixed the
problem. I think I understand how cygwin has its libraries organized -
I'm actually more familiar with the MS Visual Studio, and have a general
idea of static and import libraries (.lib) and dynamic libraries (.dll)
in that environment. 

John Urbanczyk
Developer, Research & Development
Paychex Inc.
675 Basket Road
Webster NY 14580
Phone: 585-216-0578



-
The information contained in this message may be privileged, confidential, and 
protected from disclosure. If the reader of this message is not the intended 
recipient, or any employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that any dissemination, distribution, or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to the message and 
deleting it from your computer. 

Thank you. Paychex, Inc.



Xaw patch (focus problem) & DLL

2003-12-04 Thread John E Urbanczyk

I am working with an xterm I modified and rebuilt under the latest
cygwin source files and binaries and have experienced the problem with
focus (the xterm only has keyboard focus if the mouse is in the window).
This was corrected with a patch by Harold Hunt recently, and I have been
looking into implementing the patch. However, when I rebuilt the library
with the patch, using the Imake and make with the default settings, it
builds a static library. (I am building using the files in
cygwin/xc/programs/Xaw. And because of the firewall I work behind, I
have been unable to access the CVS source tree, so am unaware of what
may be missing in my cygwin environment.) It appears from Harold's email
that he rebuilt a dynamic library, as he states that he tested the patch
by running a non-recompiled xterm against the library. So my question
is: what library (or libraries) need to be rebuilt, and does one go
about building it? I have looked at the documentation on dlltool, but
have never used it before. (The last time I built xterm under cygwin was
over two years ago, and I believe that static libraries were all that I
used. And I am confused by the various libraries used in my cygwin setup
- for example, libXaw-7.dll.a is used by the linker in building xterm,
apparently, but cygxaw-7.dll is required at runtime.) Thanks in advance
for any help.

John Urbanczyk
Developer, Research & Development
Paychex Inc.
675 Basket Road
Webster NY 14580
Phone: 585-216-0578



-
The information contained in this message may be privileged, confidential, and 
protected from disclosure. If the reader of this message is not the intended 
recipient, or any employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that any dissemination, distribution, or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to the message and 
deleting it from your computer. 

Thank you. Paychex, Inc.



XFree4.3.0 multiwindow mode intermittently fails on ME

2003-11-05 Thread John Sharp
etcat  1.10-2 
openbox 0.99.1-3   
opengl  1.1.0-6
openssh 3.7.1p2-1  
openssl 0.9.7c-1   
openssl-devel   0.9.7c-1   
openssl096  0.9.6j-1   
par 1.52-1 
patch   2.5.8-8
patchutils  0.2.22-2   
pcre4.4-2  
pcre-devel  4.4-2  
pcre-doc4.4-2  
pdksh   5.2.14-2   
perl5.8.0-5
perl_manpages   5.8.0-5
pine4.58-1 
pinfo   0.6.8-1
pkgconfig   0.15.0-4   
popt1.6.4-4
postgresql  7.3.4-2
procmail3.22-8 
procps  010801-2   
proftpd 1.2.9rc3-1 
psutils 1.17-1 
python  2.3.2-1
rcs 5.7-3  
readline4.3-5  
rebase  2.2-3  
robots  2.0-3  
rpm 4.1-1  
rpm-build   4.1-1  
rpm-doc 4.1-1  
rsync   2.5.6-2
ruby1.8.0-2
rxvt2.7.10-3   
sed 4.0.7-3
setsid  0.0-3  
sh-utils2.0.15-4   
sharutils   4.2.1-3
shutdown1.4-1  
splint  3.1.1-1
squid   2.4.STABLE7-1  
ssmtp   2.38.7-4   
stunnel 4.04-3 
sunrpc  4.0-1  
SWI-Prolog  5.2.6-1
swig1.3.19-1   
sysvinit2.84-4 
tar 1.13.25-3  
tcltk   20030901-1 
tcp_wrappers7.6-1  
tcsh6.12.00-7  
termcap 20021106-2 
terminfo5.3_20030726-1 
tetex   2.0.2-13   
tetex-base  2.0.2-13   
tetex-bin   2.0.2-13   
tetex-devel 2.0.2-13   
tetex-doc   2.0.2-13   
tetex-extra 2.0.2-13   
tetex-tiny  2.0.2-13   
tetex-x11   2.0.2-13   
texinfo 4.2-4  
textutils   2.0.21-1   
tidy030901-1   
tiff3.6.0-5
time1.7-1  
tin 1.6.1-1
transfig3.2.4-1
ttcp19980512-1 
ucl 1.01-1 
units   1.77-1 
unzip   5.50-5 
upx 1.24-1 
uw-imap 2002e-3
uw-imap-imapd   2002e-3
uw-imap-util2002e-3
vim 6.2.098-1  
w32api  2.4-1  
wget1.8.2-2
which   1.5-2  
whois   4.6.7-1
WindowMaker 0.80.0-2   
wtf 0.0.4-4
x2x 1.27-2 
Xaw3d   1.5D-2 
xerces-c2.3.0-4
xerces-c-devel  2.3.0-4
xerces-c-doc2.3.0-4
xfig-base   3.2.4-1
xfig-bin3.2.4-2
xfig-doc3.2.4-1
xfig-etc3.2.4-3
xfig-lib3.2.4-2
xfig-man3.2.4-1
XFree86-base4.3.0-1
XFree86-bin 4.3.0-5
XFree86-bin-icons   4.3.0-5
XFree86-doc 4.3.0-1
XFree86-etc 4.3.0-3
XFree86-f1004.2.0-3
XFree86-fcyr4.2.0-3
XFree86-fenc4.2.0-3
XFree86-fnts4.2.0-3
XFree86-fscl4.2.0-3
XFree86-fsrv4.3.0-4
XFree86-html4.3.0-1
XFree86-jdoc4.3.0-1
XFree86-lib 4.3.0-1
XFree86-lib-compat  4.3.0-1
XFree86-man 4.3.0-2
XFree86-nest4.3.0-3
XFree86-prog4.3.0-8
XFree86-prt 4.3.0-3
XFree86-ps  4.3.0-1
XFree86-startup-scripts 4.2.0-5
XFree86-vfb 4.3.0-3
XFree86-xserv   4.3.0-20   
XFree86-xwinclip4.3.0-1
xgraph  12.1-1 
xinetd  2.3.9-1
xmlto   0.0.14-1   
xpm-nox 4.2.0-4
zip 2.3-5  
zlib1.1.4-4
zsh 4.1.1-1
Use -h to see help about each section

--
John


Cygwin upgrade (including XFree86) - keyboard disabled - FIXED

2003-10-24 Thread John Dalbec
Today I upgraded my Cygwin installation (Win 2000 Pro) including the X 
server.  When I tried to run X programs (even locally), there was no 
response to the keyboard.  After some experimentation I found that the 
XKB extension was the problem.  Starting XWin with -kb fixed it.
FYI,
John Dalbec




Installation problems

2003-09-24 Thread John Walker Jr
I have tried to install cygwin/xfree86 on windows 2000 and windows XP.
On both, whether installing from the internet or downloading from the
internet, the installation programs hangs at the Select Packages dialog.
I have waited for quite a while to allow it to try to clear itself, and
nothging seems to change.  Is there some way to fix this?

John Walker



-nounixkill appears broken in 4.3.0.1 Windows 2000

2003-08-25 Thread John M. Adams
Dear Friends,

It seems to me that -[no]unixkill is not working with XWin 4.3.0.1.
-[no]winkill does work.

(I wish XFree86 would not bind C-M-BS as a default behavior.  The
choice is Lisp unfriendly since the default emacs binding is
backward-kill-sexp, a very useful operation in Lisp modes.)

-- 
John M. Adams



Re: startx and ssh

2003-08-16 Thread John P. Rouillard

In message <[EMAIL PROTECTED]>,
Dr.D.J.Picton" <[EMAIL PROTECTED]> said:
["Gary Nicholson" <[EMAIL PROTECTED]> said]
>> I have been trying to de-bug a problem with startx. 
>> 
>> When I tried to run the file, I would get a server window,
>> no clock and no terminal windows. The command-line
>> errors were: 
>>  ..
>>  Xlib: connection to "0.0" refused by server
>>  Xlib: No Protocol specified
>> 
>> These error messages would repeat until I hit ^Z 
>> from the console command line.
>
>> I found that the script would fail if a .Xauthority file
>> existed in my home directory. If I removed the file,
>> startx ran without errors; the server, the clock and
>> the terminal windows all opened successfully when
>> there was no .Xauthority file in my home directory.
>> 
>> I found that the .Xauthority file was being created 
>> when I logged onto my Cygwin machine from another 
>> machine using ssh with the same login name.
>> 
>> I am proposing a fix for this problem:
>> 
>> In /usr/X11R6/bin/startx, add the following code before 
>> the block that exports the XAUTHORITY variable:
>> 
>>  # remove $HOME/.Xauthority if it exists 
>>  if [ -f $HOME/.Xauthority ]; then
>>rm $HOME/.Xauthority
>>  fi
>> 
>> This code just removes .Xauthority if it exists. 
>> If .Xauthority doesn't exist, it does nothing.
>
>> Does anyone have any feedback?
>
>I've seen the problem, and in my view there's a better solution.  Remove the
>code which sets XAUTHORITY.
>
>(I think the problem occurs because XWin assumes -auth $XAUTHORITY if the
>variable is set, then gets upset because it can't find the authorization
>key for your display.)

Even better, don't leave the X server wide open for everybody to screw
with.  The XFree-86 server includes the security extension (see
xdpyinfo) so you should be able to generate a proper X authentication
token for the display. Something like:

  xauth generate :0 .

or

  xauth add $DISPLAY . `mcookie`

added to the top of your ~/.xinitrc should do the trick.

-- rouilj
John Rouillard
===
My employers don't acknowledge my existence much less my opinions.


  1   2   >