[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] TOSWIN2 and cursor keys
- To: mint@lists.fishpool.fi
- Subject: Re: [MiNT] TOSWIN2 and cursor keys
- From: Vincent Rivière <vincent.riviere@freesbee.fr>
- Date: Fri, 08 Feb 2013 10:53:40 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=1ccwzODEqB3Qpw1HlC3e9UXQeIpuVhYUFwHOxCt0ros=; b=oElUNR1LR1/I0GyNANVosMVwdABLANYCAdOoGpTYbyzY8ibPuqt+pOPA5LFeDZw7fn zUWnBUDH76kzVtVZVCpBU0H2WdS7m0ZYOqUYx56kYmq2HCzSwTmcfvRXKEQ8UWK0jw/E RxuJsUvPs2FzdKriUH9JvsEmNrRB4jTLPGYsFc+zKzWQyocJJI60jjhLjfPuBB72F8xj n0WfE22qr5MQbMgjQaa9VtqMRxq30IyUN0F/q8qSR/Y+lTF3u71FGMVZkXUNNc7pDkZc 7FG/iffpWeAoU7HyQsWcbamhwQbDCQdI2ZfgSjoFeyzjMf51NSfvuai+oO7lThx/PPQ4 ubaQ==
- In-reply-to: <op.wr5wj2isofd6j1@nebbiolo>
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- References: <51133DED.2050903@freesbee.fr> <00066eaa.01db0500224d@smtp.freeola.net> <1a877f0759ec7484d65942241ed05a61-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBeX15ZVF0WWl5oAF1TMl5cR0UAWFpcQ1g=-webmailer2@server04.webmailer.hosteurope.de> <f498aacdb575b20f5fd028f02d11a54a-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBeX15ZVF0WWl5oAF1TMl5cR0UAWFpRRlg=-webmailer2@server04.webmailer.hosteurope.de> <op.wr5mls1hofd6j1@nebbiolo> <5e2bc97f2a973e43aac3a2e378efcfe7-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBeX15ZVF0WWl5oAF1TMl5cR0UAWFhcSFw=-webmailer2@server04.webmailer.hosteurope.de> <op.wr5tv1peofd6j1@nebbiolo> <51144171.1030208@freesbee.fr> <op.wr5u1bndofd6j1@nebbiolo> <op.wr5wj2isofd6j1@nebbiolo>
- Sender: mint-bounce@lists.fishpool.fi
- User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
On 08/02/2013 01:49, Helmut Karlowski wrote:
But some terminals like xterm translate Alt-x -> Esc-X, so that's the same
in this case.
Totally true.
I finally tried nano from Alan's archive. I just extracted the executable:
http://gentoo.atariforge.org/files/app-editors/nano-2.3.1.tbz2
Due to laziness I used the fullscreen BIOS console.
I experience the same trouble as everyone: arrows not working.
But I found interesting new facts:
1) Turn on Caps Lock. Type the keys quickly (less than 1 second)
Esc A -> cursor up
Esc B -> cursor down
So the terminfo works fine. Entering manually the arrow character sequences
do the right thing in nano.
2) To enter verbatim mode (similar to ^V in bash), type _slowly_ (more than
1 second) :
Esc V
Then type an arrow key.
You will see: ^@ which means nul char.
As a conclusion, I think that nano puts the terminal in some strange mode
(maybe raw, cooked, etc) which disable the generation of proper escape
sequences on arrow keys.
To be investigated in nano sources.
--
Vincent Rivière