Re: another new version of cygwin-doc for upload

2004-03-01 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Joshua Daniel Franklin wrote:

 Here is a new version of cygwin-doc that fixes the PDF
 problem reported on the list. It would probably be best
 to remove 1.3-7 and leave 1.3-6.

 http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-8-src.tar.bz2
 http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-8.tar.bz2

 Thanks.

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: OpenGL header problems

2004-03-01 Thread Alexander Gottwald
On Mon, 1 Mar 2004, Harold L Hunt II wrote:

 However, the problem is a little trickier than just that: I added a call 
 to glPixelStorei in Xserver/hw/xwin/InitOutput.c (without #including any 
 opengl headers) and instead made my own prototype for glPixelStorei.  If 
 I made it:
 
 void __stdcall glPixelStorei (unsigned int, int);
 
 then the linker would complain about how it had to fixup a reference to 
 glPixelStorei as [EMAIL PROTECTED]  But that is exactly what the 
 __stdcall was supposed to do, so I am getting a little confused about 
 why the prototype was being ignored.

i've done some simple tests.

#include stdio.h
#include windows.h

void __stdcall test_std(int x, int y);
void __fastcall test_fast(int x, int y);
void test(int x, int y);
void APIENTRY glPixelStorei (unsigned int, int);

int main(int argc, char *v[]) {
glPixelStorei(1,2);
test(1,2);
test_std(1,2);
test_fast(1,2);
return 0;
}

 gcc test.c -lopengl32

/tmp/cc7SBe73.o(.text+0x45):test.c: undefined reference to [EMAIL PROTECTED]'
/tmp/cc7SBe73.o(.text+0x5c):test.c: undefined reference to [EMAIL PROTECTED]'
/tmp/cc7SBe73.o(.text+0x6e):test.c: undefined reference to [EMAIL PROTECTED]@8'

Without the APIENTRY on glPixelStorei it is 
/tmp/cckNmsz4.o(.text+0x2e):test.c: undefined reference to `_glPixelStorei'
/tmp/cckNmsz4.o(.text+0x42):test.c: undefined reference to `_test'
/tmp/cckNmsz4.o(.text+0x56):test.c: undefined reference to [EMAIL PROTECTED]'
/tmp/cckNmsz4.o(.text+0x68):test.c: undefined reference to [EMAIL PROTECTED]@8'


 Once this little trick is solved we will have to figure out how to get 
 the proper headers in exports/include/GL/; that directory currently 
 getes some Mesa headers in it.  I'm not sure if we can cleanly disable 
 that and point to the w32api OpenGL headers instead.

A while ago I tried modifying the GL header shipped in xc/include. I had 
to change the #if defined(WIN32) to if defined(WIN32) || defined(__CYGWIN__)
an I got the correct stdcall symbols ([EMAIL PROTECTED]) but got stuck with 
some other undefined symbols (which were from a newer OpenGL API and not in
opengl32.dll)

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723
 Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004
 http://www.tu-chemnitz.de/linux/tag


Multi User with Xfree after a Terminal Server (windows)

2004-03-01 Thread Crazy Cygnus24
Hi everybody !

I want to use cygwin under a clien terminal server with windows

i install cygwin on a server
modif cygwin.bat for multi user


REM 
-

  @ECHO OFF

  d:
  chdir d:\cygwin\bin
  SET MAKE_MODE=UNIX
  set PATH=d:\cygwin\bin;%PATH%
  SET IS_CYGWIN=true
  set HISTSIZE=1200
  set HOME=C:/Documents and Settings/%username%/CYGWIN
  set ENV=C:/Documents and Settings/%username%/CYGWIN/.bash_login
  SET D:/cygwin/tmp=D:/cygwin/%username%/tmp
  set CYGWIN=tty
bash --login -i

REM 
-

and startxwin.bat

REM 
-

@echo off
SET DISPLAY=127.0.0.1:0.0
REM
REM The path in the CYGWIN_ROOT environment variable assignment assume
REM that Cygwin is installed in a directory called 'cygwin' in the root
REM directory of the current drive.  You will only need to modify
REM CYGWIN_ROOT if you have installed Cygwin in another directory.  For
REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need
REM to change \cygwin to \foo\bar\baz\cygwin.
REM
REM This batch file will almost always be run from the same drive (and
REM directory) as the drive that contains Cygwin/XFree86, therefore you will
REM not need to add a drive letter to CYGWIN_ROOT.  For example, you do
REM not need to change \cygwin to c:\cygwin if you are running this
REM batch file from the C drive.
REM
SET CYGWIN_ROOT=\cygwin

SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%



REM
REM Cleanup after last run.
REM
REM if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
if not exist %CYGWIN_ROOT%\%username%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
REM attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
REM del %CYGWIN_ROOT%\tmp\.X11-unix\X0
attrib -s %CYGWIN_ROOT%\%username%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\%username%\tmp\.X11-unix\X0
:CLEANUP-FINISH
REM if exist %CYGWIN_ROOT%\%username%\tmp\.X11-unix rmdir 
%CYGWIN_ROOT%\tmp\.X11-unix
if exist %CYGWIN_ROOT%\%username%\tmp\.X11-unix rmdir 
%CYGWIN_ROOT%\%username%\tmp\.X11-unix

REM
REM Startup the X Server, the twm window manager, and an xterm.
REM
REM Notice that the window manager and the xterm will wait for
REM the server to finish starting before trying to connect; the
REM error Cannot Open Display: 127.0.0.1:0.0 is not due to the
REM clients attempting to connect before the server has started, rather
REM that error is due to a bug in some versions of cygwin1.dll.  Upgrade
REM to the latest cygwin1.dll if you get the Cannot Open Display error.
REM See the Cygwin/XFree86 FAQ for more information:
REM http://xfree86.cygwin.com/docs/faq/
REM
REM The error Fatal server error: could not open default font 'fixed' is
REM caused by using a DOS mode mount for the mount that the Cygwin/XFree86
REM fonts are accessed through.  See the Cygwin/XFree86 FAQ for more
REM information:
REM 
http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof
REM

if %OS% == Windows_NT goto OS_NT

REM Windows 95/98/Me
echo startxwin.bat - Starting on Windows 95/98/Me
goto STARTUP

:OS_NT

REM Windows NT/2000/XP/2003
echo startxwin.bat - Starting on Windows NT/2000/XP/2003
:STARTUP

REM Brief descriptions of XWin-specific options:
REM
REM -screen scr_num [width height]
REM  Enable screen scr_num and optionally specify a width and
REM  height for that screen.
REM  Most importantly, any parameters specified before the first -screen
REM  parameter apply to all screens.  Any options after the first 
-screen
REM  parameter apply only to the screen that precedes the parameter.
REM  Example:
REM  XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2
REM  All screens will be fullscreen, but screen 2 will be depth 8, while
REM  screens 0 and 1 will be the default depth (whatever depth Windows
REM  is currently running at).
REM -multiwindow
REM  Start an integrated Windows-based window manager.  Not to be used
REM  with -rootless nor -fullscreen.
REM -rootless
REM  Use a transparent root window with an external window manager
REM  (such as twm).  Not to be used with -multiwindow nor
REM  with -fullscreen.
REM -fullscreen
REM  Use a window as large as possible on the primary monitor.
REM -multiplemonitors
REM  Create a root window that covers all monitors on a
REM  system with multiple monitors.
REM -clipboard
REM  Enable the integrated version of xwinclip.  Do not use in
REM  conjunction with the xwinclip program.
REM -depth bits_per_pixel
REM  Specify the screen depth to run at (in bits per pixel) using a
REM  DirectDraw-based engine in conjunction with the -fullscreen
REM  option, ignored if the -fullscreen option is not specified.
REM  By default, you will be using a DirectDraw based engine on any
REM  system that supports it.
REM -unixkill
REM  Trap 

RE: mouse wheel support question

2004-03-01 Thread Thomas Chadwick
Here's something easy to try.  Bring up the X server, then run xev and 
move the scroll-wheel.  Do you see any Button 4 or Button 5 messages?  If 
so, then the server supports them.  If not, it doesn't.

From: Daren Lim [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: mouse wheel support question
Date: Fri, 20 Feb 2004 13:44:50 -0500
I've implemented a feature for an application that uses the mouse wheel on
the Windows.
I need to code it for XWindows. From what I have read so far the wheel 
sends
mouse button
presses of 4 and 5 in Xwindows.

I'm not sure if trying to test through Cygwin is
not letting me detect the messages in XWindows or if there is another
reason.  I found that for XFree86 4.2 The mouse driver now has support
for mouse wheel emulation.
I tried xdyinfo | grep release
to figure out which version of XFree86 I'm running...
it returned vender release number : 4020
So do I need to update my Xfree86 version ?

Thanks,
dAren
_
Dream of owning a home? Find out how in the First-time Home Buying Guide. 
http://special.msn.com/home/firsthome.armx



xserv 4.3.0-48 problems

2004-03-01 Thread Øyvind Harboe
Note! This is *not* a complaint. I love CygWin + xfree86, and I chose to
be at the bleeding edge because of it.

Something terribly wrong happened when I upgraded to -48. Of course
CygWin setup.exe upgraded oodles of other stuff as well

There is a raft of regressions, so I suspect there must be a common
cause.

- copypaste from windows to Evolution no longer works.
- copypaste from linux to windows no longer works.
- When I press alt-2, I no longer get @, but 2, Norwegian keyboard.
- Evolution shows a disturbing error message upon startup:
'Xlib: extension RENDER missing on display localhost:10.0.'
- If I right click on my Inbox in Evolution, I no longer get a menu as
I used to, but lots of error messages from Evolution(after which
Evolution is no longer responsive).
- Rendering in Office/Evolution is no longer double buffered, and it is
considerably slower when rendering e.g. spreadsheets.
- I'm sure there are other problems, but it is a bit hard to take the
thing for a proper spin in its current state.

Things tried:

- compiled from source, but no difference in behaviour.
- downgraded to -46, same problem.

The only thing that I can think of trying, is to wipe my CygWin
installation and reinstall from scratch.

Øyvind

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winScreenInit - dwWidth: 1600 dwHeight: 1200
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winCreateBoundingWindowWindowed - User w: 1600 h: 1200
winCreateBoundingWindowWindowed - Current w: 1600 h: 1200
winGetWorkArea - Original WorkArea: 0 0 1166 1600
winGetWorkArea - Virtual screen is 2880 x 1200
winGetWorkArea - Virtual screen origin is 0, 0
winGetWorkArea - Primary screen is 1600 x 1200
winGetWorkArea - Adjusted WorkArea for multiple monitors: 0 0 1166 2880
winAdjustForAutoHide - Original WorkArea: 0 0 1166 2880
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1166 2880
winCreateBoundingWindowWindowed - WindowClient w 2880 h 1166 r 2880 l 0 b 1166 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 2880 height: 1200 depth: 32
winAllocateFBShadowGDI - Dibsection width: 2880 height: 1200 depth: 32 size image: 
13824000
winAllocateFBShadowGDI - Created shadow stride: 2880
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitWM - Returning.
winFinishScreenInitFB - returning
winScreenInit - returning
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
InitOutput - Returning.
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: 0414 (0414) 
(--) Using preset keyboard for Norwegian (414), type 4
Rules = xfree86 Model = pc105 Layout = no Variant = (null) Options = (null)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 1440 600
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.


Re: OpenGL header problems

2004-03-01 Thread Igor Pechtchanski
On Mon, 1 Mar 2004, Harold L Hunt II wrote:

 As I mentioned in my email about enabling indirect OpenGL acceleration,
 there are some problems when trying to link to -lopengl32.

 I tracked this down to problems with the way that
 /usr/include/w32api/GL/gl.h decorates the function declarations for the
 gl* functions.  There are some collisions between the way that the
 standard windows headers define WINGDIAPI and APIENTRY and the way that
 gl.h expects them to be.

 However, the problem is a little trickier than just that: I added a call
 to glPixelStorei in Xserver/hw/xwin/InitOutput.c (without #including any
 opengl headers) and instead made my own prototype for glPixelStorei.  If
 I made it:

 void __stdcall glPixelStorei (unsigned int, int);

 then the linker would complain about how it had to fixup a reference to
 glPixelStorei as [EMAIL PROTECTED]  But that is exactly what the
 __stdcall was supposed to do, so I am getting a little confused about
 why the prototype was being ignored.

 I need an expert on __stdcall and w32api headers to give me a hand here.
   Igor, I saw a post you made on this subject before, so I am counting
 on you :)

 Once this little trick is solved we will have to figure out how to get
 the proper headers in exports/include/GL/; that directory currently
 getes some Mesa headers in it.  I'm not sure if we can cleanly disable
 that and point to the w32api OpenGL headers instead.

 Harold

