[EMAIL PROTECTED] (Kai Grojohann) writes:
I think people should init their shell like this:
case "$TERM" in
linux|xterm)
alias ls=...
;;
esac
After all, printing color sequences on if $TERM=dumb does not make
sense.
I've done basically the same thing for
On Thu, 18 Jan 2001, Bruce Ingalls wrote:
I use which.el, myself, which is fast. However, I recall that there
is some which()-like emacs function.
Err. I need to do this on the remote host, not on the local host.
And the point of Tramp is that I don't need Emacs on the remote
host.
And if I
Update of /services/emacs-rcp/cvsroot/tramp/lisp
In directory lucy:/export/home/grossjoh/work/emacs-tramp/tramp/lisp
Modified Files:
tramp.el ChangeLog
Log Message:
(tramp-open-connection-telnet,
tramp-open-connection-rsh, tramp-open-connection-su,
tramp-open-connection-multi): Locally
Rand Signaling: (wrong-number-of-arguments
Kai Yes, load on Emacs accepts one more argument than load on XEmacs.
Kai Hm. I know how to work around this problem, but don't have time
Kai to do it right now.
Kai In the meantime, you can just edit tramp-handle-load to remove
Kai the last argument,
On 18 Jan 2001, Chris Green wrote:
[EMAIL PROTECTED] (Kai Grojohann) writes:
I was hoping to get a basic Bourne shell after "exec /bin/sh".
Therefore, the aliases should be off after this. Are they?
Yes they are.
Good. According to the docs, bash called as sh isn't supposed to read
[EMAIL PROTECTED] (Kai Grojohann) writes:
I confess that I've also got a strange prompt and I had to frob
shell-prompt-pattern to recognize optional color escape sequences.
Not pretty at all.
Okay. There is a new version of Tramp now which locally sets the env
var TERM to "dumb" when
I have now created a new version of Tramp -- does load work there even
on XEmacs?
kai
--
Be indiscrete. Do it continuously.
Update of /services/emacs-rcp/cvsroot/tramp/lisp
In directory lucy:/export/home/grossjoh/work/emacs-tramp/tramp/lisp
Modified Files:
tramp.el ChangeLog
Log Message:
(tramp-handle-load): Call `load' on local copy with
fewer args for XEmacs compatibility.
Kai I have now created a new version of Tramp -- does load work there
Kai even on XEmacs?
Works great! Thanks.
I noticed that you hardwired TERM to be "dumb". If you are interested,
here is a simple patch that allows the user to set TERM via
tramp-terminal-type. I personally use "tramp" because