[Top][All Lists]

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

Re: Tramp 2.1.9

From: Pete Forman
Subject: Re: Tramp 2.1.9
Date: Thu, 19 Apr 2007 16:56:17 +0100

At 2007-04-19 14:48 +0200, Michael Albinus wrote:
Plink does not allow to overwrite all options via the command line,
indeed. But the following seems to work:

plink -t -l user host TERM=dumb /bin/sh

The patch below introduces a new method "plinkx". This shall work also
with your "xterm-configured" sessions.

That only works with a Bourne type default shell on the target.

plink -t -l user host env TERM=dumb /bin/sh

is more portable, AFAIK.

Actually there are a number of items that can be set in the PuTTY
session registry that are not easily available on the command line:
TERM, other environment variables, remote command.  Perhaps it would
be better to have a "plinks" method with tramp-login-args of
(("-load" "%h")).  This would broaden the meaning of "host" in Tramp
syntax, so the documentation would need updating.  Alternatively
introduce %s for session into the login-args syntax.

Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
address@hidden    -./\.-   the opinion of Schlumberger or           -./\.-   WesternGeco.

reply via email to

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