Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

2003-01-16 Thread J S
Harold,

Lots of debug info here. I have added more info at the bottom to show what I 
get when I run xwin without the -multiwindow flag as well.

$ gdb ./XWin-Test71-DEBUG.exe
GNU gdb 2002-12-19-cvs (cygwin-special)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i686-pc-cygwin...
(gdb) run -multiwindow
Starting program: /cygdrive/d/downloads/XWin-Test71-DEBUG.exe -multiwindow

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
(gdb) where
#0  0x77e8c40c in _libkernel32_a_iname ()
#1  0x0001 in ?? ()
#2  0x6103f35f in _libkernel32_a_iname ()
#3  0x6103f38b in _libkernel32_a_iname ()
#4  0x6107b7df in _libkernel32_a_iname ()
#5  0x6107baba in _libkernel32_a_iname ()
#6  0x0044b94a in trans_mkdir (path=0x448c97 /tmp/.X11-unix, mode=1023)
   at ../../../lib/xtrans/Xtransutil.c:495
#7  0x00448e17 in _XSERVTransSocketUNIXCreateListener (ciptr=0x100f2348,
   port=0x22fd30 0) at ../../../lib/xtrans/Xtranssock.c:932
#8  0x0044a591 in _XSERVTransCreateListener (ciptr=0x100f2348,
   port=0x22fd30 0) at ../../../lib/xtrans/Xtrans.c:734
#9  0x0044ac78 in _XSERVTransMakeAllCOTSServerListeners (port=0x22fd30 0,
   partial=0x22fd58, count_ret=0x840440, ciptrs_ret=0x7e5550)
   at ../../../lib/xtrans/Xtrans.c:1029
#10 0x0043ed3c in CreateWellKnownSockets () at connection.c:342
#11 0x0040153c in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:327
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x007e2a02 in cygwin_crt0 ()
#15 0x0040103c in mainCRTStartup ()
#16 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x007e3510 in cygwin_premain3 ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61086b41 in _libkernel32_a_iname ()
#5  0x610893d5 in _libkernel32_a_iname ()
#6  0x004592eb in InitQueue (pQueue=0x100fee34) at winmultiwindowwm.c:191
#7  0x00459951 in winInitWM (ppWMInfo=0x100f88d4, ptWMProc=0x100f88d0,
   dwScreen=0) at winmultiwindowwm.c:440
#8  0x00453bd3 in winFinishScreenInitFB (index=0, pScreen=0x100f8638, 
argc=2,
   argv=0x100f1890) at winscrinit.c:501
#9  0x00452fac in winScreenInit (index=0, pScreen=0x100f8638, argc=2,
   argv=0x100f1890) at winscrinit.c:181
#10 0x00402389 in AddScreen (pfnInit=0x452bc8 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#11 0x00450655 in InitOutput (screenInfo=0x83e450, argc=2, argv=0x100f1890)
   at InitOutput.c:1214
#12 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#13 0x61007638 in _libkernel32_a_iname ()
#14 0x6100791d in _libkernel32_a_iname ()
#15 0x007e2a02 in cygwin_crt0 ()
#16 0x0040103c in mainCRTStartup ()
#17 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x100fee40 in ?? ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61087c80 in _libkernel32_a_iname ()
#5  0x61088b79 in _libkernel32_a_iname ()
#6  0x61088c82 in _libkernel32_a_iname ()
#7  0x00459301 in InitQueue (pQueue=0x100fee34) at winmultiwindowwm.c:192
#8  0x00459951 in winInitWM (ppWMInfo=0x100f88d4, ptWMProc=0x100f88d0,
   dwScreen=0) at winmultiwindowwm.c:440
#9  0x00453bd3 in winFinishScreenInitFB (index=0, pScreen=0x100f8638, 
argc=2,
   argv=0x100f1890) at winscrinit.c:501
#10 0x00452fac in winScreenInit (index=0, pScreen=0x100f8638, argc=2,
   argv=0x100f1890) at winscrinit.c:181
#11 0x00402389 in AddScreen (pfnInit=0x452bc8 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#12 0x00450655 in InitOutput (screenInfo=0x83e450, argc=2, argv=0x100f1890)
   at InitOutput.c:1214