Harold,

I'm by no means an expert, and I can't seem to reproduce it.  Could you
please post the exact gcc invocation that exhibits these symptoms?
Looking at ld's info page, there are a couple of options that could be
passed to the linker to modify this behavior.  It may also be a problem
with the import lib, for all I know...  Is the build seeing the right
libraries?

Also, the GL/gl.h header doesn't actually use WINGDIAPI, and GLAPI is
defined to be extern on Cygwin.  Your declaration, however, seems
correct.  Just for kicks, could you try reverting to including GL/gl.h in
Xserver/hw/xwin/InitOutput.c and run the build command for that file with
a -E in CFLAGS?  That should produce a preprocessed version of
Xserver/hw/xwin/InitOutput.c, so you can see exactly how glPixelStorei is
declared.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


RE: xserv 4.3.0-48 problems

2004-03-01 Thread Andrew Braverman
Did you try the ForwardX11Trusted configuration that has been discussed here
over the last few days?

- Andy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Øyvind Harboe
 Sent: Monday, March 01, 2004 12:05 PM
 To: [EMAIL PROTECTED]
 Subject: xserv 4.3.0-48 problems


 Note! This is *not* a complaint. I love CygWin + xfree86, and
 I chose to
 be at the bleeding edge because of it.

 Something terribly wrong happened when I upgraded to -48. Of course
 CygWin setup.exe upgraded oodles of other stuff as well

 There is a raft of regressions, so I suspect there must be a common
 cause.

 - copypaste from windows to Evolution no longer works.
 - copypaste from linux to windows no longer works.
 - When I press alt-2, I no longer get @, but 2, Norwegian
 keyboard.
 - Evolution shows a disturbing error message upon startup:
 'Xlib: extension RENDER missing on display localhost:10.0.'
 - If I right click on my Inbox in Evolution, I no longer
 get a menu as
 I used to, but lots of error messages from Evolution(after which
 Evolution is no longer responsive).
 - Rendering in Office/Evolution is no longer double buffered,
 and it is
 considerably slower when rendering e.g. spreadsheets.
 - I'm sure there are other problems, but it is a bit hard to take the
 thing for a proper spin in its current state.

 Things tried:

 - compiled from source, but no difference in behaviour.
 - downgraded to -46, same problem.

 The only thing that I can think of trying, is to wipe my CygWin
 installation and reinstall from scratch.

 Øyvind






view these!!

2004-03-01 Thread rita austin
FROM: EZEKWED CHAMBERS
 575 Finchley Road
 London NW3 7BJ
 U.K

 NOTIFICATION OF BEQUEST

My name is Mrs.riat austin, a legal practitioner ofEZEKWED CHAMBERS in London and 
personalrepresentative to Mr. John Ryerson who died on the 9thof february 2002On 
behalf of the Trustees and ExecutorS of the estateof Late Engr. John Ryerson, I once 
again try to notify you as my earlier letter toyou by Post was returned undelivered. I 
hereby attempt to reach you
via your email. I wish to notify you that late Engr. John Ryerson
made you a beneficiary to his will.He left the sum of Three Hundred and Fifty Thousand
Dollars (US$350,000.00 ) to you in the codicil and last testament to his will. This
may sound strange and unbelievable  to you, but it is real and true. Being a widely 
traveled man, he must have been in contact with you in the past or simply you were
nominated to him by one of his numerous friends abroad who wished you good. Engr,
JOHN RYERSON until his death was a former managing director and pioneer staff of a
giant construction company.
   He was a very dedicated religious man who loved to give out. His great 
philanthropy  earned him numerous awards during his life time. Late Engr. John Ryerson 
died on the  9th day of February 2002 at the age of 82 years, and his Will is now 
ready for  execution. Please If I reach you as I am hopeful, endeavor to get
back to me as soon as possible  to enable me execute the Will to conclude my job.
You should forward along yourcurrent telephone and fax number, including your current 
mailing address. I hope to  hear from you in no distant time.

 Mrs. rita austin(ESQ)
 Ezekwed Chambers.






Re: Minor progress on Windows clipboard deadlock

2004-03-01 Thread Harold L Hunt II
Øyvind,

I think I fixed at least part of your problem with the clipboard support 
when compiling from CVS.  It turned out that my OsVendorReset function 
was not being called in the CVS version because -DDDXOSRESET was not 
being defined where the files in Xserver/dix/ could see it, thus no call 
was made to OsVendorReset since it is wrapped with #ifdef DDXOSRESET.

I'm not sure if you were using Xdmcp or if you were using -mutliwindow 
with ssh.  If you were using Xdmcp, then this may fix your problem; if 
you are only using ssh, then it is unlikely to help.

Harold

Øyvind Harboe wrote:

I believe I've made a tiny step towards finding out when this happens.

Before the deadlock happens copying from windows and pasting in e.g.
Evolution no longer works.
I.e. the paste behaves as if the clipboard is empty.

At this point XWin is doomed.

If you subsequently copy from e.g. Evolution and paste in any Windows
app, that Windows app is deadlocked.
Øyvind



xterm stops drawing

2004-03-01 Thread Chad Haynes
Hello,

I recently installed cygwin/X and everything was working pretty well.  
Today I installed the rxvt package and suddenly everything went nuts in 
multiwindow mode.  Running the startxwin.sh script which worked fine 
before no longer functions properly.  The window that appears is only 
half drawn and when I try to drag it around there is a ghost of the 
image on the other side of the screen.  After the window has been 
dragged, it no longer draws anything other than the border.  I 
reinstalled everything, but it has not helped. 

I have dual monitors connected and am using the command: Xwin 
-multiwindow -multimonitors

I'm attaching my cygcheck, any help would be greatly appreciated.

-Chad

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Mar 01 16:19:41 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\oracle\ora92\bin
c:\Program Files\Oracle\jre\1.1.8\bin
c:\Perl\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Common Files\Adaptec Shared\System
c:\Python23\
c:\dev-cpp\bin
c:\SWIG-1.3.19
c:\SFU\common\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(Chad Haynes) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(Chad Haynes) GID: 513(None)
513(None)  544(Administrators)
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\Chad Haynes'
LD_LIBRARY_PATH = `C:\cygwin\usr\lib:\usr\X11R6\lib'
MAKE_MODE = `unix'
PWD = `/home/Chad Haynes'
USER = `Chad Haynes'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   38130Mb  47% CP CS UN PA FC 
d:  cd   N/AN/A
e:  cd   N/AN/A
m:  net NFS64965Mb   5% CP 
n:  net NFS10137Mb  85% CP 

C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.  /cygdrive system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: c:\SFU\common\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: c:\SFU\common\cp.exe
Found: C:\cygwin\usr\local\bin\cpp.exe
Found: C:\cygwin\bin\cpp.exe
Found: c:\dev-cpp\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\SFU\common\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: c:\dev-cpp\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: c:\dev-cpp\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: c:\SFU\common\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: c:\dev-cpp\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: c:\SFU\common\ls.exe
Found: C:\cygwin\bin\make.exe
Found: c:\dev-cpp\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: c:\SFU\common\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: c:\dev-cpp\bin\rm.exe
Found: c:\SFU\common\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: c:\SFU\common\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: c:\dev-cpp\bin\tar.exe

  237k 2003/11/18 C:\cygwin\usr\X11R6\bin\cygdps-1.dll
  121k 2003/11/18 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll
   28k 2004/01/16 C:\cygwin\usr\X11R6\bin\cygDtPrint-1.dll
  282k 2003/10/28 C:\cygwin\usr\X11R6\bin\cygfreetype-9.dll
  373k 2003/11/18 C:\cygwin\usr\X11R6\bin\cygGL-1.dll
  439k 2003/11/18 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll
   74k 2003/11/18 C:\cygwin\usr\X11R6\bin\cygICE-6.dll
   76k 2004/01/16 C:\cygwin\usr\X11R6\bin\cygMrm-2.dll
9k 2003/11/18 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll
 1271k 2003/11/18 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll
   20k 2003/11/18 

Re: xterm stops drawing

2004-03-01 Thread Harold L Hunt II
Chad,

Try the 'test' package XFree86-xserv-4.3.0-48.  You get this by running 
Cygwin's setup.exe again (no need for reinstall) and manually select the 
4.3.0-48 version by clicking on the Keep value several times until it 
says 4.3.0-48.  Be aware that you have to do this *everytime* you run 
Cygwin's setup.exe, or else it will downgrade you to 4.3.0-47 again.

Harold

Chad Haynes wrote:

Hello,

I recently installed cygwin/X and everything was working pretty well.  
Today I installed the rxvt package and suddenly everything went nuts in 
multiwindow mode.  Running the startxwin.sh script which worked fine 
before no longer functions properly.  The window that appears is only 
half drawn and when I try to drag it around there is a ghost of the 
image on the other side of the screen.  After the window has been 
dragged, it no longer draws anything other than the border.  I 
reinstalled everything, but it has not helped.
I have dual monitors connected and am using the command: Xwin 
-multiwindow -multimonitors

I'm attaching my cygcheck, any help would be greatly appreciated.



Re: xterm stops drawing

2004-03-01 Thread Chad Haynes
Unfortunately this did not help, the same problems are still happening.

-Chad

Harold L Hunt II wrote:

Chad,

Try the 'test' package XFree86-xserv-4.3.0-48.  You get this by 
running Cygwin's setup.exe again (no need for reinstall) and manually 
select the 4.3.0-48 version by clicking on the Keep value several 
times until it says 4.3.0-48.  Be aware that you have to do this 
*everytime* you run Cygwin's setup.exe, or else it will downgrade you 
to 4.3.0-47 again.

Harold

Chad Haynes wrote:

Hello,

I recently installed cygwin/X and everything was working pretty 
well.  Today I installed the rxvt package and suddenly everything 
went nuts in multiwindow mode.  Running the startxwin.sh script which 
worked fine before no longer functions properly.  The window that 
appears is only half drawn and when I try to drag it around there is 
a ghost of the image on the other side of the screen.  After the 
window has been dragged, it no longer draws anything other than the 
border.  I reinstalled everything, but it has not helped.
I have dual monitors connected and am using the command: Xwin 
-multiwindow -multimonitors

I'm attaching my cygcheck, any help would be greatly appreciated.




Re: xterm stops drawing

2004-03-01 Thread Harold L Hunt II
Send in /tmp/XWin.log.

Chad Haynes wrote:

Unfortunately this did not help, the same problems are still happening.


Re: xterm stops drawing

2004-03-01 Thread Chad Haynes
Here it is,  thanks for taking the time to look at this.

-Chad

Harold L Hunt II wrote:

Send in /tmp/XWin.log.

Chad Haynes wrote:

Unfortunately this did not help, the same problems are still happening.

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winScreenInit - dwWidth: 1280 dwHeight: 1024
winSetEngine - Multi Window = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winScreenInit - Monitors do not all have same pixel format / display depth.
Using primary display only.
winCreateBoundingWindowWindowed - User w: 1280 h: 1024
winCreateBoundingWindowWindowed - Current w: 1280 h: 1024
winAdjustForAutoHide - Original WorkArea: 0 106 1024 1280
winAdjustForAutoHide - Adjusted WorkArea: 0 106 1024 1280
winCreateBoundingWindowWindowed - WindowClient w 1174 h 1024 r 1174 l 0 b 1024 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 1174 height: 1024 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1174 height: 1024 depth: 32 size image: 
4808704
winAllocateFBShadowGDI - Created shadow stride: 1174
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winFinishScreenInitFB - Calling winInitWM.
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitWM - Returning.
winFinishScreenInitFB - returning
winScreenInit - returning
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
InitOutput - Returning.
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) 
Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (null)
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
winPointerWarpCursor - Discarding first warp: 587 512
winBlockHandler - Releasing pmServerStarted
winInitMultiWindowWM - pthread_mutex_lock () returned.
winBlockHandler - pthread_mutex_unlock () returned
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winDeinitMultiWindowWM - Noting shutdown in progress
OsVendorReset - Hello
winDeinitMultiWindowWM - Noting shutdown in progress


