This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug: logging in via telnet: no user environment variables; cscript can't be executed


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]