* Telnet Server and BASH.EXE
@ 2000-05-26 7:01 Chris Wilson
0 siblings, 0 replies; only message in thread
From: Chris Wilson @ 2000-05-26 7:01 UTC (permalink / raw)
To: CygWin Project
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1933 bytes --]
Hello all. I've been using the CYGWIN software for quite some time now, and
just recently moved to Windows 2000.
Â
I haven't experienced any problems with the software running under W2K,
though I don't really do any CYGWIN development. I basically use it to keep my
Linux-user skills in check when I'm forced to work at a Windows machine all day
long.
Â
W2K has a nice little telnet server built in, and from the registry you can
manually set the default shell you wish to use. However, when I set it for
bash.exe I have problems.
Â
I have made the following registry modifications for the telnet
server:
Â
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TelnetServer\1.0
Â
DefaultShell = D:\BIN\BASH.EXE --login -i -o ignoreeof
Â
LoginScript = (value not set)
Â
Termcap = D:\BIN\TERMCAP
Â
Â
The default settings were:
Â
DefaultShell %SystemRoot%\system32\cmd.exe /q /k
Â
LoginScript  %SystemRoot%\system32\login.cmd
Â
Termcap     Â
%SystemRoot%\system32\termcap
Â
The termcap file from the original entry, I copied into my CYGWIN's BIN
directory before making the registry change. Then I start the TelnetD
service.
Â
However, when I telnet to the machine I get the following response:
Â
0Â [main] bash 1000 hinfo_init: couldn't make stderr distinct from
stdout
And then it just hangs there until I disconnect the telnet
session.
Â
In the task manager, I can see 2 items start when I telnet to the
machine. TLNTSESS.EXE and BASH.EXE, however I never get my bash prompt,
and like I said previously, the session hangs until I disconnect. The
TLNTSESS.EXE and BASH.EXE do get closed when I disconnect.
Â
I was wondering if anyone else has tried this, or is there another telnet
server I should be using instead of the built-in Microsoft one?
Â
Thank you for any help anyone might offer. Have a great day.
-
Â
Chris Wilson
Â
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-26 7:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26 7:01 Telnet Server and BASH.EXE Chris Wilson
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).