Re: OpenGL header problems

2004-03-01 Thread Harold L Hunt II
Igor Pechtchanski wrote:

On Mon, 1 Mar 2004, Harold L Hunt II wrote:


As I mentioned in my email about enabling indirect OpenGL acceleration,
there are some problems when trying to link to -lopengl32.
I tracked this down to problems with the way that
/usr/include/w32api/GL/gl.h decorates the function declarations for the
gl* functions.  There are some collisions between the way that the
standard windows headers define WINGDIAPI and APIENTRY and the way that
gl.h expects them to be.
However, the problem is a little trickier than just that: I added a call
to glPixelStorei in Xserver/hw/xwin/InitOutput.c (without #including any
opengl headers) and instead made my own prototype for glPixelStorei.  If
I made it:
void __stdcall glPixelStorei (unsigned int, int);

then the linker would complain about how it had to fixup a reference to
glPixelStorei as [EMAIL PROTECTED]  But that is exactly what the
__stdcall was supposed to do, so I am getting a little confused about
why the prototype was being ignored.
I need an expert on __stdcall and w32api headers to give me a hand here.
 Igor, I saw a post you made on this subject before, so I am counting
on you :)
Once this little trick is solved we will have to figure out how to get
the proper headers in exports/include/GL/; that directory currently
getes some Mesa headers in it.  I'm not sure if we can cleanly disable
that and point to the w32api OpenGL headers instead.
Harold


Harold,

I'm by no means an expert, and I can't seem to reproduce it.  Could you
please post the exact gcc invocation that exhibits these symptoms?
Looking at ld's info page, there are a couple of options that could be
passed to the linker to modify this behavior.  It may also be a problem
with the import lib, for all I know...  Is the build seeing the right
libraries?
Also, the GL/gl.h header doesn't actually use WINGDIAPI, and GLAPI is
defined to be extern on Cygwin.  Your declaration, however, seems
correct.  Just for kicks, could you try reverting to including GL/gl.h in
Xserver/hw/xwin/InitOutput.c and run the build command for that file with
a -E in CFLAGS?  That should produce a preprocessed version of
Xserver/hw/xwin/InitOutput.c, so you can see exactly how glPixelStorei is
declared.
I have attached a demo program and Makefile that closely models the way 
that XWin.exe is built: it builds a static library and links that static 
lib and some system libs into an executable, using most of the 
compilation flags that are being used when building XWin.exe and 
libXWin.a.  Only one problem: it doesn't have any problems!  :)

The demo program can #include windows.h and it can #include GL/gl.h, 
or it can leave both of those out and just include the resulting 
prototype for glPixelStorei:

void __attribute__((__stdcall__)) glPixelStorei (unsigned int, int);

Both of these approaches work just fine.

I included the above prototype in InitOutput.c (and did another test in 
winshadgdi.c to be sure), did not include GL/gl.h and checked the 
preprocessed file to make sure that the glPixleStorei prototype came 
through exactly as it was in the source.  The program links to that 
function (however, I was able to achieve this before doing something 
similar), but I still get this silly warning that I do not get from the 
demo program:

Warning: resolving _glPixelStorei by linking to [EMAIL PROTECTED]
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
I can't just ignore this warning because we call tons of other stdcall 
functions in Win32 DLLs (such as BitBlt from winshadgdi.c) and their 
prototypes look identical to the one above for glPixelStorei.  So 
something weird is going on that is causing libopengl32.a to misbehave 
for stdcall functions while all other libraries are working just fine 
with stdcall functions.  This unexplained discrepancy bothers me.

I have checked the symbols from libgdi32.a and libopengl32.a and they 
look the same... so this doubly bothers me.

Detailed commands are below for those that are interested.

Harold

InitOutput.o command

gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. 
-I../../../../exports/include/X11 -I../../../../include/fonts 
-I../../../../programs/Xserver/fb -I../../../../programs/Xserver/mi 
-I../../../../programs/Xserver/miext/shadow 
-I../../../../programs/Xserver/miext/layer 
-I../../../../programs/Xserver/include -I../../../../programs/Xserver/os 
-I../../../../include/extensions -I../../../../exports/include/X11 
-I../../../../programs/Xserver/render 
-I../../../../programs/Xserver/randr -I../../../.. 
-I../../../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN 
-DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE 
-D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP 
-DXF86BIGFONT -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
-DSINGLEDEPTH -DXFree86Server 

Cygwin Openbox queries

2004-03-01 Thread Jophrey Lim
Hi,
 
I am having trouble with the Cygwin.
 
 I had downloaded and installed the complete suite fo the Cygwin 
 including all the modules for the X Window System.
 
 I am trying to start the X server with Cygwin/X running in Rootless mode 
 with the /openbox/ window manager running locally (one of the screenshots).
 
 However, I have no idea on how to do it. I tried running openbox but I 
 got this error saying Connection to X server failed. I had checked the 
 online user guide and searched the internet for any guide but failed.
 
 Do you have any script on how to start the X server with openbox window 
 manager? Any website that I can refer to?
 
 Thank you so much in advance for your help. I really appreciate your help.
 
 Regards,
Jophrey





__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools


Re: OpenGL header problems

2004-03-01 Thread Igor Pechtchanski
On Mon, 1 Mar 2004, Harold L Hunt II wrote:

Igor Pechtchanski wrote:

 On Mon, 1 Mar 2004, Harold L Hunt II wrote:

As I mentioned in my email about enabling indirect OpenGL acceleration,
there are some problems when trying to link to -lopengl32.

I tracked this down to problems with the way that
/usr/include/w32api/GL/gl.h decorates the function declarations for the
gl* functions.  There are some collisions between the way that the
standard windows headers define WINGDIAPI and APIENTRY and the way that
gl.h expects them to be.

However, the problem is a little trickier than just that: I added a call
to glPixelStorei in Xserver/hw/xwin/InitOutput.c (without #including any
opengl headers) and instead made my own prototype for glPixelStorei.  If
I made it:

void __stdcall glPixelStorei (unsigned int, int);

then the linker would complain about how it had to fixup a reference to
glPixelStorei as [EMAIL PROTECTED]  But that is exactly what the
__stdcall was supposed to do, so I am getting a little confused about
why the prototype was being ignored.

I need an expert on __stdcall and w32api headers to give me a hand here.
  Igor, I saw a post you made on this subject before, so I am counting
on you :)

Once this little trick is solved we will have to figure out how to get
the proper headers in exports/include/GL/; that directory currently
getes some Mesa headers in it.  I'm not sure if we can cleanly disable
that and point to the w32api OpenGL headers instead.

Harold


 Harold,

 I'm by no means an expert, and I can't seem to reproduce it.  Could you
 please post the exact gcc invocation that exhibits these symptoms?
 Looking at ld's info page, there are a couple of options that could be
 passed to the linker to modify this behavior.  It may also be a problem
 with the import lib, for all I know...  Is the build seeing the right
 libraries?

 Also, the GL/gl.h header doesn't actually use WINGDIAPI, and GLAPI is
 defined to be extern on Cygwin.  Your declaration, however, seems
 correct.  Just for kicks, could you try reverting to including GL/gl.h in
 Xserver/hw/xwin/InitOutput.c and run the build command for that file with
 a -E in CFLAGS?  That should produce a preprocessed version of
 Xserver/hw/xwin/InitOutput.c, so you can see exactly how glPixelStorei is
 declared.
I have attached a demo program and Makefile that closely models the way
that XWin.exe is built: it builds a static library and links that static
lib and some system libs into an executable, using most of the
compilation flags that are being used when building XWin.exe and
libXWin.a.  Only one problem: it doesn't have any problems!  :)
The demo program can #include windows.h and it can #include GL/gl.h,
or it can leave both of those out and just include the resulting
prototype for glPixelStorei:
void __attribute__((__stdcall__)) glPixelStorei (unsigned int, int);

Both of these approaches work just fine.

I included the above prototype in InitOutput.c (and did another test in
winshadgdi.c to be sure), did not include GL/gl.h and checked the
preprocessed file to make sure that the glPixleStorei prototype came
through exactly as it was in the source.  The program links to that
function (however, I was able to achieve this before doing something
similar), but I still get this silly warning that I do not get from the
demo program:
Warning: resolving _glPixelStorei by linking to [EMAIL PROTECTED]
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
I can't just ignore this warning because we call tons of other stdcall
functions in Win32 DLLs (such as BitBlt from winshadgdi.c) and their
prototypes look identical to the one above for glPixelStorei.  So
something weird is going on that is causing libopengl32.a to misbehave
for stdcall functions while all other libraries are working just fine
with stdcall functions.  This unexplained discrepancy bothers me.
I have checked the symbols from libgdi32.a and libopengl32.a and they
look the same... so this doubly bothers me.
Detailed commands are below for those that are interested.

Harold

InitOutput.o command

gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. 
-I../../../../exports/include/X11 -I../../../../include/fonts 
-I../../../../programs/Xserver/fb -I../../../../programs/Xserver/mi 
-I../../../../programs/Xserver/miext/shadow  
-I../../../../programs/Xserver/miext/layer -I../../../../programs/Xserver/include 
-I../../../../programs/Xserver/os -I../../../../include/extensions 
-I../../../../exports/include/X11 -I../../../../programs/Xserver/render 
-I../../../../programs/Xserver/randr -I../../../.. -I../../../../exports/include 
-D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE 
-D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT 
-DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DRENDER  -DGCCUSESGAS 
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 

Re: OpenGL header problems

2004-03-01 Thread Harold L Hunt II
Igor Pechtchanski wrote:

Harold,

What about the command that builds the static library that InitOutput.o is
included into?  Does it, by any chance, use a --kill-at linker flag?
Otherwise I'm out of ideas.  If you could either post the whole XWin.exe
make log somewhere or send it to me privately, I'll see if I can spot
something that's different in your test example.  Posting it will, of
course, allow everyone else to examine it as well.
Igor
Oops, forgot to include that command.  Putting together a complete build 
log would be kinda tricky at the moment since I'm not really doing a 
complete build of things... it would just have what I have sent so far, 
plus the link command below and tons of additional notes on which 
directory it is going into to do nothing.  I don't think that would be 
of much use.

Harold

ar clq libXWin.a InitInput.o InitOutput.o stubs.o winallpriv.o winauth.o 
winblock.o wincmap.o winconfig.o wincreatewnd.owincursor.o windialogs.o 
winengine.o winerror.o winglobals.o winkeybd.o winmisc.o winmouse.o 
winmsg.o winmultiwindowclass.o winmultiwindowicons.o winprefs.o 
winprefslex.o winprefsyacc.o winprocarg.o winregistry.o winscrinit.o 
winshaddd.o winshadddnl.o winshadgdi.o wintrayicon.o winwakeup.o 
winwindow.o winwndproc.o winclipboardinit.o winclipboardtextconv.o 
winclipboardthread.o winclipboardunicode.o winclipboardwndproc.o 
winclipboardwrappers.o winclipboardxevents.o winmultiwindowshape.o 
winmultiwindowwindow.o winmultiwindowwm.o winmultiwindowwndproc.o
ranlib libXWin.a


Takuma's Duplicate Display Check

2004-03-01 Thread Harold L Hunt II
Takuma,

Your duplicate display check in InitOutput.c seems correct to me.

The only question I have is if the mutex allocated by CreateMutex is 
visible by XWin.exe running under a different session on Terminal Services.

