public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Problems with shell in general.
@ 2000-06-13 21:41 Neil Clayton
  0 siblings, 0 replies; 3+ messages in thread
From: Neil Clayton @ 2000-06-13 21:41 UTC (permalink / raw)
  To: cygwin

Yes, thanks.
It was not the problem, but I have fixed it.

The weblogic shell script was stuffing up the PATH env var. (actually, that
was my fault, I had messed with the standard .sh script to get it to work
properly on the previous version of cygwin).

It all goes now!

Finally :-)

Neil

-----Original Message-----
From: Terry Lincoln [ mailto:lincoln2@rochester.rr.com ]
Sent: Wednesday, 14 June 2000 16:17
To: Neil Clayton; cygwin@sourceware.cygnus.com
Subject: Re: Problems with shell in general.


Howdy Neil,

....

Hope this helps,


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with shell in general.
  2000-06-13 19:14 Neil Clayton
@ 2000-06-13 21:15 ` Terry Lincoln
  0 siblings, 0 replies; 3+ messages in thread
From: Terry Lincoln @ 2000-06-13 21:15 UTC (permalink / raw)
  To: Neil Clayton, cygwin

Howdy Neil,

----- Original Message -----
From: "Neil Clayton" <neil.clayton@kbgroup.co.nz>
To: <cygwin@sourceware.cygnus.com>
Sent: Tuesday, June 13, 2000 10:31 PM
Subject: Problems with shell in general.


> Hello everyone,
>
> I've just upgraded from Cygwin (it had bash v 2.02.1, I think it was b20,
> i've removed it, so cannot tell for sure anymore) to the latest cygwin.
> Everything appeared to install correctly.
>
> When I run bash (using the /bin/sygnus.bat cmd file) the shell appears,
and
> I can run commands. However; it appears that the commands themselves are
not
> inheriting the PATH env var - so they can't find anything they might need
in
> ordr to run. For example: man fails with:
>
> bash-2.04$ man man
> /usr/bin/groff: couldn't exec troff: No such file or directory
> /usr/bin/groff: couldn't exec grotty: No such file or directory
> (END)
>
> Yet I can run these two commands straight from the shell!
>
> I've attempted to find solutions via searching the mailing lists, and
> looking at the FAQ - but can't find anything related to the problem.
>
> Can anyone help?
>
>
> My env is as follows:
> bash-2.04$ env
> !D:=D:\
>
CLASSPATH=d:\jdk1.2.2/lib/tools.jar;d:\weblogic5.1/license;d:\weblogic5.1/cl
> asse
>
s;d:\weblogic5.1/lib/weblogicaux.jar;d:\weblogic5.1\myserver\clientclasses:d
> :\we
> blogic5.1\myserver\serverclasses;d:\src\tools\development;
> CLIENT_CLASSES=d:\weblogic5.1\myserver\clientclasses
> COMPUTERNAME=NEIL
> COMSPEC=C:\WINNT\system32\cmd.exe
> HOME=/home/neil
> HOMEDRIVE=H:
> HOMEPATH=\
> HOMESHARE=\\arnold\Neil
> HOSTNAME=NEIL
> HOSTTYPE=i586
> INOCULAN=C:\PROGRA~1\Inoculan
> JAVA_HOME=d:\jdk1.2.2
> JDK=D:\jdk1.2.2\
> LOGONSERVER=\\VADER
> MACHTYPE=i586-pc-cygwin
> MAKE_MODE=unix
> NUMBER_OF_PROCESSORS=1
> OLDPWD=/src/src
> ORACLE=D:\Oracle\Ora81\jdbc\lib\classes12.zip
> OS2LIBPATH=C:\WINNT\system32\os2\dll;
> OS=Windows_NT
> OSTYPE=cygwin
>
PATH=d:/jdk1.2.2/bin:/usr/bin:/usr/local/bin:/Perl/bin/:/Oracle/Ora81/bin:/c
ygdrive/c/Program
>
Files/Oracle/jre/1.1.7/bin:/jdk1.2.2/bin:/cygdrive/c/WINNT/system32:/cygdriv
e/c/WINNT:/emacs-20.4/bin:/cygdrive/c/PROGRA~1/MICROS~1/Office:/cygdrive/c/P
ROGRA~1/Inoculan
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 2, GenuineIntel
> PROCESSOR_LEVEL=6
> PROCESSOR_REVISION=0702
> PROMPT=$P$G
> PWD=/src/src/nz
> SERVER_CLASSES=d:\weblogic5.1\myserver\serverclasses
> SERVLET_CLASSES=d:\weblogic5.1\myserver\servletclasses
> SHELL=/bin/sh
> SHLVL=1
> SYSTEMDRIVE=C:
> SYSTEMROOT=C:\WINNT
> TEMP=D:\TEMP
The TEMP variable should be a *nix path such as /temp or even
/cygdrive/d/temp.

> TERM=cygwin
> TLJ=d:\TOPLinkWL5\Classes\JDK1.2
> TMP=C:\TEMP
Some *unix programs also use the TMP variable (again in Unix format.)

>
TOPLINK=d:\TOPLinkWL5\Classes\JDK1.2\TOPLink.jar;d:\TOPLinkWL5\Classes\JDK1.
> 2\TO
>
PLinkX.jar;d:\TOPLinkWL5\Classes\JDK1.2\Tools.jar;d:\TOPLinkWL5\Classes\JDK1
> .2\T
> OPLinkWLX.jar;d:\TOPLinkWL5\Classes\JDK1.2;
> USERDOMAIN=KB_GROUP
> USERNAME=Neil
> USERPROFILE=C:\WINNT\Profiles\neil
> WINDIR=C:\WINNT
> WL=d:\weblogic5.1
> WL_HOME=d:\weblogic5.1
> _=/usr/bin/env
> bash-2.04$
>
Hope this helps,

W. Terry Lincoln (ICQ# 39362285)
Senior Consultant [Linux Registered User #99583]
Ciber corporation < http://www.ciber.com >
< mailto:WTerryLincoln@engineer.com >
< mailto:lincoln2@rochester.rr.com >
< http://www.geocities.com/terry_lincoln >
< http://www.angelfire.com/ny/TerryLincoln >




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Problems with shell in general.
@ 2000-06-13 19:14 Neil Clayton
  2000-06-13 21:15 ` Terry Lincoln
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Clayton @ 2000-06-13 19:14 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

