Problems with shell in general.

Terry Lincoln lincoln2@rochester.rr.com
Tue Jun 13 21:15:00 GMT 2000


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



More information about the Cygwin mailing list