Oops, I just looked it up and answered my own question:


Terminal Services:  The name can have a Global\ or Local\ prefix to 
explicitly create the object in the global or session name space. The 
remainder of the name can contain any character except the backslash 
character (\). For more information, see Kernel Object Namespaces.

Windows XP:  Fast user switching is implemented using Terminal Services 
sessions. The first user to log on uses session 0, the next user to log 
on uses session 1, and so on. Kernel object names must follow the 
guidelines outlined for Terminal Services so that applications can 
support multiple users.

Windows 2000:  If Terminal Services is not running, the Global\ and 
Local\ prefixes are ignored. The remainder of the name can contain any 
character except the backslash character.

Windows NT 4.0 and earlier:  The name can contain any character except 
the backslash character.

Windows 95/98/Me:  The name can contain any character except the 
backslash character. The empty string () is a valid object name.


We can easily add Global\ to the name, but I think we have to have a 
way to detect that the NT version is greater than 4.0, since it sounds 
like CreateMutex may fail on Windows 95/98/Me/NT 4.0 if you pass it a 
\ in the name.

I am going to add the Global\ to CVS... and possibly a way to make 
sure that Global\ is only prepended for NT  4.0.

Harold


Cygwin/xFree from 2 users

2004-03-01 Thread Jim Scheef
Hello.

I use a notebook computer so I can carry my computing environment around.
This is WinXP and current versions of Cygwin and xFree as of a few weeks ago.

I have several user 'accounts' that belong to various domains. Most of these
accounts are 'js', as in [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], etc.
I want all of these to use the same Cygwin home directory.

Cygwin and X were installed from [EMAIL PROTECTED] When I'm not connected to a
network, I use [EMAIL PROTECTED] Cygwin seems to work with both user accounts
but X will not start from [EMAIL PROTECTED] The attached xwin.log came from
running xinit. Trying to start kde gives an error that there is no write
access to .ICEauthority. I believe the X problem is related to permissions
within /home/js. 

I have tried to set up permissions for both user accounts on /home/js but I
can't seem to make them stick. 

What permissions are needed? What file permissions are critical, which mearly
convenient? Does the setup process replace the permissions on the user's home
directory? How can Cygwin and X be configured for multiple users on a
machine? and the big question - how can I configure Cygwin and X so that I
can use the same /home/js directory from multiple 'js' accounts?

Jim



__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

XWin.log
Description: XWin.log


Re: Takuma's Duplicate Display Check

2004-03-01 Thread Harold L Hunt II
Okay, I fixed it.  It should work with Terminal Services now without 
causing problems with non-NT  4.0 versions of Windows.  The change has 
been committed to the CYGWIN tag in CVS.

Harold


Minor progress on Windows clipboard deadlock

2004-03-01 Thread Øyvind Harboe
I'm not sure if you were using Xdmcp or if you were using -mutliwindow with ssh.
If you were using Xdmcp, then this may fix your problem; if you are only using
ssh, then it is unlikely to help.

-multiwindow + ssh.

I'm still on the lookout for when this happens, but I haven't run with -48 
for very long.

I would say that there is inconclusive evidence that this this deadlock does not
occur under W2K with a single monitor, but only on a XP machine w/multiple monitors. 

Øyvind





src/winsup/w32api/include winuser.h

2004-03-01 Thread dannysmith
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-01 10:30:01

Modified files:
winsup/w32api/include: winuser.h 

Log message:
Missed this in last commit.

2004-03-01  Martin Fuchs  [EMAIL PROTECTED]

* include/winuser.h (COLOR_*): Define missing constants.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winuser.h.diff?cvsroot=srcr1=1.84r2=1.85



src/winsup/cygwin ChangeLog

2004-03-01 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-01 20:43:22

Modified files:
winsup/cygwin  : ChangeLog 

Log message:
fix minor typo

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2335r2=1.2336



src/winsup/cygwin ChangeLog

2004-03-01 Thread cgf
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2004-03-01 20:44:02

Modified files:
winsup/cygwin  : ChangeLog 

Log message:
fix minor typo

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.2336r2=1.2337



Sara

2004-03-01 Thread cygwin
I'm married and I stay at home. And I don't do cyber sex so leave me the fuck alone
attachment: Bad_girl.zip


Katrina

2004-03-01 Thread cygwin-announce
Argh, i don't like the plaintext :)
password for archive: 35730
attachment: Mandy.zip


[ANNOUNCEMENT] Updated: rxvt-2.7.10-4

2004-03-01 Thread Steve O
rxvt is a terminal program that can be used instead of the windows
command shell.  This port can be used with or without X.

This build enables 256 color support and fixes a problem loading 
the newly named X11 dll when displaying to an X display. 


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

To install rxvt for the first time, choose rxvt from the packages list,
in the Shell category. If you already have rxvt installed, the update will
be pre-selected.

Remember that some mirror sites may not have updated before this
announcement is made. If your usual mirror does not have the latest version
of this package, please be patient or select an alternate mirror.

Thanks.
-steve



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



Re: [ANNOUNCEMENT] Updated: rxvt-2.7.10-4

2004-03-01 Thread Olaf Föllinger
Hi,

On Mon, Mar 01, 2004 at 04:23:46AM -0500, Steve O wrote:
 rxvt is a terminal program that can be used instead of the windows
 command shell.  This port can be used with or without X.
 
 This build enables 256 color support and fixes a problem loading 
 the newly named X11 dll when displaying to an X display. 

could you please provide an example how to use 256 colors ? I'm
especially interested in a real white background.
 
 
Gruss Olaf Föllinger

-- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG

Alt-Moabit 91a
D-10559 Berlin
Germany
Tel:   +49 30 390722 -291
Fax:   +49 30 390722 -222
Mobil: +49 173 6227080
http://www.sesa.de
mailto: [EMAIL PROTECTED]

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



Re: XEmacs and hot laptops

2004-03-01 Thread Tomasz Rojek

 Most of laptops I've seen have fixed speed fans, that are turned on when
 heat exceeds some predefined limit, and for some reasons on some laptops
 fan just runs for sure once a while.

 Mine laptop is set as high as 70 celcius CPU temp, so well, it get's
 hot, specially from under (Yes, you can burn your balls if your not
 careful =)

 Force lower clockspeed. Can be done on Intel speedstep, or AMD's
 equivalent thingy. Of course, things takes twice as longer, but hey, no
 more heat.

 Laptops are designed to run on higher heats, so no concern of frying.
I can confirm Jani's words - my 3 years old Lifebook calculates SETI work
units all the time, so the fan never gets stopped :-) BTW: I use cygwin to
proccess a 100 work units queue without any additional software like
SetiQueue or similar one.

-- 
Greetings

Tomasz Rojek





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



Problem with dd to raw disks

2004-03-01 Thread Anees Mannesseri
Hi,
  I am facing problems issuing dd to raw disks from
windows 2k3 server thru cygwin.

dd if/dev/zero of=.\\PHYSICALDRIVE4 count=5
seek =3 fails with the error 

dd: opening `.\\PHYSICALDRIVE4': Invalid argument

But it works the other way, I mean if i give
.\\PHYSICALDRIVE4 as the input device and
/dev/null as the output device.
Any hints/clues ?

Thanks
Anees

__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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



RE: 1.5.7: Problems with german umlauts in bash/rxvt command line

2004-03-01 Thread Morche Matthias
Now that You point it out, I myself also do not understand how this can work, but it 
does!

BTW, Hannu, Your mailto does not really work :-)


 -Original Message-
 From: Hannu E K Nevalainen [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 28, 2004 3:04 PM
 To: Morche Matthias
 Subject: RE: 1.5.7: Problems with german umlauts in bash/rxvt command
 line
 
 
  From: Morche Matthias
  Subject: RE: 1.5.7: Problems with german umlauts in 
...
  set input-meta off
...
  set meta-flag off
  set output-meta on
...
 --- bind.mm 2004-02-28 12:49:20.0 +0100
 +++ bind.henk   2004-02-28 12:47:04.0 +0100
 @@ -6 +6 @@
 -set enable-keypad off
 +set enable-keypad on
 @@ -10 +10 @@
 -set input-meta off
 +set input-meta on
 @@ -13 +13 @@
 -set mark-symlinked-directories off
 +set mark-symlinked-directories on
 @@ -15 +15 @@
 -set meta-flag off
 +set meta-flag on
 @@ -22 +22 @@
 -set bell-style audible
 +set bell-style visible
 
  I find it strange that you have got characters with 8'th bit 
 set to work...
 My experience is that 'input-meta' and 'meta-flag' has to be set as
 indicated on '+' marked lines above. Read below to see how I 
 have things
 set.
...

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



RE: Problem with dd to raw disks

2004-03-01 Thread Morche Matthias
Did You ever try to use //./physicaldrive4 instead? It seems to a quotation 
problem...

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Behalf
 Of Anees Mannesseri
 Sent: Monday, March 01, 2004 1:29 PM
 To: [EMAIL PROTECTED]
 Subject: Problem with dd to raw disks
 
...
 dd if/dev/zero of=.\\PHYSICALDRIVE4 count=5
 seek =3 fails with the error 
 
 dd: opening `.\\PHYSICALDRIVE4': Invalid argument
...

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



read(): varblk tape records...

2004-03-01 Thread Jason Winter
The NT API 'ReadFile' for reading variable block tape records indicates the 
block length by returning only one full-block at a time (per read call) 
which isn't being honored by CygWin's read() function.

Can CygWin be changed to detect a *tape* read() call and not continue to 
fill the user-buffer after the first ReadFile call returns?

The Tape Block Length information is in MSDN, within the document Q161338 in 
the knowledge base.

It *may* also be the case that setting a SCSI tape (/dev/st0) to 
variable-block mode is required before each write operation under NT/2000 - 
which is slightly different to the way my RetHat Linux 8.0 works, which 
keeps the mode set even after a write call.  Then again it could be my 
setup: Adaptec 1520B SCSI Adaptor w/ 4mm DDS-2 DAT Drive.

_
You could be a genius! Find out by taking the IQ Test 2003. $5.50 (incl 
GST).  Click here  http://sites.ninemsn.com.au/minisite/testaustralia/

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


Re: Problem with dd to raw disks

2004-03-01 Thread Corinna Vinschen
On Mar  1 14:07, Morche Matthias wrote:
 Did You ever try to use //./physicaldrive4 instead? It seems to a quotation 
 problem...

What about reading the user's guide instead?

http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN806

Corinna

  -Original Message-
  dd if/dev/zero of=.\\PHYSICALDRIVE4 count=5
  seek =3 fails with the error 
  
  dd: opening `.\\PHYSICALDRIVE4': Invalid argument
 ...
 
 --
 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/

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Re: read(): varblk tape records...

2004-03-01 Thread Corinna Vinschen
On Mar  1 13:32, Jason Winter wrote:
 The NT API 'ReadFile' for reading variable block tape records indicates the 
 block length by returning only one full-block at a time (per read call) 
 which isn't being honored by CygWin's read() function.

???

 Can CygWin be changed to detect a *tape* read() call and not continue to 
 fill the user-buffer after the first ReadFile call returns?

I don't understand what you mean, sorry.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Re: cygcheck

2004-03-01 Thread Karl M
Hi Chris...

Blaming is a mean thing to do :,).

...Karl


From: Christopher Faylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: cygcheck
Date: Sun, 29 Feb 2004 21:44:46 -0500
On Sun, Feb 29, 2004 at 09:36:42PM -0500, Igor Pechtchanski wrote:
On Sun, 29 Feb 2004, Larry Hall wrote:
At 09:16 PM 2/29/2004, George Hester you wrote:
Thanks for not browbeating me.  You would be amazed at the anathema
newbies such as myself often generate.

Yes, Igor has been known for ruining Cygwin's email list reputation of
being mean.  If you're new to the list, it's an inside joke so
don't worry if you don't get it.

Hey, I'm workin' on it.  Give me a couple more years...  :-p
Just to be clear:  I started out mean.

I blame too much tech support at a young age.

HTH,
cgf
--
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/
_
Watch high-quality video with fast playback at MSN Video. Free! 
http://click.atdmt.com/AVE/go/onm00200365ave/direct/01/

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


Re: Problem with dd to raw disks

2004-03-01 Thread Anees Mannesseri
Hi,
 Thanx for the references. I tried the forward slash,
but that didnt help. After going thru the user's
guide, i tried /dev/sde instead of //./PHYSICALDRIVE4
and it worked. From what i could undertand, the
problem is with opening the file for write. Any clue
on how to get thru this ?

Thanx
Anees
On Mar  1 14:07, Morche Matthias wrote:
 Did You ever try to use //./physicaldrive4 instead?
It seems to a quotation problem...

What about reading the user's guide instead?

http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN806

Corinna

  -Original Message-
  dd if/dev/zero of=.\\PHYSICALDRIVE4
count=5
  seek =3 fails with the error 
  
  dd: opening `.\\PHYSICALDRIVE4': Invalid