#13 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#14 0x61007638 in _libkernel32_a_iname ()
#15 0x6100791d in _libkernel32_a_iname ()
#16 0x007e2a02 in cygwin_crt0 ()
#17 0x0040103c in mainCRTStartup ()
#18 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0047933a in fbBlt (srcLine=0x102c31e0, srcStride=3, srcX=0,
   dstLine=0x1f031fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
   pm=4294967295, bpp=24, reverse=0, upsidedown=0) at fbblt.c:174
174 fbblt.c: No such file or directory.
   in fbblt.c
(gdb) where
#0  0x0047933a in fbBlt (srcLine=0x102c31e0, srcStride=3, srcX=0,
   dstLine=0x1f031fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
   pm=4294967295, bpp=24, reverse=0, upsidedown=0) at 

xset +fp gives 100% load on cywin/XFree 4.2.0 under Windows2000 !

2003-01-16 Thread Bernhard Graf
Hi,
 
I have the problem that when I try to ADD the AIX fontserver to my fontpath,
e.g. xset +fp tcp/fserver:7100, my Windows system load goes up to 100% and
the only thing I can do is kill cywin/Xfree.
 
xset fp rehash works without problem
 
Also, starting cygwin/Xfree with 
 
start XWin -emulate3buttons -kb -query 10.206.70.50 -fp
tcp/10.206.70.50:7100

works without any problem.
 
So, what is wrong with xset +fp ???
 
Bernhard Graf 

www.adartis.de
bgraf at adartis.de

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!




Re: New multiwindow mode is great

2003-01-16 Thread John Buttery
* Yadin Y Goldschmidt [EMAIL PROTECTED] [2003-01-15 20:48:47 -0500]:
 XWin with a startxwin.bat batch file with
 start XWin -multiwindow
 run rxvt -sl 1000 -e bash -l
 this will insure your bash prompt wil appear if it is in .bashrc. You
 can also add stuff like -fg black -bg white -fm 9x16bold --scrollstyle
 next -sr to the rxvt line to make it look nicer.

  I think what he means is that he has escape sequences in his prompt
to update the titlebar of the window, which stopped working as of
multiwindow mode.  The same thing happened with mine (although I do mine
with export PROMPT_COMMAND rather than embedding them in the prompt
itself), but I wasn't going to say anything. :)

  As for the now-superfluous root window taskbar tab, I'm sure it will
be moved into the system tray soon enough, once the debugging phase is
over.

  And as for the Word document...hmm, no, I'll spare the list.  ;) 

-- 

 John Buttery
 (Web page temporarily unavailable)




msg04786/pgp0.pgp
Description: PGP signature


Re: Multiwindow patch - just a cleanup and lots of commenting

2003-01-16 Thread Harold L Hunt II
Kensuke,

Oops, here is a more recent version of the source code with more cleanups:

http://www.msu.edu/~huntharo/xwin/shadow/multiwindow-hlh-20030116-0807.tar.bz2


Hopefully you haven't started updating things yet... but feel free to now!

Harold

Harold L Hunt II wrote:

Kensuke,

My cleaned up and commented version of the multiwindow files is here:
http://www.msu.edu/~huntharo/xwin/shadow/multiwindow-harold-20030115-2351.ta
r.bz2

I also messed around for a minute with the shape extension... you will find
some of that code in place but disabled.

Please use these commented files for development from now on.

I think I thoroughly understand how the patch works, and I must say it is
really slick.  I should be able to take a little bit of your code and add
xwinclip to XWin.exe pretty soon.

Thanks for the great work,

Harold






Re: New multiwindow mode is great

2003-01-16 Thread Harold L Hunt II
John,

You might find it interesting that upon closer inspection the 
multi-window mode is dependent upon the message procedure in the normal 
mode for handling keyboard input, etc.  I am not sure if we can create 
the root window and have it process messages without being displayed. 
In any case, it may take a little bit of engineering to compartmenalize 
the functionality in the root window message procedure so that it can be 
used in fullscreen and multiwindow modes.

Just thought I would share that... hiding the root window may not be 
trivial.

Harold

John Buttery wrote:
* Yadin Y Goldschmidt [EMAIL PROTECTED] [2003-01-15 20:48:47 -0500]:


