[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs hangs when connecting from windows to linux with tcsh shell

From: Peter Baranyi
Subject: emacs hangs when connecting from windows to linux with tcsh shell
Date: Wed, 3 Aug 2011 10:30:40 +0200

Hello, i'd like to ask for help: emacs hangs when connecting from
windows to linux using the plink: method.

Plink is correctly installed: i can connect from the command line.

C-g has no effect, even if i press it at the password: prompt, emacs
will hang and i have to end it with the windows task manager.

Sometimes however C-g does help and i can view the tramp debug log which is
flooded with:

tramp-get-connection-property (7) # check-remote-echo nil


exec env ENV='' PROMPT_COMMAND='' PS1="#$" PS2='' PS3='' /bin/sh
Illegal variable name.

As seen from the debug log, the connection is established, the remote
prompt is in the log.

If i change the shell from tcsh to bash, tramp works fine and emacs
does not hang.  Is there another way to fix this?  I tried placing
`if ( $TERM == "dumb" ) exec /bin/sh` on top of every automatically
executed file like .login, but the $TERM variable was 'xterm', despite
that tramp-terminal-type is set to 'dumb'.

software versions:
GNU Emacs 23.3.1 (i386-mingw-nt6.0.6002) of 2011-03-10 on 3249CTO
tramp version: 2.1.20
emacs running on windows vista, connecting to:
SUSE Linux Enterprise Server 10 (x86_64)

Emacs also hangs when connecting to another machine with bash shell!
Maybe because it has OTP (one time passwords) setup?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]