delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/06/08:44:33

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: <001b01c23d46$fd380ff0$2d32a8c0@mmi-pcwic.ids.de>
From: "Andreas Wicker" <Andreas DOT Wicker AT ids DOT de>
To: <cygwin AT cygwin DOT com>
Subject: Bug: logging in via telnet: no user environment variables; cscript can't be executed
Date: Tue, 6 Aug 2002 14:44:22 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

When I log into a computer via cygwin telnet, I do get the system
environment variables.
But I do not get the user environment variables.
This is true for at least the following cygwin versions:
CYGWIN_NT-5.0 HLNX-SRV 1.3.12(0.54/3/2) 2002-07-03 16:42  and
CYGWIN_NT-4.0 MMI-PCWIC 1.3.5(0.47/3/2) 2001-11-11 19:01

I'd propose to build it into cygwin that you get the user user variables
when being logged in via telnet.


A workaround that I've used for this consisted of a VisualBasic-Script, that
was called in the /etc/profile and that copied the
user-environment-variables to
a little file which then was sourced from the /etc/profile.
This worked well with the cygwin1.dll 1.3.5, but does not work anymore with
1.3.12. The Visual-Basic-Interpreter cscript.exe that reads the user
einvironment
can not be executed when logged in via telnet with cygwin1.dll 1.3.12.

When I try to execute cscript.exe when I'm logged in via telnet,
an error message window pops up on the server that says something like
Title: "cscript.exe Error in Application"
Text: "The application could not be initialized correctly (0xc0000005) Click
on OK for terminating the
application"
(As I use a german windows, the original error msg is in german; this
translation is by me and
may differ from the original english message.)

The cscript-Bug is due to the cygwin1.dll, not to the telnet package or
anything else:
When I copy only the old cygwin1.dll 1.3.5 over a
cygwin-1.3.12-installation,
cscript may be started.


Regards,
  Andreas





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

- Raw text -


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