XWin with a startxwin.bat batch file with
start XWin -multiwindow
run rxvt -sl 1000 -e bash -l
this will insure your bash prompt wil appear if it is in .bashrc. You
can also add stuff like -fg black -bg white -fm 9x16bold --scrollstyle
next -sr to the rxvt line to make it look nicer.



  I think what he means is that he has escape sequences in his prompt
to update the titlebar of the window, which stopped working as of
multiwindow mode.  The same thing happened with mine (although I do mine
with export PROMPT_COMMAND rather than embedding them in the prompt
itself), but I wasn't going to say anything. :)

  As for the now-superfluous root window taskbar tab, I'm sure it will
be moved into the system tray soon enough, once the debugging phase is
over.

  And as for the Word document...hmm, no, I'll spare the list.  ;) 





Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

2003-01-16 Thread J S
Hi Harold,

I'm happy to do the testing, I'm just worried in case we find out it was 
something really stupid! Anyway, I'm sure there's only one cygwin1.dll. Is 
the line below fbblt.c: No such file or directory relevant at all?

$ find / -name cygwin1*
/bin/cygwin1.dll
/usr/bin/cygwin1.dll

$ mount
D:\DOCUME~1\u752359\LOCALS~1\Temp on /tmp type user (binmode)
C:\Program Files\cygwin\bin on /usr/bin type system (binmode)
C:\Program Files\cygwin\lib on /usr/lib type system (binmode)
d:\Documents and Settings on /home type user (binmode)
C:\Program Files\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
p: on /cygdrive/p type user (binmode,noumount)


$ gdb ./XWin-Test71-DEBUG-2.exe
GNU gdb 2002-12-19-cvs (cygwin-special)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i686-pc-cygwin...
(gdb) run -multiwindow
Starting program: /cygdrive/d/downloads/XWin-Test71-DEBUG-2.exe -multiwindow

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
(gdb) where
#0  0x77e8c40c in _libkernel32_a_iname ()
#1  0x0001 in ?? ()
#2  0x6103f35f in _libkernel32_a_iname ()
#3  0x6103f38b in _libkernel32_a_iname ()
#4  0x6107b7df in _libkernel32_a_iname ()
#5  0x6107baba in _libkernel32_a_iname ()
#6  0x0044b94a in trans_mkdir (path=0x448c97 /tmp/.X11-unix, mode=1023)
   at ../../../lib/xtrans/Xtransutil.c:495
#7  0x00448e17 in _XSERVTransSocketUNIXCreateListener (ciptr=0x100f2348,
   port=0x22fd20 0) at ../../../lib/xtrans/Xtranssock.c:932
#8  0x0044a591 in _XSERVTransCreateListener (ciptr=0x100f2348,
   port=0x22fd20 0) at ../../../lib/xtrans/Xtrans.c:734
#9  0x0044ac78 in _XSERVTransMakeAllCOTSServerListeners (port=0x22fd20 0,
   partial=0x22fd48, count_ret=0x83d440, ciptrs_ret=0x7e2550)
   at ../../../lib/xtrans/Xtrans.c:1029
#10 0x0043ed3c in CreateWellKnownSockets () at connection.c:342
#11 0x0040153c in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:327
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x007df252 in cygwin_crt0 ()
#15 0x0040103c in mainCRTStartup ()
#16 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x100f8638 in ?? ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61086b41 in _libkernel32_a_iname ()
#5  0x610893d5 in _libkernel32_a_iname ()
#6  0x00457ec4 in InitQueue ()
#7  0x004584d5 in winInitWM ()
#8  0x00452a97 in winFinishScreenInitFB ()
#9  0x0045228d in winScreenInit ()
#10 0x00402389 in AddScreen (pfnInit=0x4520d0 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#11 0x0044fe9a in InitOutput ()
#12 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#13 0x61007638 in _libkernel32_a_iname ()
#14 0x6100791d in _libkernel32_a_iname ()
#15 0x007df252 in cygwin_crt0 ()
#16 0x0040103c in mainCRTStartup ()
#17 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x100fee40 in ?? ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61087c80 in _libkernel32_a_iname ()
#5  0x61088b79 in _libkernel32_a_iname ()
#6  0x61088c82 in _libkernel32_a_iname ()
#7  0x00457eef in InitQueue ()
#8  0x004584d5 in winInitWM ()
#9  0x00452a97 in winFinishScreenInitFB ()
#10 0x0045228d in winScreenInit ()
#11 0x00402389 in AddScreen (pfnInit=0x4520d0 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#12 0x0044fe9a in InitOutput ()
#13 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#14 0x61007638 in _libkernel32_a_iname ()
#15 0x6100791d in _libkernel32_a_iname ()
#16 0x007df252 in cygwin_crt0 ()
#17 0x0040103c in mainCRTStartup ()
#18 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00475b8a in fbBlt (srcLine=0x102c44d8, srcStride=3, srcX=0,
   dstLine=0x1e431fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
   pm=4294967295, bpp=24, reverse=0, upsidedown=0) at fbblt.c:174