argument
 ...
 
 --


__
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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



Re: Problem with dd to raw disks

2004-03-01 Thread Larry Hall
Pah!  The User's Guide.  That's just a document full of useful 
information.  Why would anyone want to read that? ;-)

Larry


At 09:47 AM 3/1/2004, you wrote:
On Mar  1 14:07, Morche Matthias wrote:
 Did You ever try to use //./physicaldrive4 instead? It seems to a quotation 
 problem...

What about reading the user's guide instead?

http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN806

Corinna

  -Original Message-
  dd if/dev/zero of=.\\PHYSICALDRIVE4 count=5
  seek =3 fails with the error 
  
  dd: opening `.\\PHYSICALDRIVE4': Invalid argument
 ...
 


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



Re: Problem with dd to raw disks

2004-03-01 Thread Christopher Faylor
On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
Pah! The User's Guide.  That's just a document full of useful
information.  Why would anyone want to read that?  ;-)

Maybe we need a howto on reading the user's guide.  It should certainly
be in the FAQ that people should read the documentation.  How would people
know that they should read the documentation unless it was spelled out
somewhere in black and white?

cgf

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



Re: Problem with dd to raw disks

2004-03-01 Thread Yitzchak Scott-Thoennes
On Mon, Mar 01, 2004 at 11:44:38AM -0500, Christopher Faylor wrote:
 On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
 Pah! The User's Guide.  That's just a document full of useful
 information.  Why would anyone want to read that?  ;-)
 
 Maybe we need a howto on reading the user's guide.  It should certainly
 be in the FAQ that people should read the documentation.  How would people
 know that they should read the documentation unless it was spelled out
 somewhere in black and white?

You know, the thing that really bugs me about cygwin is the half-baked
attempts at documentation.  A FAQ entry suggesting reading the User's
Guide is completely useless unless the User's Guide tells people to
read the FAQ.

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



[OT] List archive configuration

2004-03-01 Thread Igor Pechtchanski
Hi,

I'm aware that this may be quite a bit off-topic, but I'm trying to
reproduce the archiving setup of the Cygwin mailing lists on another list,
and I was wondering if the exact archiving procedure and the relevant
MHonArc config files are accessible somewhere, or if some particular
standard procedure is used...  I'm not looking for hand-holding on setting
up MHonArc or whatever other software is used, just information on what's
used and possibly access to config files.  Any pointers would be
appreciated.  Since this may be off-topic, please feel free to send
private mail.  Thanks.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



RE: Problem with dd to raw disks

2004-03-01 Thread Ken Thompson

What really bugs me is people who complain instead of doing something.  Quit
complaining and do something about it. This is open source after all.

Ken


 -Original Message-
 From:  Yitzchak Scott-Thoennes
 Subject: Re: Problem with dd to raw disks


 On Mon, Mar 01, 2004 at 11:44:38AM -0500, Christopher Faylor wrote:
  On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
  Pah! The User's Guide.  That's just a document full of useful
  information.  Why would anyone want to read that?  ;-)
 
  Maybe we need a howto on reading the user's guide.  It should certainly
  be in the FAQ that people should read the documentation.  How
 would people
  know that they should read the documentation unless it was spelled out
  somewhere in black and white?

 You know, the thing that really bugs me about cygwin is the half-baked
 attempts at documentation.  A FAQ entry suggesting reading the User's
 Guide is completely useless unless the User's Guide tells people to
 read the FAQ.

 --
 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://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with dd to raw disks

2004-03-01 Thread Yitzchak Scott-Thoennes
Oh well, I thought I'd made my intent impossible to mistake.
irony offsense=not_intended
Entire discussion reformatted with top-quoting for your convenience
(though I refrained from leaving the list-trailers in).
/irony

On Mon, Mar 01, 2004 at 12:23:51PM -0500, Ken Thompson wrote:
 What really bugs me is people who complain instead of doing something.  Quit
 complaining and do something about it. This is open source after all.
 
 Ken
 
  -Original Message-
  From:  Yitzchak Scott-Thoennes
  Subject: Re: Problem with dd to raw disks
 
  You know, the thing that really bugs me about cygwin is the half-baked
  attempts at documentation.  A FAQ entry suggesting reading the User's
  Guide is completely useless unless the User's Guide tells people to
  read the FAQ.
 
  On Mon, Mar 01, 2004 at 11:44:38AM -0500, Christopher Faylor wrote:
  
   Maybe we need a howto on reading the user's guide.  It should certainly
   be in the FAQ that people should read the documentation.  How
  would people
   know that they should read the documentation unless it was spelled out
   somewhere in black and white?
  
   On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
   Pah! The User's Guide.  That's just a document full of useful
   information.  Why would anyone want to read that?  ;-)

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



RE: Problem with dd to raw disks

2004-03-01 Thread Hughes, Bill
 Sent: 01 March 2004 16:45 From: Christopher Faylor
 On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
 Pah! The User's Guide.  That's just a document full of useful
 information.  Why would anyone want to read that?  ;-)
 
 Maybe we need a howto on reading the user's guide.  It should 
 certainly
 be in the FAQ that people should read the documentation.  How 
 would people
 know that they should read the documentation unless it was spelled out
 somewhere in black and white?
 
 cgf

But then how would anyone know to read the FAQ, or indeed how to find it?
It's much easier just to ask on this list, no-one minds after all...

Bill
--

This e-mail transmission is strictly confidential and intended solely
for the person or organisation to whom it is addressed. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the
sender as soon as possible and delete the message. Please note that we
are able to, and reserve the right to, monitor e-mail communications
passing through our network.

The views expressed in this email are not that of the company unless
specified within the message.

The inclusion of this footnote indicates that the mail message and any
attachments have been checked for the presence of known viruses.

If you have any comments regarding our policy please direct them to
[EMAIL PROTECTED]

This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


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



RE: Problem with dd to raw disks

2004-03-01 Thread Igor Pechtchanski
Ah, but you'd have to read the documentation for that...
Igor
P.S. What's cygwim.com, and what relevance does it have to this
discussion? ;-)

On Mon, 1 Mar 2004, Ken Thompson wrote:

 What really bugs me is people who complain instead of doing something.
 Quit complaining and do something about it. This is open source after
 all.

 Ken

  -Original Message-
  From:  Yitzchak Scott-Thoennes
  Subject: Re: Problem with dd to raw disks
 
  On Mon, Mar 01, 2004 at 11:44:38AM -0500, Christopher Faylor wrote:
   On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
   Pah! The User's Guide.  That's just a document full of useful
   information.  Why would anyone want to read that?  ;-)
  
   Maybe we need a howto on reading the user's guide.  It should
   certainly be in the FAQ that people should read the documentation.
   How would people know that they should read the documentation unless
   it was spelled out somewhere in black and white?
 
  You know, the thing that really bugs me about cygwin is the half-baked
  attempts at documentation.  A FAQ entry suggesting reading the User's
  Guide is completely useless unless the User's Guide tells people to
  read the FAQ.

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



Re: Problem with dd to raw disks

2004-03-01 Thread Christopher Faylor
On Mon, Mar 01, 2004 at 09:16:22AM -0800, Yitzchak Scott-Thoennes wrote:
On Mon, Mar 01, 2004 at 11:44:38AM -0500, Christopher Faylor wrote:
On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
Pah! The User's Guide.  That's just a document full of useful
information.  Why would anyone want to read that?  ;-)

Maybe we need a howto on reading the user's guide.  It should certainly
be in the FAQ that people should read the documentation.  How would
people know that they should read the documentation unless it was
spelled out somewhere in black and white?

You know, the thing that really bugs me about cygwin is the half-baked
attempts at documentation.  A FAQ entry suggesting reading the User's
Guide is completely useless unless the User's Guide tells people to
read the FAQ.

Absolutely agree, as long as there is a howto on reading both the FAQ
and the User's Guide.  Maybe the user's guide could also mention the howto.

cgf

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



Re: [OT] List archive configuration

2004-03-01 Thread Christopher Faylor
On Mon, Mar 01, 2004 at 12:23:34PM -0500, Igor Pechtchanski wrote:
I'm aware that this may be quite a bit off-topic, but I'm trying to
reproduce the archiving setup of the Cygwin mailing lists on another list,
and I was wondering if the exact archiving procedure and the relevant
MHonArc config files are accessible somewhere, or if some particular
standard procedure is used...  I'm not looking for hand-holding on setting
up MHonArc or whatever other software is used, just information on what's
used and possibly access to config files.  Any pointers would be
appreciated.  Since this may be off-topic, please feel free to send
private mail.  Thanks.

I don't know much about this but I believe most, if not all of the scripts
are in /sourceware/infra/ml-archiving.  You should be able to access this
directory via anonymous cvs.

cgf

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



Re: gettimeofday

2004-03-01 Thread Brian Ford
On Sat, 28 Feb 2004, Tim Prince wrote:

 The implementation used by cygwin doesn't set the fractional seconds
 fields, so you must fall back on the Windows API for milliseconds.

and
 The cygwin specific code in the g77 date_and_time() source code shows use
 of the Windows API call to compensate for this lack in cygwin
 gettimeofday().

I think your information may be out-of-date.  gettimeofday()
appears to currently have approximately one to two millisecond resolution
on XP.  What do you see?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



Re: Man not finding pages

2004-03-01 Thread Thorsten Kampe
* Ross Boulet (2004-02-28 23:06 +0100)
 I solved my own problem with man not finding pages but in doing the research
 on it, I found something I thought might be worthy of mentioning.  From the
 message:
 
 http://www.cygwin.com/ml/cygwin/2002-04/msg00064.html
 
 I learned the a colon prefix to $MANPATH allows man to search its default
 paths in addition to what is specified in $MANPATH.  The
 /etc/profile.d/openssl.sh script handles this ok.  However, the
 /etc/profile.d/XFree86-man.sh does not handle it the same way.  I had an
 empty $MANPATH (since corrected by a new /etc/profile script).  The
 XFree86-man.sh ran first and found no $MANPATH and thus assigned
 /usr/X11R6/man (no colon prefix) to $MANPATH.  Then openssl.sh appended
 :/usr/ssl/man.  The absence of a leading colon caused man to not find the
 basic pages so that basic stuff like 'man ls' produced 'No manual entry for
 ls'.
 
 I would suggest the XFree86-man.sh script be modified to add a colon prefix
 to $MANPATH to be consistent with the openssl.sh treatment of an empty
 $MANPATH.
 
 My apologies if this should have been posted to the cygwin-xfree ML, but I
 thought it appropriate here because it affects more than X.

You. Man. Are. Genius.

Recently I posted http://article.gmane.org/gmane.os.cygwin/44906 but
found no answer or solution. Suddenly completion started to work again
but on the next day not even calling a single man page was found by
man because of the wrong $MANPATH.

Now I corrected 'export MANPATH=${X11MANPATH}' to 'export
MANPATH=:${X11MANPATH}' in XFree86-man.sh and now everything is
okay.

Thanks, Thorsten


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



Re: Snapshot 20040225: make hangs/errors out

2004-03-01 Thread Rolf Campbell
I can reproduce with that snapshot, but I get slightly different 
results.  Here is the stderr output from 1052 runs, but the strange 
thing is that even when I get errors, the task continues to run.  It 
seems somehow that the return code of the errored run gets lost or 
something.  This is different than how the '21 snapshot worked on my 
machine.

make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
@: not found
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
2840238 [main] make 1392 handle_exceptions: Exception: 
STATUS_ACCESS_VIOLATION
2850856 [main] make 1392 open_stackdumpfile: Dumping stack trace to 
make.exe.sta ckdump
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** virtual memory exhausted.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs

Volker Quetschke wrote:
Trapping this errors is a bit tedious, at the moment I'm using
the attached script to catch the errors, but instead of a new
stackdump/gdb prompt I got a new record, 2559 iterations until
reaching an error.


OK, enough! The script run since yesterday, with the debugging
enabled make.exe and cygwin1.dll.
I got:

Thu Feb 26 17:11:34 EST 2004
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 2048 runs
MakefileV:6: *** unterminated variable reference.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 294 runs
make: -c: Command not found
make: *** [28.pp] Error 127
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 256 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 1857 runs
make: -c: Command not found
make: *** [14.pp] Error 127
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 5356 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 1387 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
make: *** Waiting for unfinished jobs
Failed after 211 runs
make: *** wait: No children.  Stop.
make: *** Waiting for unfinished jobs
make: *** wait: No children.  Stop.
Failed after 887 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 690 runs
make: *** wait: Interrupted system call.  Stop.
make: *** Waiting for unfinished jobs
Failed after 1459 runs
c: c: No such file or directory
make: *** [9.pp] Error 127
make: *** Waiting for unfinished jobs
Failed after 6226 runs
Stopped the the script at iteration 563.

No stackdump.

Any ideas? This takes way to long to reproduce.

I never run this script with cygwin 1.5.5 maybe it fails there too.
Maybe the freezes I got building OOo are long fixed and this was
always broken?
Or sh (ash) or even make has a problem and not cygwin. This
gets us nowhere.
Volker


Exception: STATUS_ACCESS_VIOLATION at eip=0040DC0B
eax=0002 ebx=0A067DA0 ecx=6574783D edx=0001 esi=0A05CA88 edi=0A069A28
ebp=0022E478 esp=0022E470 program=C:\cygwin\bin\make.exe
cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
0022E478  0040DC0B  (0A067DA0, 0022E4AC, 0001, )
0022E4C8  0040C91E  (, , 0A05C860, 610C8A9F)
0022E508  0040D77B  (0A05D3A8, 0003, , )
0022E578  00419E15  (0A05D3A8, 0002, , 0002)
0022E598  00418FCA  (0A05D3A8, 0002, 0022E5C8, 004010DF)
0022E5E8  0041AADF  (0A05D3A8, 0001, 0001, )
0022E658  0041A2F7  (0A05CA10, 0001, , 0A05CA10)
0022E678  00418FCA  (0A05CA10, , 0022E6B8, 61055BB7)
0022E6C8  00418C8F  (0A0602F0, , 0022EF58, )
0022F080  0041146E  (0002, 0A040B48, 0A0400A8, 61005A20)
0022F0D0  61005EB4  (0022F0E8, 0024, 

Re: Snapshot 20040225: make hangs/errors out

2004-03-01 Thread Christopher Faylor
On Mon, Mar 01, 2004 at 03:12:18PM -0500, Rolf Campbell wrote:
I can reproduce with that snapshot, but I get slightly different 
results.

As long as we're comparing results, I might as well mention that I've
been running this on a Windows 2000 SP4 system since Friday without
interruption.

cgf

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



cron problem report

2004-03-01 Thread Seiji Tokunaga
Hi,

I have trouble getting my cron to work. I have tried cron_diagnosis.sh
1.3 but I could not find any problems. I also did the suggestion from
the cron_diagnosis.sh output but it does not work. Here is the crontab
-l, cron_diagnose.sh output and the cygcheck -srv output. Hope you can
help me.

% crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.3928 installed on Mon Mar  1 15:03:19 2004)
# (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
* * * * * `date`  ${HOME}/foo.log
%

-- output of cron_diganose.sh --
% bin/cron_diagnose.sh
cron_diagnose.sh 1.3

This script did not find any errors in your crontab setup.
If you are still unable to get cron to work, then try
shutting down the cron service, uninstalling it,
reinstalling it, and restarting it.

The following commands will do that:
  $ cygrunsrv --stop cron
  $ cygrunsrv --remove cron
  $ cygrunsrv --install cron -p /usr/sbin/cron -a -D
  $ cygrunsrv --start cron

If the cron service does not start, try deleting the file
/var/run/cron.pid and then repeating the commands above.

If none of this fixes the problem, then report your problem
to [EMAIL PROTECTED]  Please include a copy of your crontab,
('crontab -l') and the output of 'cygcheck -srv  cygcheck.txt'.

PLEASE include the generated files 'cygcheck.txt' *as an attachment*,
and NOT in the body of the mail message.

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Mar 01 15:16:52 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
C:\cygwin\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(Seiji) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(Seiji) GID: 513(None)
0(root)  513(None)
544(Administrators)  545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\Home\Seiji'
MAKE_MODE = `unix'
PWD = `/home/Seiji'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Seiji\Application Data'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `HEIMINSAMURAI'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Seiji'
LOGNAME = `Seiji'
LOGONSERVER = `\\HEIMINSAMURAI'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/Seiji/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
PROGRAMFILES = `C:\Program Files'
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\Seiji\LOCALS~1\Temp'
TERM = `vt100'
TMP = `c:\DOCUME~1\Seiji\LOCALS~1\Temp'
TZ = `EST5EDT4,M4.1.0/2,M10.5.0/2'
USERDOMAIN = `HEIMINSAMURAI'
USERNAME = `Seiji'
USERPROFILE = `C:\Documents and Settings\Seiji'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS   194466Mb  30% CP CS UN PA FC 
d:  cd   N/AN/A
e:  cd   N/AN/A
f:  hd  NTFS   194474Mb  72% CP CS UN PA FC Max200G-2
h:  fd   N/AN/A

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   61k 2003/08/09 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
  cygbz2-1.dll v0.0 ts=2003/8/9 2:35
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - 

A Brand New 100% Internet-Based Business

2004-03-01 Thread BJ Dagon
Hi, 
 
There's a revolutionary Internet-Based phenomenon 
that is spreading across the Internet like wildfire!
 
And right now, for a very limited time, you have 
the opportunity to be right at the FRONT of it.
 
But time is of the essence; you need to 
Lock in your position now.
 
DON'T WAIT FOR ANOTHER SECOND.
 
Send Email to - [EMAIL PROTECTED]
with the Subject: Register Me For A-Free-Demo
 
Be sure to include the following in the body of
your email:
 
* Fullname
* Telephone #
* Country
 
Trust me. If you allow this incredible, 
once-in-a-lifetime opportunity to pass you by, 
you'll forever regret the decision. 
 
Go ahead evaluate the program and surely you  
will discover that this is what you have been  
dreaming of.
 
The time to act is now.
 
Not tomorrow... not someday... but right here, 
RIGHT NOW!
 
Sincerely,
 
BJ Dagon
[EMAIL PROTECTED]


 
Please send an email to [EMAIL PROTECTED] with 
the subject Remove Me if you wish to no longer 
receive further emails from me.


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



Re: [OT] List archive configuration

2004-03-01 Thread Igor Pechtchanski
On Mon, 1 Mar 2004, Christopher Faylor wrote:

 On Mon, Mar 01, 2004 at 12:23:34PM -0500, Igor Pechtchanski wrote:
 I'm aware that this may be quite a bit off-topic, but I'm trying to
 reproduce the archiving setup of the Cygwin mailing lists on another list,
 and I was wondering if the exact archiving procedure and the relevant
 MHonArc config files are accessible somewhere, or if some particular
 standard procedure is used...  I'm not looking for hand-holding on setting
 up MHonArc or whatever other software is used, just information on what's
 used and possibly access to config files.  Any pointers would be
 appreciated.  Since this may be off-topic, please feel free to send
 private mail.  Thanks.

 I don't know much about this but I believe most, if not all of the scripts
 are in /sourceware/infra/ml-archiving.  You should be able to access this
 directory via anonymous cvs.

 cgf

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



RE: cron problem report

2004-03-01 Thread Harig, Mark
Please try version 1.4.  It has additional checks.

http://sources.redhat.com/ml/cygwin/2004-02/msg01341.html

 -Original Message-
 From: Seiji Tokunaga [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 01, 2004 3:27 PM
 To: [EMAIL PROTECTED]
 Subject: cron problem report
 
 
 Hi,
 
 I have trouble getting my cron to work. I have tried cron_diagnosis.sh
 1.3 but I could not find any problems. I also did the suggestion from
 the cron_diagnosis.sh output but it does not work. Here is the crontab
 -l, cron_diagnose.sh output and the cygcheck -srv output. Hope you can
 help me.
 
 % crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (/tmp/crontab.3928 installed on Mon Mar  1 15:03:19 2004)
 # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 
 corinna Exp $)
 * * * * * `date`  ${HOME}/foo.log
 %
 
 -- output of cron_diganose.sh --
 % bin/cron_diagnose.sh
 cron_diagnose.sh 1.3
 
 This script did not find any errors in your crontab setup.
 If you are still unable to get cron to work, then try
 shutting down the cron service, uninstalling it,
 reinstalling it, and restarting it.
 
 The following commands will do that:
   $ cygrunsrv --stop cron
   $ cygrunsrv --remove cron
   $ cygrunsrv --install cron -p /usr/sbin/cron -a -D
   $ cygrunsrv --start cron
 
 If the cron service does not start, try deleting the file
 /var/run/cron.pid and then repeating the commands above.
 
 If none of this fixes the problem, then report your problem
 to [EMAIL PROTECTED]  Please include a copy of your crontab,
 ('crontab -l') and the output of 'cygcheck -srv  cygcheck.txt'.
 
 PLEASE include the generated files 'cygcheck.txt' *as an attachment*,
 and NOT in the body of the mail message.
 

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



RE: cron problem report

2004-03-01 Thread Harig, Mark
 
 % crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (/tmp/crontab.3928 installed on Mon Mar  1 15:03:19 2004)
 # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 
 corinna Exp $)
 * * * * * `date`  ${HOME}/foo.log
 %

Do not include backquotes on 'date' -- you
are instructing cron to execute the date
string.  Simply use:

   * * * * * date  /usr/tmp/date.txt

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



Re: cron problem report

2004-03-01 Thread Thorsten Kampe
* Seiji Tokunaga (2004-03-01 21:27 +0100)
 I have trouble getting my cron to work.

Please consider explaining what you mean by this otherwise any answer
to your report won't satisfy you.

 % crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (/tmp/crontab.3928 installed on Mon Mar  1 15:03:19 2004)
 # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
 * * * * * `date`  ${HOME}/foo.log

This script (`date`  ${HOME}/foo.log) doesn't even work in a plain
shell so for sure not in cron. Read /var/cron/log, the system and
application entries in the eventviewer and the mail that cron probably
sent you in ~/dead.letter.

Hint: use executables with full path in crontab or set PATH in
crontab. Don't take for granted that the normal environment variables
are set ($HOME) and consider reading the man page of crontab.

Thorsten


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



proftpd

2004-03-01 Thread Michael Chen
hi, after install proftpd, the bash shell cannot find proftpd, why?

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



what's the software for making slide under cygwin, please?

2004-03-01 Thread Michael Chen


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



Re: proftpd

2004-03-01 Thread Brian Ford
On Mon, 1 Mar 2004, Michael Chen wrote:

 hi, after install proftpd, the bash shell cannot find proftpd, why?

It's in /usr/sbin, which is not, by default, in your PATH.

Please try a cursory look yourself before posting next time.  You can also
use the package search facility at http://cygwin.com/packages/ to see
where things are installed.

To head off your next questions, please read the documentation in
/usr/share/doc/Cygwin/proftpd-1.2.9.README and
/usr/share/doc/proftpd-1.2.9/*.

Also, please consult http://cygwin.com/problems.html to learn the required
method of submitting problem reports.

HTH.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



Re: [ANNOUNCEMENT] Updated: zsh-4.1.1-3

2004-03-01 Thread Peter A. Castro
On Mon, 1 Mar 2004, Jason Tishler wrote:

 Peter,

 On Sat, Feb 28, 2004 at 07:35:27PM -0500, Peter A. Castro wrote:
  This release fixes the rebase issue concerning zsh.  Previous releases
  of zsh were generated using a method which created DLLs which were not
  rebase-able.  This release corrects this problem by changing the DLL
  building method.

 Thanks for accommodating rebase!

Your welcome, but I don't really think of this as accommodating rebase.
In my analysis, I'd determined that the root problem was that zsh code
isn't properly/discretely tagging things which should be exported (like
functions and various globals) for those platforms that need such things
(like MS Windows).  Rather than go through the code and do the tagging, I
decided a more expedient path was to simply export everything, which is
in the spirit of what the original method was trying to achieve, but
which is not a very elegent solition, IMHO.  I suspect I'll have to
review this hack later, but for the moment it gets past the immediate
problem.

 Jason

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

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



RE: proftpd

2004-03-01 Thread Michael Chen
Thanks for the reply, I learned how to find out where is the installed piece
by the help of  http://cygwin.com/packages/ . Thanks.
Surprisingly, which didn't tell me that.

-Original Message-
From: Brian Ford [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 3:10 PM
To: Michael Chen
Cc: [EMAIL PROTECTED]
Subject: Re: proftpd


On Mon, 1 Mar 2004, Michael Chen wrote:

 hi, after install proftpd, the bash shell cannot find proftpd, why?

It's in /usr/sbin, which is not, by default, in your PATH.

Please try a cursory look yourself before posting next time.  You can also
use the package search facility at http://cygwin.com/packages/ to see
where things are installed.

To head off your next questions, please read the documentation in
/usr/share/doc/Cygwin/proftpd-1.2.9.README and
/usr/share/doc/proftpd-1.2.9/*.

Also, please consult http://cygwin.com/problems.html to learn the required
method of submitting problem reports.

HTH.

--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


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



RE: proftpd

2004-03-01 Thread Brian Ford
On Mon, 1 Mar 2004, Michael Chen wrote:

 Thanks for the reply, I learned how to find out where is the installed piece
 by the help of  http://cygwin.com/packages/ . Thanks.
 Surprisingly, which didn't tell me that.

which only tells you about things in your PATH.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



invalid spawn id (4)

2004-03-01 Thread Wolmarans, Brett
Hey, nobody ever replied but the answer is, don't use Microsoft telnet
client with cygwin expect.  

Install cygwin telnet client ( NOT installed by default, heaven alone knows
why when they have a gazillion other things installed by default that will
only be useful to 0.01% of the user
base )  

Anybody know how to resolve or work around this bug in expect: invalid spawn
id (4) the first time I try to something incredibly common such as use
expect to automate a telnet session.  I could not find any references to
this in the faq or archives, found one hit on google but no solution.

cygwin version: CYGWIN_NT-5.0 bwolmarans-98 1.5.4(0.94/3/2) 2003-09-12 23:08
i686 unknown unknown Cygwin
expect version: 8.4.1 ( output from info patchlevel command )
O/S version: w2k pro SP3

log:
[EMAIL PROTECTED] ~
$ expect
expect1.1 spawn telnet 10.26.0.100
spawn telnet 10.26.0.100
1424
expect1.2 expect ogin
expect1.3 send bwolmarans\n
send: invalid spawn id (4)
while executing
send bwolmarans\n
expect1.4

___
brett wolmarans, PSE, Spirent Communications
Cell Phone: (818) 292-3411  http://support.spirentcom.com




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



Fix for : read()

2004-03-01 Thread Jason Winter
Hi Corinna,

(For continued reference:)
The Tape Block Length information is in MSDN, within the document Q161338 
in the
knowledge base.
The CygWin read() function calls ReadFile() repeatedly while the programmers 
read buffer-length parameter value #of bytes hasn't been read from the 
handle.  Under Unix, low-level IO read() doesn't always return 100 bytes in 
this call:

rc = read (h, buf, 100);

In fact, if h refers to a tape, which also has a vaiable-block of data ready 
to be read at the current tape position..  You may only get, say, 80 bytes 
returned if it's a 80 byte block record.  In CygWin, since it continues to 
call ReadFile() in the cygwin1.dll read() function, the programmer, me 
actually, loses all record of the tapes original data-block-length - with 
CygWin read() you might think the block was 100 bytes long - having started 
to read the next block on the tape.  (20 bytes of it in this example.)

Jason.

_
SEEK: Now with over 50,000 dream jobs! Click here  
http://ninemsn.seek.com.au/

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


rxvt man page is garbled

2004-03-01 Thread Keith Thompson
The man page for the rxvt command is garbled.

I have rxvt-2.7.10-4 (the latest).  man rxvt shows:

.YODLTAGSTART.  roffcmd  .SH  NAME  .YODLTAGEND.  rxvt (ouR
XVT) - a VT102 emulator for  the  X  window  system.YODLTAGSTART.
roffcmd .PP .YODLTAGEND.

.YODLTAGSTART. roffcmd .SH SYNOPSIS .YODLTAGEND.  rxvt [op-
tions] [-e command [ args ]].YODLTAGSTART. roffcmd  .PP  .YODLTA-
GEND.
[snip]

and writes the following to stderr:

grotty:standard input:6: character above first line discarded

The /usr/man/man1/rxvt.1 file contains a number of .YODLTAGSTART
directives.

YODL appears to be a document language from which man pages can be
generated; Google for details.

-- 
Keith Thompson (The_Other_Keith) [EMAIL PROTECTED]  http://www.ghoti.net/~kst
San Diego Supercomputer Center   *  http://users.sdsc.edu/~kst
Schroedinger does Shakespeare: To be *and* not to be

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



Error using cygrunsrv to stop bash scripts

2004-03-01 Thread Cousins, Andrew
I have installed cygrunsrv to run bash.exe with a script as parameter.
Service starts and stops OK but on the stop
it also produces these errors. .

A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.

Script does catch the signal and terminate gracefully and it also
 runs OK from command line and can be terminated properly with a TERM
signal.

Help in what is causing the errors would be appreciated.

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

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



Re: what's the software for making slide under cygwin, please?

2004-03-01 Thread Gregory Borota
You can use LaTeX for that. There are different packages depending on
what kind of slides you want to make. (here some I know of: prosper,
beamer, seminar, slides, etc.) Some of them take advantage of the
powerful presentation features of Adobe PDF (about which I think many of
us 'Windows also' people don't know at all).

HTH,
Greg

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



Re: invalid spawn id (4)

2004-03-01 Thread Larry Hall
At 07:33 PM 3/1/2004, you wrote:
Hey, nobody ever replied but the answer is, don't use Microsoft telnet
client with cygwin expect.  

Install cygwin telnet client ( NOT installed by default, heaven alone knows
why when they have a gazillion other things installed by default that will
only be useful to 0.01% of the user
base )  


We recommend Cygwin telnet client over MS regardless of your intended 
use. ;-)

Of course, this list caters to 0.01% 
of the user base so we can only make recommendations to the rest of you.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Gnucash?

2004-03-01 Thread Jonathan E. Brickman
I saw that Ivan Middleton was working on getting GnuCash to run under 
Cygwin as of last May.  Anyone know if it will now?

--
Jonathan E. Brickman
http://joshuacorps.org
--
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/


Re: Error using cygrunsrv to stop bash scripts

2004-03-01 Thread Igor Pechtchanski
On Tue, 2 Mar 2004, Cousins, Andrew wrote:

 I have installed cygrunsrv to run bash.exe with a script as parameter.
 Service starts and stops OK but on the stop
 it also produces these errors. .

 A system error has occurred.
 System error 1067 has occurred.
 The process terminated unexpectedly.

 Script does catch the signal and terminate gracefully and it also
 runs OK from command line and can be terminated properly with a TERM
 signal.

 Help in what is causing the errors would be appreciated.

Andrew,

What exact command are you using to install the service?  Does
/var/log/svc_name.log show anything?  Does the script run and terminate
OK from a SYSTEM-owned shell?  What is the environment that the script
runs under (env  /tmp/svc_env, or, even better, cygcheck -svr 
/tmp/svc_cygcheck.out)?  Did you try using another signal for service
termination?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



RE: Man not finding pages

2004-03-01 Thread Ross Boulet
 
 You. Man. Are. Genius.
 

Thanks, but you embarrass me.  I just get lucky occasionally.  I'm not an
expert at man and I know next to nothing about zsh, but based on some
personal observations, I think I can answer some of your questions about man
and manpath.

 Recently I posted http://article.gmane.org/gmane.os.cygwin/44906 but
 found no answer or solution. Suddenly completion started to work again
 but on the next day not even calling a single man page was found by
 man because of the wrong $MANPATH.
 
 Now I corrected 'export MANPATH=${X11MANPATH}' to 'export
 MANPATH=:${X11MANPATH}' in XFree86-man.sh and now everything is
 okay.
 
 Thanks, Thorsten
 
 ,--- * MANPATH statements in /etc/man.conf
 | MANPATH /usr/share/man
 | MANPATH /usr/X11R6/man
 | MANPATH /usr/local/man
 | MANPATH /usr/man
 `---
 ,--- * Cygwin host (where it doesn't work)
 | % echo $MANPATH
 | :/usr/X11R6/man:/usr/ssl/man
 | ^ see the empty path? ($manpath is '' /usr/X11R6/man /usr/ssl/man)
 | % manpath
 | /usr/share/man:/usr/X11R6/man:/usr/ssl/man:/usr/man:/usr/local/man
 `---
 ,--- * Linux host (where it works)
 | % echo $MANPATH
 |
/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.
3/man:/usr/
 | X11R6/man::/opt/sun-jdk-1.4.2.03/man:/usr/qt/3/doc/man:/opt/vmware/man
 | % manpath
 | zsh: command not found: manpath
 `---
 /etc/zprofile and /etc/profile.d/zshell.zsh don't contain man
 settings. When I manually do export MANPATH=/usr/share/man then zsh
 does the man completion.
 
 My questions are (I know they might not be specifically Cygwin
 related):
 
 1. Where and how is $MANPATH assembled?

It's a combination of things.  In my case, I run the pdksh shell.  MANPATH
is set in /etc/profile and further modified by .sh scripts in
/etc/profile.d.  It looks to me like zsh runs the same scripts as part of
/etc/zprofile.

 2. Where does the path that the manpath command shows come from?

I'm not positive about this, but I believe manpath takes $MANPATH and,
assuming $MANPATH has an empty path in it, adds any paths specified in the
man.conf file, but eliminates any paths which do not actually have man
pages.

 3. Why does $MANPATH and manpath output differ?

I think manpath eliminates any paths which do not actually contain man pages
(see previous answer) and adds paths from man.conf.

 4. Why is /usr/share/man not in $MANPATH?

Because there is an empty path in $MANPATH, it is picked up from the
man.conf file.

 5. Why is the first entry in $MANPATH empty?

From my tests, an empty path, whether at the end or beginning or somewhere
in between (::) is what tells man to include the paths from man.conf.  If
there is not an empty path, man and manpath use only what is in $MANPATH

 6. How and where can I fix this?

Hopefully, this is done.  HTH

 Thanks to all that can help,
 Thorsten



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



Re: Error using cygrunsrv to stop bash scripts

2004-03-01 Thread Cousins, Andrew
Igor,

Service is installed with

#
cygrunsrv   --install actest3   \
--path c:/usr/Cyg-Win32/bin/bash.exe\
--args d:/usr/ea/dr_service/actest.sh   \
--desc MOSAIC/DNMS Disaster Recovery  \
--type manual   \
--neverexits\
--shutdown

The log files put out a single line .. Terminated each time the service
is stopped

Putting a cygcheck -svr in the service script and redirecting output to a
file I get this with the last line (code 5)  repeated a few times before the
Terminated Message.

cygcheck: dump_sysinfo: GetVolumeInformation() failed: 67
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 67
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 5


Terminated

Putting 
env  tempfile 
doesn't produce anything from within the service.

Looks like it's only stderr being generated from within the service as there
is none of the additional info I get from these two commands when it is run
interactively.

Tried the INT signal, same symptons. Does what I want, but displays the
error messages.

I'm not Windows enabled - how would I run this interactively under a SYSTEM
owned sh.

Thanks

Andrew C.

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

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



RE: what's the software for making slide under cygwin, please?

2004-03-01 Thread Michael Chen
Dear Greg,

Thanks for the reply. What I really want is something to make presentation
slides in seminar, something like Lyx, which is the drive for me to install
cygwin-:)

