News for hackers. Stuff that matters.
Re:Emacs Power: remote servers and shell commands by omouse on Monday October 05, 2009 @10:01AM (#861788)
I've had problems using TRAMP with OpenBSD. SSH works and I think FTP does too, but for some reason, TRAMP just hangs. It does seem to connect but then it hangs.

Does TRAMP expect a certain type of shell prompt?

Re:Emacs Power: remote servers and shell commands by daemianmack on Monday October 05, 2009 @01:01PM (#862142)
It does. The relevant snippet from my .emacs.d:

  ;; For tramp with my bash config, the prompt of which terminates
  ;; in a newline. Tell tramp how to detect the end of my prompt.
  (setq shell-prompt-pattern "
  ")
The value of the shell-prompt-var is a literal newline. (That newline entered, naturally, with a C-q C-j.)