174 fbblt.c: No such file or directory.
   in fbblt.c
(gdb) where
#0  0x00475b8a in fbBlt (srcLine=0x102c44d8, srcStride=3, srcX=0,
   dstLine=0x1e431fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
   pm=4294967295, bpp=24, reverse=0, upsidedown=0) at fbblt.c:174
#1  0x0047ee96 in fbOddTile (dst=0x1b8, dstStride=1152, dstX=0,
   width=27648, 

Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

2003-01-16 Thread Alexander Gottwald
On Thu, 16 Jan 2003, J S wrote:

 Hi Harold,
 
 Is the line below fbblt.c: No such file or directory relevant at all?

This means you don't have the sources installed. Or gdb can not find them.

bye
ago 
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




grep: Command not found when starting tcsh

2003-01-16 Thread J. Eric Bracken
Note to the Cygwin-XFree86 team:

I have Cygwin and XFree86 installed, and I was getting annoying messages
of the form

 Grep:  command not found

every time I started up a tcsh shell.  I finally tracked the problem 
down to
the file /etc/profile.d/00xfree.csh.  This script apparently executes 
before
all other login scripts and is intended to put /usr/X11R6/bin on your path.

Unfortunately it includes this line:

 eval echo ${PATH} | grep -q ${X11PATH}

Because it's executing so early on, the PATH hasn't been properly set up 
yet,
and grep was not being found.

By replacing grep with /bin/grep, the problem was resolved.  This had
already been done in the file 00xfree.sh in the same directory so I'm 
surprised
the 00xfree.csh file hadn't been modified too.

--Eric





Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

2003-01-16 Thread Harold L Hunt II
JS,

Running ``find'' in Cygwin does not search all of your drives, not even 
all of your local drives.  It only searches within your Cygwin 
installation directory.

I want you to go into Windows Explorer, right-click on your C drive and 
do a search for cygwin1.dll.  Then I want you to do it again for your D 
drive, etc.

It doesn't look like the problem has anything to do with threads.

Harold

J S wrote:

Hi Harold,

I'm happy to do the testing, I'm just worried in case we find out it 
was something really stupid! Anyway, I'm sure there's only one 
cygwin1.dll. Is the line below fbblt.c: No such file or directory 
relevant at all?

$ find / -name cygwin1*
/bin/cygwin1.dll
/usr/bin/cygwin1.dll

$ mount
D:\DOCUME~1\u752359\LOCALS~1\Temp on /tmp type user (binmode)
C:\Program Files\cygwin\bin on /usr/bin type system (binmode)
C:\Program Files\cygwin\lib on /usr/lib type system (binmode)
d:\Documents and Settings on /home type user (binmode)
C:\Program Files\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
p: on /cygdrive/p type user (binmode,noumount)


$ gdb ./XWin-Test71-DEBUG-2.exe
GNU gdb 2002-12-19-cvs (cygwin-special)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for 
details.
This GDB was configured as i686-pc-cygwin...
(gdb) run -multiwindow
Starting program: /cygdrive/d/downloads/XWin-Test71-DEBUG-2.exe 
-multiwindow

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
(gdb) where
#0  0x77e8c40c in _libkernel32_a_iname ()
#1  0x0001 in ?? ()
#2  0x6103f35f in _libkernel32_a_iname ()
#3  0x6103f38b in _libkernel32_a_iname ()
#4  0x6107b7df in _libkernel32_a_iname ()
#5  0x6107baba in _libkernel32_a_iname ()
#6  0x0044b94a in trans_mkdir (path=0x448c97 /tmp/.X11-unix, mode=1023)
   at ../../../lib/xtrans/Xtransutil.c:495