Any ideas?

Best regards,
Michael Chen

-Original Message-
From: Gregory Borota [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 6:53 PM
To: Michael Chen
Cc: [EMAIL PROTECTED]
Subject: Re: what's the software for making slide under cygwin, please?


You can use LaTeX for that. There are different packages depending on
what kind of slides you want to make. (here some I know of: prosper,
beamer, seminar, slides, etc.) Some of them take advantage of the
powerful presentation features of Adobe PDF (about which I think many of
us 'Windows also' people don't know at all).

HTH,
Greg


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



Re: another new version of cygwin-doc for upload

2004-03-01 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Joshua Daniel Franklin wrote:

 Here is a new version of cygwin-doc that fixes the PDF
 problem reported on the list. It would probably be best
 to remove 1.3-7 and leave 1.3-6.

 http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-8-src.tar.bz2
 http://ns1.iocc.com/~joshua/cygwin/cygwin-doc-1.3-8.tar.bz2

 Thanks.

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

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

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



crontab: no changes made to crontab

2004-03-01 Thread Michael Chen
Dear all, since the first time using crontab -, I can never change the
crontab file anymore. crontab -e calls emacs, but cron just discarded any
new modifications. The emacs saved the crontab.* into /tmp. What's
wrong? Thanks.


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



RE: can't achieve password-less ssh authentication when my home directory is on a network file server

2004-03-01 Thread ncokwqc02
  [snip]


   - Create a local home directory (e.g. /home/john); mount the remote
   directory (//Filer) onto it; then mount c:\cygwin\home\john\.ssh onto
   /home/john/.ssh.
 
  I want to make sure I understand your suggestion. Does it
 amount to doing
  the following on 'Alpha'?
  mkdir /home/john
  mount //Filer/john /home/john
  mount c:\cygwin\home\john\.ssh /home/john/.ssh
 
  In this case my home directory is at '//Filer/john'.

 Yes, exactly.  Note that, as I said below, you will not be able to access
 //Filer/john/.ssh as /home/john/.ssh after that.  You should still be able
 to access it directly as //Filer/john/.ssh, though, so it's no big loss.
 Oh, and you'll need to *create* /home/john/.ssh before mounting
 //Filer/john over it...


I gave this a try, but it didn't work as hoped for.

  BTW, on a related, but slightly different topic, I didn't even
 get to this
  point until I solved the problem of 'cygrunsrv -S sshd'
 resulting in 'Error
  1062'. Thank goodness for 'log' files! When I finally looked at
  '/var/log/sshd.log' I saw it filled with repetitions of the message
  /var/empty must be owned by root and not group or
 world-writable.
  Indeed '/var/empty' was owned by 'john:Users'. After I changed it to
  'SYSTEM:root', I was able to start 'sshd'. I don't understand why the
  '/var/empty' directory created by '/bin/ssh-host-config' didn't have the
  right ownership. But it didn't.

 I actually don't recall you attaching the output of cygcheck -svr for
 your machine (as requested in http://cygwin.com/problems.html).  This
 would tell us, among other things, the version of Windows and the version
 of the openssh package that you're running.  AFAICS, ssh-host-config in
 the latest couple of versions of openssh contains a bit of code specific
 to NT-based systems that *does* chown /var/empty to SYSTEM:544
 (SYSTEM:Administrators, IIRC).  If that didn't work on your machine, we
 need to find out why.
   Igor

It's correct that I didn't attach a cygcheck -svr report. I can say,
however, that the machines on which I have observed this problem were
running Windows 2000 and 'OpenSSH_3.7.1p2'.

I see what must be the code to create the directory with the proper
permissions/ownership:

.
.
.
# Check if running on NT
_sys=`uname -a`
_nt=`expr $_sys : CYGWIN_NT`
.
.
.
# Create /var/empty file used as chroot jail for privilege separation
if [ -f /var/empty ]
then
  echo Creating /var/empty failed\!
else
  mkdir -p /var/empty
  # On NT change ownership of that dir to user system
  if [ $_nt -gt 0 ]
  then
chmod 755 /var/empty
chown system.system /var/empty
  fi
fi
.
.

Should the 'chown' line be 'chown system.root' instead? Anyway, if I have to
install 'sshd' again, I will pay close attention to what happens here.

Thanks for the suggestions.

john


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



Re: what's the software for making slide under cygwin, please?

2004-03-01 Thread Gregory Borota
PLEASE, configure your email client not to show email addresses in 
reply!!! (or if you can't take this off list)

I work with xemacs (under cygwin) and yap (I can give you nice pointers 
on how to configure them so that you can get real WYSIWYG). I don't like 
Lyx, LaTeX is so nice and intuitive that IMHO you don't need something 
like that to stand in the way (I don't think LyX would even work with 
slides but maybe latest versions are different from what I know LyX to be).

Look, I try to set up a group for help, discussion, etc. about (La)Tex 
under cygwin and Windows. If you join in you will automatically get all 
those pointers on how to set this up. The group is found at 
http://groups.yahoo.com/group/wintex/ (you need to  have or create a 
Yahoo account to join)

IMO no commercial package can come even nearer to what you can get with 
cygwin and miktex and all the other packages I mention in the document 
you can get when you join.

Greg

You wrote on 3/1/2004 11:27 PM:

Dear Greg,

Thanks for the reply. What I really want is something to make presentation
slides in seminar, something like Lyx, which is the drive for me to install
cygwin-:)
Any ideas?

Best regards,
Michael Chen
--
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/


Re: what's the software for making slide under cygwin, please?

2004-03-01 Thread Randall R Schulz
Hi,

I think it's pretty unreasonable to rely on every individual posting to 
this list to obfuscate email addresses in their submissions. It's 
inherently error prone, will never be done anywhere near thoroughly 
enough and properly is a responsibility of the list software.

IMO, of course.

Randall Schulz


On Monday 01 March 2004 22:14, Gregory Borota wrote:
 PLEASE, configure your email client not to show email addresses in
 reply!!! (or if you can't take this off list)


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



Re: what's the software for making slide under cygwin, please?

2004-03-01 Thread Gregory Borota
Randall,

I agree with you. Maybe the master wants to take notice.

Greg

You wrote on 3/2/2004 12:21 AM:
Hi,

I think it's pretty unreasonable to rely on every individual posting to 
this list to obfuscate email addresses in their submissions. It's 
inherently error prone, will never be done anywhere near thoroughly 
enough and properly is a responsibility of the list software.

IMO, of course.

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


Better way to do this? (bash scripting)

2004-03-01 Thread Yaakov Selkowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I hope this isn't considered too far OT, but perhaps someone will find
this useful.
I wrote the attached scripts, which I place in /etc/profile.d/, in order
to get quicker access to the original-package and Cygwin-specific
documentation.  (pkgdoc and cygdoc respectively)
What I wanted to know is:

1) is there a better and/or more precise way of searching for the file?
2) is there a better and/or more precise way of verifying that there's
actually such a file to feed to less, instead of calling find twice?
Thanks,

Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFARDYUpiWmPGlmQSMRAu1aAKDdA7+M+wnPOicNdyWjifcVUhNe8wCglX41
sG4Xcs2dK0s6UxN0inASeBY=
=kLLr
-END PGP SIGNATURE-
#
#
#  Quick command-line access to package documentation files.
#
#  Copyright (C) 2004 by Yaakov Selkowitz.  All Rights Reserved.
#
#  This script is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License as 
#  published by the Free Software Foundation; either version 2 of the 
#  License, or (at your option) any later version.
#
#  This script is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  General Public License for more details.
#
#

version=0.1

if [ ! ${PKGDOC_PATH} ] ; then \
  PKGDOC_PATH=/usr/doc:/usr/share/doc:/usr/X11R6/doc
  export PKGDOC_PATH
fi


function pkgdoc {

case $1 in 
  -p|--path)
echo PKGDOC_PATH=${PKGDOC_PATH} ; STATUS=$? ;;

  -h|--help)
echo Usage: pkgdoc [OPTIONS] PACKAGE FILE

Displays the upstream FILE documentation for specified PACKAGE.

OPTIONS:
  -h, --helpDisplays this help and exits.
  -V, --version Displays version information and exits.
  -p, --pathDisplays the current PKGDOC_PATH and exits.
 ; STATUS=$? ;;

  -V|--version)
