Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

putty and mutt

3 views
Skip to first unread message

Stefan

unread,
Oct 8, 2005, 8:29:29 PM10/8/05
to
Hello!

I am new to mutt, so please be gentle ;-)

I am "evaluating" mutt as my new favorite MUA, and it is likely that I
will use it (also) from within Win32 connected to my Linux machine via SSH
(PUTTY as terminal app).

As Midnight Commander (MC) does work with the pos1/home and the end key, I
am happy. But for some reason mutt does not "understand" those keys.

I already "fiddled" with my PUTTY config, with no success.

Can anybody point out to a solution? (Any solution I would understand^^)

Greetings Stefan

Stefan

unread,
Oct 8, 2005, 8:38:11 PM10/8/05
to
Just ignore this post... here's the solution...

# export TERM=linux

That's all, folks!

Stefan

Tim Hammerquist

unread,
Oct 8, 2005, 10:32:24 PM10/8/05
to

You can put this in your putty config.

Under Connection -> Data, enter "linux" or another compatible
term type in the "Terminal-type string" textbox.

HTH,
Tim Hammerquist
--
Remember kids.
With great power comes great opportunity to *abuse* that power.
-- Black Mage, 8-Bit Theater <http://nuklearpower.com/>

Stefan

unread,
Oct 9, 2005, 6:45:13 AM10/9/05
to
Thank You very much for these advices! Learned a lot again :-)

Greetings, Stefan

Alain Bench

unread,
Oct 12, 2005, 2:44:07 AM10/12/05
to
Hello Tim, Stefan,

On Sunday, October 9, 2005 at 2:32:24 AM +0000, Tim Hammerquist wrote:

> Stefan <force...@gmx.de> wrote:
>> here's the solution... # export TERM=linux

> You can put this in your putty config. Under Connection -> Data, enter
> "linux" or another compatible term type in the "Terminal-type string"
> textbox.

Yes, but no: "linux" and "putty" terminfos have many differences,
that you can see typing "infocmp linux putty". Each printed line is a
difference. Setting TERM=linux with PuTTY may well fix <Home> and <End>,
and seem at first sight to work overall, but it's in fact very
suboptimal. A bad setting. The same stands for TERM=xterm (which is
PuTTY's default).

The good setting is TERM=putty, together with an up-to-date terminfo
putty entry on the distant host.


Bye! Alain.
--
When you post a new message, beginning a new topic, use the "mail" or
"post" or "new message" functions.
When you reply or followup, use the "reply" or "followup" functions.
Do not do the one for the other, this breaks or hijacks threads.

0 new messages