#7  0x00448e17 in _XSERVTransSocketUNIXCreateListener (ciptr=0x100f2348,
   port=0x22fd20 0) at ../../../lib/xtrans/Xtranssock.c:932
#8  0x0044a591 in _XSERVTransCreateListener (ciptr=0x100f2348,
   port=0x22fd20 0) at ../../../lib/xtrans/Xtrans.c:734
#9  0x0044ac78 in _XSERVTransMakeAllCOTSServerListeners (port=0x22fd20 
0,
   partial=0x22fd48, count_ret=0x83d440, ciptrs_ret=0x7e2550)
   at ../../../lib/xtrans/Xtrans.c:1029
#10 0x0043ed3c in CreateWellKnownSockets () at connection.c:342
#11 0x0040153c in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:327
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x007df252 in cygwin_crt0 ()
#15 0x0040103c in mainCRTStartup ()
#16 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x100f8638 in ?? ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61086b41 in _libkernel32_a_iname ()
#5  0x610893d5 in _libkernel32_a_iname ()
#6  0x00457ec4 in InitQueue ()
#7  0x004584d5 in winInitWM ()
#8  0x00452a97 in winFinishScreenInitFB ()
#9  0x0045228d in winScreenInit ()
#10 0x00402389 in AddScreen (pfnInit=0x4520d0 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#11 0x0044fe9a in InitOutput ()
#12 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#13 0x61007638 in _libkernel32_a_iname ()
#14 0x6100791d in _libkernel32_a_iname ()
#15 0x007df252 in cygwin_crt0 ()
#16 0x0040103c in mainCRTStartup ()
#17 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x100fee40 in ?? ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61087c80 in _libkernel32_a_iname ()
#5  0x61088b79 in _libkernel32_a_iname ()
#6  0x61088c82 in _libkernel32_a_iname ()
#7  0x00457eef in InitQueue ()
#8  0x004584d5 in winInitWM ()
#9  0x00452a97 in winFinishScreenInitFB ()
#10 0x0045228d in winScreenInit ()
#11 0x00402389 in AddScreen (pfnInit=0x4520d0 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#12 0x0044fe9a in InitOutput ()
#13 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#14 0x61007638 in _libkernel32_a_iname ()
#15 0x6100791d in _libkernel32_a_iname ()
#16 0x007df252 in cygwin_crt0 ()
#17 0x0040103c in mainCRTStartup ()
#18 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00475b8a in fbBlt (srcLine=0x102c44d8, srcStride=3, srcX=0,
   dstLine=0x1e431fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
   pm=4294967295, 

Re: grep: Command not found when starting tcsh

2003-01-16 Thread Harold L Hunt II
Eric,

Let that be a lesson to you: nobody uses tcsh :)

I will fix the .csh script when I get a chance.

Funny that you noticed this problem, because I still have the inclusion 
of these scripts on my to-do list... I had forgotten that I had already 
included them.

Harold

J. Eric Bracken wrote:

Note to the Cygwin-XFree86 team:

I have Cygwin and XFree86 installed, and I was getting annoying messages
of the form

 Grep:  command not found

every time I started up a tcsh shell.  I finally tracked the problem 
down to
the file /etc/profile.d/00xfree.csh.  This script apparently executes 
before
all other login scripts and is intended to put /usr/X11R6/bin on your 
path.

Unfortunately it includes this line:

 eval echo ${PATH} | grep -q ${X11PATH}

Because it's executing so early on, the PATH hasn't been properly set 
up yet,
and grep was not being found.

By replacing grep with /bin/grep, the problem was resolved.  This had
already been done in the file 00xfree.sh in the same directory so I'm 
surprised
the 00xfree.csh file hadn't been modified too.

--Eric







Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

2003-01-16 Thread J S

OK I've done that, and there is DEFINITELY only 1 cygwin1.dll



JS,

Running ``find'' in Cygwin does not search all of your drives, not even all 
of your local drives.  It only searches within your Cygwin installation 
directory.

