Re: Question re. export environment variable

2003-02-20 Thread David Bath
Date: Thu, 20 Feb 2003 12:38:43 -0500
From: Shing-Fat Fred Ma <[EMAIL PROTECTED]>
To: Bob McGowan <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Question re. export environment variable

Thanks, Bob.  That's the way I expected it to work.
I was just unsure of whether there was something
cygwin-specific, as it seems strange that something
like HOSTNAME is not marked for export at the time
that it is set.  I'll stick it into ~/.bashrc.

Fred


I've always used the "set -a" shell builtin command in my .bashrc or 
.kshrc files which then exports all environment variables to all spawned 
bshells.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is MAILX supported

2003-02-22 Thread David Bath
From: "wak9167" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Is MAILX supported
Date: Sat, 22 Feb 2003 16:07:33 -
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi

Is the MAILX command supported or is there an alternative.  I keep
getting the error mailx not found when running my script.
Many thanks

Wak
Mutt -x gives a mailx compose mode which worked great with my script 
that used mailx.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE: Does Mutt work now?

2003-02-22 Thread David Bath
From: "Gary R. Van Sickle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: Does Mutt work now?
Date: Sat, 22 Feb 2003 16:50:46 -0600
Message-ID: <[EMAIL PROTECTED]>
Sorry, mutt still has problems on Win98.

--
Gary R. Van Sickle
Brewer.  Patriot. 

Hi there,

does mutt work now? I installed Cygwin a while ago on
Win98 and mutt had that lock prob, so I uninstalled
Cygwin and decided to wait till they included a
working version of mutt in the package. Did that
happen yet or does anyone know how long it will take
till I can download a working binary from anywhere in
the net? Thanks! ;-)
(I just miss mutt when forced to work on Win, so I'd
appreciate any hint...)
I just use the older version 1.2.5i, it doesn't have the dot-lock turned 
on which is what causes the problems for me.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Cron problem after using hibernate

2003-12-20 Thread David Bath
I have been running cron for over a year now without any problems until 
recently. Typically I leave my PC running XP on all day and then 
hibernate it very late in the evening, turning it back on each morning. 
Cron would run without fail executing as expected until sometime after 
11/21. Around that time I used setup to update all out of date programs, 
and 2 that updated were cygrunsrv and cron. After that update, cron no 
longer performs anything in my crontab once the PC has been hibernated 
and then turned back on. Rebooting or restrting cron by executing 
"cygrunsrv -E cron" then "cygrunsrv -S cron" fixes the problem 
everytime. The ps output always shows cron even when cron doesn't work.

I've tried reverting to older cron and cygrunsrv in all combinations and 
none of it fixed the problem. I've looked over the problem reports and 
saw nothing there either. I've run the most recent cron_check.sh and it 
reports no problems.

I've attached the cygcheck output, but not my crontab since it works 
correctly after the cron restarts so I doubt it's the problem.


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Dec 20 13:35:03 2003

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1

Path:   .
C:\cygwin\home\David\scripts
C:\cygwin\home\David\bin
.
C:\cygwin\home\David\scripts
C:\cygwin\home\David\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
.
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\COMMAND
c:\WINDOWS\system32\WBEM
c:\Program Files\Common Files\Adaptec Shared\System
c:\WINDOWS
c:\WINDOWS\COMMAND
C:\cygwin\usr\X11R6\bin
C:\cygwin\home\David\moderate
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\sbin
C:\cygwin\home\David\moderate
C:\cygwin\usr\sbin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(David) GID: 544(Administrators)
544(Administrators)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(David) GID: 544(Administrators)
544(Administrators)  545(Users)

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

HOME = `C:\cygwin\home\David'
MAKE_MODE = `unix'
USER = `David'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\David\Application Data'
BLASTER = `A220 I7 D1 H7 P330 T6'
CDPATH = `.:/home/David:/home/David/moderate:/home/David/rahe'
CDSET = `set'
CLASSPATH = `"C:\Program Files\JavaSoft\JRE\1.3.0_01\lib\ext\QTJava.zip";"C:\Program 
Files\JavaSoft\JRE\1.3.0_01\lib\ext\QTJava.zip"'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `DESKTOP'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CTSYN = `C:\WINDOWS'
CYGWIN_ROOT = `c:\cygwin'
DISPLAY = `127.0.0.1:0.0'
EDITOR = `nedit -columns 70 -xrm "nedit.maxPrevOpenFiles: 0"'
ENV = `${START[ (_$- = 1) + (_ = 0) - (_$- != _${-%%*i*}) ]}'
HISTFILE = `/home/David/.sh_history'
HISTSIZE = `1024'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\David'
HOST = `desktop'
LOGNAME = `David'
LOGONSERVER = `\\DESKTOP'
MAIL = `/var/spool/mail/David'
MAILCHECK = `0'
MANPATH = `:/usr/X11R6/man:/usr/ssl/man:/usr/share/man:/usr/man'
MOUSE = `c:\imouse'
NNTPSERVER = `news.newsguy.com'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 2 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0202'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$p$g'
PS1 = `desktop$ '
QTJAVA = `"C:\Program Files\JavaSoft\JRE\1.3.0_01\lib\ext\QTJava.zip"'
SBPCI = `C:\SBPCI'
SESSIONNAME = `Console'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\David\LOCALS~1\Temp'
TERM = `xterm'
USERDOMAIN = `DESKTOP'
USERNAME = `David'
USERPROFILE = `C:\Documents and Settings\David'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
WINDOWID = `6291470'
XAPPLRESDIR = `/home/David/.app-defaults'
_ = `/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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu2\Programs\Accessories\Cygnus Solutions
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu2\Programs\Cygnus Solutions
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\Cygnu

Re: Cron problem after using hibernate

2003-12-21 Thread David Bath
Larry Hall wrote:
At 03:25 PM 12/20/2003, David Bath you wrote:

I have been running cron for over a year now without any problems until recently. Typically I leave my PC running XP on all day and then hibernate it very late in the evening, turning it back on each morning. Cron would run without fail executing as expected until sometime after 11/21. Around that time I used setup to update all out of date programs, and 2 that updated were cygrunsrv and cron. After that update, cron no longer performs anything in my crontab once the PC has been hibernated and then turned back on. Rebooting or restrting cron by executing "cygrunsrv -E cron" then "cygrunsrv -S cron" fixes the problem everytime. The ps output always shows cron even when cron doesn't work.

I've tried reverting to older cron and cygrunsrv in all combinations and none of it fixed the problem. I've looked over the problem reports and saw nothing there either. I've run the most recent cron_check.sh and it reports no problems.

I've attached the cygcheck output, but not my crontab since it works correctly after the cron restarts so I doubt it's the problem.


Do you google?

<http://www.cygwin.com/ml/cygwin/2003-10/msg00978.html>
Could be my problem, but as I mentioned it had worked flawlessly for at 
least a year even with daily hibernation until just very recently, so 
I'd be surprised if that is the cause of my problem. But on the other 
hand, being an experienced software engineer I know stranger things do 
happen, so you never know.

For future reference, this list prefers that you *attach* the output of 
cygcheck rather than including it in the context of the email message. 
Attaching helps limit 'false positive' hits when searching the archives.
TIA for you help in this matter.
I did attach it as I have been a long time reader of this list and knew 
of this recommendation. It does show as an attachment in the digest I 
received this morning. TIA yourself Larry.



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