"David Keegan" <[email protected]> writes: > Hi,
Hi, > I'm trying to open a file on a remote RedHat8 Linux host > using tramp in emacs 23.1 using ssh/scp and default settings > running on Fedora13. > > Tramp hangs after setting the remote shell prompt. I don't > have the same problem opening a file on a host running > Fedora13. > > The tramp buffer contains the following: > > exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/^M<' > PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /bin/s > ^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^Hh > ^M^M#$ ^M#$ > > I will be very grateful if someone can explain where the > sequences of spaces and backspaces are coming from. I think > I fixed a similar problem in the past by setting > tramp-initial-commands, but that seems no longer possible > with the current version of tramp. It looks like you have an echoing shell. For better analysis, you shall set `tramp-verbose' to 10, and show the debug buffer after the test. In Tramp 2.1.18 (part of Emacs 23.3), there are some improvements wrt echoing shells. Maybe you try Emacs 23.2, or Tramp 2.1.18 w/o upgrading your Emacs version. `tramp-initial-commands' has been removed from Tramp 4 years ago. It was mainly used for environment settings; these days this is done via `tramp-remote-process-environment'. > Regards, > David Keegan. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