I want you to go into Windows Explorer, right-click on your C drive and do 
a search for cygwin1.dll.  Then I want you to do it again for your D drive, 
etc.

It doesn't look like the problem has anything to do with threads.

Harold

J S wrote:

Hi Harold,

I'm happy to do the testing, I'm just worried in case we find out it was 
something really stupid! Anyway, I'm sure there's only one cygwin1.dll. Is 
the line below fbblt.c: No such file or directory relevant at all?

$ find / -name cygwin1*
/bin/cygwin1.dll
/usr/bin/cygwin1.dll

$ mount
D:\DOCUME~1\u752359\LOCALS~1\Temp on /tmp type user (binmode)
C:\Program Files\cygwin\bin on /usr/bin type system (binmode)
C:\Program Files\cygwin\lib on /usr/lib type system (binmode)
d:\Documents and Settings on /home type user (binmode)
C:\Program Files\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
p: on /cygdrive/p type user (binmode,noumount)


$ gdb ./XWin-Test71-DEBUG-2.exe
GNU gdb 2002-12-19-cvs (cygwin-special)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for 
details.
This GDB was configured as i686-pc-cygwin...
(gdb) run -multiwindow
Starting program: /cygdrive/d/downloads/XWin-Test71-DEBUG-2.exe 
-multiwindow

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
(gdb) where
#0  0x77e8c40c in _libkernel32_a_iname ()
#1  0x0001 in ?? ()
#2  0x6103f35f in _libkernel32_a_iname ()
#3  0x6103f38b in _libkernel32_a_iname ()
#4  0x6107b7df in _libkernel32_a_iname ()
#5  0x6107baba in _libkernel32_a_iname ()
#6  0x0044b94a in trans_mkdir (path=0x448c97 /tmp/.X11-unix, mode=1023)
   at ../../../lib/xtrans/Xtransutil.c:495
#7  0x00448e17 in _XSERVTransSocketUNIXCreateListener (ciptr=0x100f2348,
   port=0x22fd20 0) at ../../../lib/xtrans/Xtranssock.c:932
#8  0x0044a591 in _XSERVTransCreateListener (ciptr=0x100f2348,
   port=0x22fd20 0) at ../../../lib/xtrans/Xtrans.c:734
#9  0x0044ac78 in _XSERVTransMakeAllCOTSServerListeners (port=0x22fd20 
0,
   partial=0x22fd48, count_ret=0x83d440, ciptrs_ret=0x7e2550)
   at ../../../lib/xtrans/Xtrans.c:1029
#10 0x0043ed3c in CreateWellKnownSockets () at connection.c:342
#11 0x0040153c in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:327
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x007df252 in cygwin_crt0 ()
#15 0x0040103c in mainCRTStartup ()
#16 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x100f8638 in ?? ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61086b41 in _libkernel32_a_iname ()
#5  0x610893d5 in _libkernel32_a_iname ()
#6  0x00457ec4 in InitQueue ()
#7  0x004584d5 in winInitWM ()
#8  0x00452a97 in winFinishScreenInitFB ()
#9  0x0045228d in winScreenInit ()
#10 0x00402389 in AddScreen (pfnInit=0x4520d0 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#11 0x0044fe9a in InitOutput ()
#12 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#13 0x61007638 in _libkernel32_a_iname ()
#14 0x6100791d in _libkernel32_a_iname ()
#15 0x007df252 in cygwin_crt0 ()
#16 0x0040103c in mainCRTStartup ()
#17 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0  0x77e83ab6 in _libkernel32_a_iname ()
#1  0x100fee40 in ?? ()
#2  0x61087bbd in _libkernel32_a_iname ()
#3  0x61087c38 in _libkernel32_a_iname ()
#4  0x61087c80 in _libkernel32_a_iname ()
#5  0x61088b79 in _libkernel32_a_iname ()
#6  0x61088c82 in _libkernel32_a_iname ()
#7  0x00457eef in InitQueue ()
#8  0x004584d5 in winInitWM ()
#9  0x00452a97 in winFinishScreenInitFB ()
#10 0x0045228d in winScreenInit ()
#11 0x00402389 in AddScreen (pfnInit=0x4520d0 winScreenInit, argc=2,
   argv=0x100f1890) at main.c:768