echo pkgdoc $version
Copyright (C) 2004 by Yaakov Selkowitz.  All Rights Reserved.
This script is released under the GNU General Public License.

Bug reports, patches, etc. can be sent to yselkowitz AT users.sourceforge.net.
 ; STATUS=$? ;;

  *)
for d in `echo ${PKGDOC_PATH} | sed 's%:% %g'` ; do
for pd in $d/$1-* $d/$1 ; do
  if [ -d $pd ] ; then
  if [ $(find $pd -name $2) ] ; then
find $pd -name $2 | xargs less
  else
echo No $2 documentation was found for the $1 package.
  fi
  fi
done
done ; STATUS=$? ;;

esac
}
#
#
#  Quick command-line access to Cygwin README files.
#
#  Copyright (C) 2004 by Yaakov Selkowitz.  All Rights Reserved.
#
#  This script is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License as 
#  published by the Free Software Foundation; either version 2 of the 
#  License, or (at your option) any later version.
#
#  This script is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  General Public License for more details.
#
#

version=0.1

if [ ! ${CYGDOC_PATH} ] ; then \
  CYGDOC_PATH=/usr/doc/Cygwin:/usr/share/doc/Cygwin:/usr/X11R6/doc/Cygwin
  export CYGDOC_PATH
fi


