delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/15/07:05:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3F8D29FA.BBBE9321@swipnet.se>
Date: Wed, 15 Oct 2003 13:05:30 +0200
From: a12 <a12 AT swipnet DOT se>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Unexpected output on ssh exit

--------------BC9934B7708941537F33A900
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

I have just installed Cygwin and ssh.
ssh is working as expected, except when I terminate the
connection, I get the following output:
rdb AT rdb $ exit
Connection to rdb closed.
\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\03[0m\]

As far as I can understand the output is supposed to set up my
Cygwin window due to PS1 content.
Why does it not work ?

Contents of cycheck -s and env is enclosed.

Marek

--------------BC9934B7708941537F33A900
Content-Type: text/plain; charset=us-ascii;
 name="cygcheck.031015"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="cygcheck.031015"


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Oct 15 13:00:54 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\X11R6\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	c:\Program Files\Symantec\pcAnywhere\
	c:\Program Files\ImageMan 6.0.1\
	c:\Program Files\Graphics Server 5.50\
	c:\Program Files\Centura2.0\
	c:\Program Files\Executive Software\Diskeeper\
	C:\cygwin\bin
	.

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 112085(magr40) GID: 10513(TCAD)
10513(TCAD)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 112085(magr40) GID: 10513(TCAD)
544(Admins)         547(Power)          
10513(TCAD)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `binmode ntsec tty title'
HOME = `C:\cygwin\home\magr40'
MAKE_MODE = `unix'
PWD = `/home/magr40'
USER = `magr40'

Use `-r' to scan registry

c:  hd  NTFS   28607Mb  24% CP CS UN PA FC     c-disk
d:  cd           N/A    N/A                    
e:  net NTFS   347146Mb  81% CP CS UN PA FC     Vol1_d1
k:  net NTFS   104140Mb   6% CP CS UN PA FC     Vol7_d7
l:  net NTFS    4102Mb  30% CP CS UN PA FC     
m:  net NTFS    4651Mb  30% CP CS UN PA FC     
n:  net NTFS    4102Mb  32% CP CS UN PA FC     c030604
o:  net NTFS    4651Mb  30% CP CS UN PA FC     d030604
p:  net NTFS   18441Mb   8% CP CS UN PA FC     h-disk
r:  net NTFS   347146Mb  70% CP CS UN PA FC     Vol3_d3
t:  net          N/A    N/A                    
u:  hd  NTFS   28607Mb  24% CP CS UN PA FC     c-disk

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
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
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

  842k 2003/09/30 C:\cygwin\bin\cygcrypto-0.9.7.dll
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll
   30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll
   15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll
   69k 2003/08/10 C:\cygwin\bin\cyggettextlib-0-12-1.dll
   12k 2003/08/10 C:\cygwin\bin\cyggettextpo-0.dll
  134k 2003/08/10 C:\cygwin\bin\cyggettextsrc-0-12-1.dll
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
   29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll
  958k 2003/08/10 C:\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
   29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
  224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
   19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll
   67k 2003/09/10 C:\cygwin\bin\cygpcre-0.dll
   63k 2003/04/11 C:\cygwin\bin\cygpcre.dll
   15k 2003/09/10 C:\cygwin\bin\cygpcreposix-0.dll
   61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
  148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll
  171k 2003/09/30 C:\cygwin\bin\cygssl-0.9.7.dll
   60k 2003/08/09 C:\cygwin\bin\cygz.dll
  949k 2003/09/20 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.5.5
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 94
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Sat Sep 20 16:31:15 EDT 2003
        CVS tag: cr-0x9b
        Shared id: cygwin1S3


Cygwin Package Information
Package              Version            
_update-info-dir     00221-1            
ash                  20031007-1         
base-files           2.6-1              
base-passwd          1.1-1              
bash                 2.05b-15           
bzip2                1.0.2-5            
cron                 3.0.1-11           
cygrunsrv            0.96-2             
cygutils             1.2.1-2            
cygwin               1.5.5-1            
cygwin-doc           1.3-6              
diffutils            2.8.4-1            
editrights           1.01-1             
fileutils            4.1-2              
findutils            4.1.7-4            
gawk                 3.1.3-3            
gdbm                 1.8.3-7            
grep                 2.5-1              
groff                1.18.1-2           
gzip                 1.3.5-1            
keychain             1.9-1              
less                 381-1              
libgdbm              1.8.0-5            
libgdbm-devel        1.8.3-7            
libgdbm3             1.8.3-3            
libgdbm4             1.8.3-7            
libgettextpo0        0.12.1-3           
libiconv2            1.9.1-3            
libintl1             0.10.40-1          
libintl2             0.12.1-3           
libncurses5          5.2-1              
libncurses6          5.2-8              
libncurses7          5.3-4              
libpcre              4.1-1              
libpcre0             4.4-2              
libpopt0             1.6.4-4            
libreadline4         4.1-2              
libreadline5         4.3-5              
login                1.9-7              
man                  1.5j-2             
mktemp               1.5-3              
ncurses              5.3-4              
openssh              3.7.1p2-1          
openssl              0.9.7c-1           
readline             4.3-5              
rsync                2.5.6-2            
sed                  4.0.7-3            
sh-utils             2.0.15-4           
tar                  1.13.25-3          
termcap              20021106-2         
terminfo             5.3_20030726-1     
texinfo              4.2-4              
textutils            2.0.21-1           
which                1.5-2              
zlib                 1.1.4-4            
Use -h to see help about each section

--------------BC9934B7708941537F33A900
Content-Type: text/plain; charset=us-ascii;
 name="env.031015"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="env.031015"

!C:=C:\cygwin\bin
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\magr40\Application Data
CLASSPATH=C:\Program Files\PhotoDeluxe HE\AdobeConnectables;
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=8VS2T0J
COMSPEC=C:\WINNT\system32\cmd.exe
CVS_RSH=/bin/ssh
CYGWIN=binmode ntsec tty title
HOME=/home/magr40
HOMEDRIVE=C:
HOMEPATH=\
HOSTNAME=8VS2T0J
INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:
LIB=C:\Program Files\sybase\LIB
LOGONSERVER=\\HAN200AD
MAKE_MODE=unix
MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man
NUMBER_OF_PROCESSORS=1
OLDPWD=/usr/bin
OS2LIBPATH=C:\WINNT\system32\os2\dll;
OS=Windows_NT
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Symantec/pcAnywhere/:/cygdrive/c/Program Files/ImageMan 6.0.1/:/cygdrive/c/Program Files/Graphics Server 5.50/:/cygdrive/c/Program Files/Centura2.0/:/cygdrive/c/Program Files/Executive Software/Diskeeper/:/usr/bin:.
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
PROMPT=$P$G
PS1=\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ 
PWD=/home/magr40
SHLVL=1
SYBASE=C:\Program Files\Sybase
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINNT
TEMP.ORG=C:\Documents and Settings\magr40\Local Settings\Temp
TEMP=/cygdrive/c/TMP
TERM=cygwin
TMP.ORG=C:\Documents and Settings\magr40\Local Settings\Temp
TMP=/cygdrive/c/TMP
USER=magr40
USERDNSDOMAIN=tcad.telia.se
USERDOMAIN=TCAD
USERNAME=magr40
USERPROFILE=C:\Documents and Settings\magr40
WINDIR=C:\WINNT
_=/usr/bin/env


--------------BC9934B7708941537F33A900
Content-Type: text/plain; charset=us-ascii

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019