#12 0x0044fe9a in InitOutput ()
#13 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at 
main.c:380
#14 0x61007638 in _libkernel32_a_iname ()
#15 0x6100791d in _libkernel32_a_iname ()
#16 0x007df252 in cygwin_crt0 ()
#17 0x0040103c in mainCRTStartup ()
#18 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00475b8a in fbBlt (srcLine=0x102c44d8, srcStride=3, srcX=0,
   dstLine=0x1e431fc, 

Re: New multiwindow mode is great

2003-01-16 Thread John Buttery
* Harold L Hunt II [EMAIL PROTECTED] [2003-01-16 08:17:55 -0500]:
 Just thought I would share that... hiding the root window may not be 
 trivial.

  Doh...ah well, it's only cosmetic. 

-- 

 John Buttery
 (Web page temporarily unavailable)




msg04796/pgp0.pgp
Description: PGP signature


Re: grep: Command not found when starting tcsh

2003-01-16 Thread John Buttery
* Harold L Hunt II [EMAIL PROTECTED] [2003-01-16 09:11:29 -0500]:
 Let that be a lesson to you: nobody uses tcsh :)

  OI!

  Oh wait, I don't use tcsh any more.  Never mind.  :) 

-- 

 John Buttery
 (Web page temporarily unavailable)




msg04797/pgp0.pgp
Description: PGP signature


Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

2003-01-16 Thread Christopher Faylor
On Thu, Jan 16, 2003 at 08:14:47AM -0500, Harold L Hunt II wrote:
JS,

Looks like we might have a pthreads problem, but I need you to run the 
new debug build below before I can tell:

There have been some pthreads fixes in the latest snapshot if anyone
wants to give that a try.

cgf



Help, my comp wont load up

2003-01-16 Thread dun106
When I first run the cygwin program, it told me to shut down the comp
into msdos mode.  So, I clicked the yes opption.  Now everytime I start
my computer I get a error mesage about Doskey, Lock, or something and it
gives me an option Y or N?  Choosing yes or no will always cause my comp
to reboot and starts all over again.




Re: multiwindow problem with kterm

2003-01-16 Thread Sylvain Petreolle
If I remember correct, when the dcop server isnt loaded it is started
automatically when you call a kde application.

Could the kde window manager be loaded the same way ?
 --- [EMAIL PROTECTED] a écrit :  Hello Harold,
 
 Yes, I'm quite certain that I have commented out 'twm' from my
 startxwin.bat script.
 Xterm seems to run just fine, so I think this is something to with
 kterm or the multiwindow mode.
 
 Haro


=
Sylvain Petreolle
[EMAIL PROTECTED] 
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

Don't think you are. Know you are. Morpheus, in Matrix.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



ssh and xsessioning know-how

2003-01-16 Thread -
i've been able to X-session via ssh with cygwin to a
remote redhat machine, while i was using cygwin
locally and the redhat machine was remotely on the
internet.

process i used ( i know there are many ways to fire up
X and have scripts and arguments passed to bash to do
this, if you know a solution containing passing
parameters to bash using ssh to start a remote
X-session, please let me know)

1-c:\ dos prompt
2-entered c:\cygwin\bin
3-typed bash --login -i in dos box: me@localmachine
4-xinit
5-xterm window: typed 'ssh -l username -XC
domainname'
6-fun: now i'm [EMAIL PROTECTED] at remote domain
and can fire up 'startkde' or 'gnome-session', or any
other window manager available remotely...

my question is if there's a way to pass username,
password and domain name with a startup script so i
don't have to be prompted (starting right after local
login with bash)?

i'm pretty new to this and i'm definitely no expert,
i'm sure someone has the answer to this; i'm also
thinking its possible that a clean xterm can be
requested to be opened from the remote side: a shell
with '[EMAIL PROTECTED]' after ssh has successfully
logged me in without prompting me. (after it has run
in the background while starting up with the local
X-server)

i don't want to depend on any window driver wrappers
for ssh. and as you may know the danger of doing
this...if i start kde or gnome, i can't kill this
xterm box without closing up all of kde or gnome in
one shot...

i'm also pretty dumb not knowing exactly what services
my remote domain is running other than I know someone
can help me a little more how i can do it./:} ...i
know the remote is running the daemons sshd and gpm, i
know how to query the rpm's database...but I still
don't know well how remote X works with ssh? I know
that I can use XWin +parameters, but how can I have it
automated with ssh?