function cygdoc {

case $1 in 
  -p|--path)
echo CYGDOC_PATH=${CYGDOC_PATH} ; STATUS=$? ;;

  -h|--help)
echo Usage: cygdoc [OPTIONS] PKG

Displays the Cygwin README documentation for specified package.

OPTIONS:
  -h, --helpDisplays this help and exits.
  -V, --version Displays version information and exits.
  -p, --pathDisplays the current CYGDOC_PATH and exits.
 ; STATUS=$? ;;

  -V|--version)
echo cygdoc $version
Copyright (C) 2004 by Yaakov Selkowitz.  All Rights Reserved.
This script is released under the GNU General Public License.

Bug reports, patches, etc. can be sent to yselkowitz AT users.sourceforge.net.
 ; STATUS=$? ;;

  *)
if [ $(find `echo ${CYGDOC_PATH} | sed 's%:% %g'` -name $1-*.README -o -name 
$1.README) ] ; then
  find `echo ${CYGDOC_PATH} | sed 's%:% %g'` -name $1-*.README -o \
-name $1.README | xargs less
else
  echo No Cygwin README file was found for the $1 package.
fi ; STATUS=$? ;;

esac
}

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

Re: what's the software for making slide under cygwin, please?

2004-03-01 Thread Frédéric L. W. Meunier
Yes, the mailing-list software could be changed to obfuscate
them. Is it so hard ?

On Mon, 1 Mar 2004, Randall R Schulz wrote:

 I think it's pretty unreasonable to rely on every individual posting to
 this list to obfuscate email addresses in their submissions. It's
 inherently error prone, will never be done anywhere near thoroughly
 enough and properly is a responsibility of the list software.

 IMO, of course.

 On Monday 01 March 2004 22:14, Gregory Borota wrote:
  PLEASE, configure your email client not to show email addresses in
  reply!!! (or if you can't take this off list)

-- 
http://www.pervalidus.net/contact.html

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