Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
commitdab816a917fffcd49a26b422a7b5d435bc3e8b78
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 7 Dec 2009 06:38:06 +0000 (7 06:38 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 7 Dec 2009 06:38:06 +0000 (7 06:38 +0000)
tree49d71169cddafc9e5582639111d89316900c47d2
parenta91e1f6bf8c2c1a721d660dbb49bede3adde0a38
Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
Berbain <raphael.berbain@gmail.com>.

* net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
characters.
(tramp-initial-end-of-output): New defconst.
(tramp-methods, tramp-find-shell)
(tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection): Use it.
(tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
existence of `#' and `$'.

* net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
`tramp-initial-end-of-output'.
lisp/ChangeLog
lisp/net/tramp-fish.el
lisp/net/tramp.el