If you know of any alternatives i'd greatly appreciate
it, i'm also only in favor of sticking with cygwin
build tools and nothing else, i have to thank the
cygwin team for making X-sessioning possible from my
Windows box, everyone kept spitting out to go buy out
winaxe and winplus..thx but no thx.;)...

jagg






__ 
Post your free ad now! http://personals.yahoo.ca



Re: ssh and xsessioning know-how

2003-01-16 Thread John Buttery
* - [EMAIL PROTECTED] [2003-01-16 23:50:35 -0500]:
 1-c:\ dos prompt
 2-entered c:\cygwin\bin
 3-typed bash --login -i in dos box: me@localmachine
 4-xinit
 5-xterm window: typed 'ssh -l username -XC domainname'
 6-fun: now i'm [EMAIL PROTECTED] at remote domain and can fire up
 'startkde' or 'gnome-session', or any other window manager available
 remotely...

  That's a bit of a roundabout way to do it...why not just make a
shortcut to c:\cygwin\usr\X11R6\bin\startxwin.bat?

 my question is if there's a way to pass username, password and domain
 name with a startup script so i don't have to be prompted (starting
 right after local login with bash)?

  To preload the username, you need to create ~/.ssh/config and specify
the User option.  As for not prompting for the password, to do that
you'll need to create a RSA/DSA key pair and use ssh-agent.  Check out
the following manpages for this stuff:

man ssh_config
man ssh-keygen
man ssh-agent

 i'm pretty new to this and i'm definitely no expert, i'm sure someone
 has the answer to this; i'm also thinking its possible that a clean
 xterm can be requested to be opened from the remote side: a shell with
 '[EMAIL PROTECTED]' after ssh has successfully logged me in without
 prompting me. (after it has run in the background while starting up
 with the local X-server)

  You certainly could type xterm and have it run...as for doing it
automatically, you might find that running X applications automatically
on login is more trouble than it's worth.  ;)  If you want to, though,
I would imagine you could put xterm in your ~/.bash_login or whatever.

 i don't want to depend on any window driver wrappers for ssh. and as
 you may know the danger of doing this...if i start kde or gnome, i
 can't kill this xterm box without closing up all of kde or gnome in
 one shot...

  Well of course, that's because the ssh client is forwarding the port
that those applications are using...kill ssh and you kill the port
forwarding.

-- 

 John Buttery
 (Web page temporarily unavailable)




msg04803/pgp0.pgp
Description: PGP signature


[ANNOUNCEMENT] Server Test 72

2003-01-16 Thread Harold L Hunt II
Links:

I just posted Test 72 to the server development page:
http://xfree86.cygwin.com/devel/shadow/

You can install the Test 72 package via setup.exe by selecting the
'test' package (and be sure to check the 'Bin' box): XFree86-xserv-4.2.0-20

Server Test Series binary and source code releases are now
available via the sources.redhat.com ftp mirror network
(http://cygwin.com/mirrors.html) in the
pub/cygwin/xfree/devel/shadow/ directory.  You may wish to note the
desired filename in the links below, then download from your
closest mirror (http://cygwin.com/mirrors.html).

Server binary, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test72.exe.bz2 (1198 KiB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030117-0153.tar.bz2 (100
KiB)


Changes:

1) winmultiwindowwindow.c - Add an evil, naughty, ugly, shameless,
and worthless hack to the multi-window mode to enable the X
Non-Rectangular Shape extension.  This will need to be evaluated and
fixed by other developers.  (Harold Hunt)


Enjoy,

Harold




RE: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

2003-01-16 Thread Harold L Hunt II
JS,

Please try the latest cygwin1.dll snapshot that Chris was referring to.
Report your results to this mailing list.

Thanks for testing,

Harold

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christopher Faylor
Sent: Thursday, January 16, 2003 10:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]


On Thu, Jan 16, 2003 at 08:14:47AM -0500, Harold L Hunt II wrote:
JS,

Looks like we might have a pthreads problem, but I need you to run the
new debug build below before I can tell:

There have been some pthreads fixes in the latest snapshot if anyone
wants to give that a try.

cgf