Hello everyone,

I've just upgraded from Cygwin (it had bash v 2.02.1, I think it was b20,
i've removed it, so cannot tell for sure anymore) to the latest cygwin.
Everything appeared to install correctly.

When I run bash (using the /bin/sygnus.bat cmd file) the shell appears, and
I can run commands. However; it appears that the commands themselves are not
inheriting the PATH env var - so they can't find anything they might need in
ordr to run. For example: man fails with:

bash-2.04$ man man
/usr/bin/groff: couldn't exec troff: No such file or directory
/usr/bin/groff: couldn't exec grotty: No such file or directory
(END)

Yet I can run these two commands straight from the shell!

I've attempted to find solutions via searching the mailing lists, and
looking at the FAQ - but can't find anything related to the problem.

Can anyone help?


My env is as follows:
bash-2.04$ env
!D:=D:\
CLASSPATH=d:\jdk1.2.2/lib/tools.jar;d:\weblogic5.1/license;d:\weblogic5.1/cl
asse
s;d:\weblogic5.1/lib/weblogicaux.jar;d:\weblogic5.1\myserver\clientclasses:d
:\we
blogic5.1\myserver\serverclasses;d:\src\tools\development;
CLIENT_CLASSES=d:\weblogic5.1\myserver\clientclasses
COMPUTERNAME=NEIL
COMSPEC=C:\WINNT\system32\cmd.exe
HOME=/home/neil
HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=\\arnold\Neil
HOSTNAME=NEIL
HOSTTYPE=i586
INOCULAN=C:\PROGRA~1\Inoculan
JAVA_HOME=d:\jdk1.2.2
JDK=D:\jdk1.2.2\
LOGONSERVER=\\VADER
MACHTYPE=i586-pc-cygwin
MAKE_MODE=unix
NUMBER_OF_PROCESSORS=1
OLDPWD=/src/src
ORACLE=D:\Oracle\Ora81\jdbc\lib\classes12.zip
OS2LIBPATH=C:\WINNT\system32\os2\dll;
OS=Windows_NT
OSTYPE=cygwin
PATH=d:/jdk1.2.2/bin:/usr/bin:/usr/local/bin:/Perl/bin/:/Oracle/Ora81/bin:/c
ygdr
ive/c/Program
Files/Oracle/jre/1.1.7/bin:/jdk1.2.2/bin:/cygdrive/c/WINNT/system3
2:/cygdrive/c/WINNT:/emacs-20.4/bin:/cygdrive/c/PROGRA~1/MICROS~1/Office:/cy
gdri
ve/c/PROGRA~1/Inoculan
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0702
PROMPT=$P$G
PWD=/src/src/nz
SERVER_CLASSES=d:\weblogic5.1\myserver\serverclasses
SERVLET_CLASSES=d:\weblogic5.1\myserver\servletclasses
SHELL=/bin/sh
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINNT
TEMP=D:\TEMP
TERM=cygwin
TLJ=d:\TOPLinkWL5\Classes\JDK1.2
TMP=C:\TEMP
TOPLINK=d:\TOPLinkWL5\Classes\JDK1.2\TOPLink.jar;d:\TOPLinkWL5\Classes\JDK1.
2\TO
PLinkX.jar;d:\TOPLinkWL5\Classes\JDK1.2\Tools.jar;d:\TOPLinkWL5\Classes\JDK1
.2\T
OPLinkWLX.jar;d:\TOPLinkWL5\Classes\JDK1.2;
USERDOMAIN=KB_GROUP
USERNAME=Neil
USERPROFILE=C:\WINNT\Profiles\neil
WINDIR=C:\WINNT
WL=d:\weblogic5.1
WL_HOME=d:\weblogic5.1
_=/usr/bin/env
bash-2.04$




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-06-13 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-13 21:41 Problems with shell in general Neil Clayton
  -- strict thread matches above, loose matches on Subject: below --
2000-06-13 19:14 Neil Clayton
2000-06-13 21:15 ` Terry Lincoln

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).