Re: Problem with tcsh?



Nico Kadel-Garcia <nkadel@xxxxxxxxxxx> wrote:
>> There I use tcsh as shell. When I use Openssh with this machine, it logs
>> in and tells me "tcsh: using dump terminal settings. type cygwin unknown
>> TERM = <unknown>". I can't use any unix command like ls or so.
>> I don't have cygwin on my computer. My operating system is windows xp
>> professional.
>>
>> It works with other remote machines where the default shell is bash or so.
>>
>> Has somebody a solution?

> Yes. The "TERM" on your client is set to "cygwin", and that's being
> propagated to the server when you log in, which has no idea of how to handle
> it. If you're operating from CygWin, instead download and stasrt up your X
> serve in Cygwin. Then run "startx", which gives you a very nice "xterm" and
> a running X server. Then from the X term, use "ssh -X solarisbox" and you
> should have both a TERM=xterm setting, and X tunneling setup to run X
> applications on the Solaris box displayed locally on your Cygwin machine,
> securely.

Whoa, starting up a whole X server just to remotely log in? That might
be a little heavyweight. I generally prefer 'rxvt' to do simple shell
stuff.

However, neither might be available for the OP. There are some SSH
distributions for XP that just bundle enough of the cygwin tools to get
it running. I doubt that X is included in them.

I would try just setting TERM=vt100 after logging in and seeing how the
emulation works. If that's not good enough, then go for a more complete
cygwin installation (with X and/or rxvt), or something other than
openssh like 'putty'.

--
Darren Dunham ddunham@xxxxxxxx
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
.



Relevant Pages

  • Re: [TIN] Reading groups from active file
    ... With Cygwin you install a UNIX/Linux like environment, ... operating system in a very short time and UNIX/Linux/Cygwin in no ... Windows utilities and the Windows "Command Prompt" window and its ... you'll have to use Cygwin/Linux commands. ...
    (news.software.readers)
  • Re: FAQ 8.1 How do I find out which operating system Im running under?
    ... The $^O variable contains an indication of ... Is cygwin an operating system? ... And how can I know what kind of perl I'm running under? ...
    (comp.lang.perl.misc)
  • Re: Increase stack size in eclipse cdt
    ... In linux I do it through the operating system through ... similar thing in windows xp or cygwin. ... generated executable has bigger stack or another way so i solve my ...
    (comp.lang.c)
  • [OT] Cygwin Re: newlines in text files
    ... >>However, you may be operating under Cygwin or something similar, ... I'll have to ask why Cygwin worked that way in a different newsgroup. ... Windows operating system. ...
    (comp.lang.c)
  • Re: Problem with tcsh?
    ... starting up a whole X server just to remotely log in? ... I generally prefer 'rxvt' to do simple shell ... It's a better terminal emulator than the bare ... Cygwin one. ...
    (comp.security.ssh)