- Subject: Re: [jed-users] Possible FAQ - turn tab indenting off
- From: Manfred Hanke <Manfred.Hanke@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Jun 2016 08:16:48 +0200
Wondering whether the mailinglist was confused by Marc's tagged address
(since neither Roland's nor my answers to this thread have reached me
through list or are on http://lists.jedsoft.org/lists/jed-users/2016/),
I'm reposting mines:
> -------- Forwarded Message --------
> Subject: Re: [jed-users] Possible FAQ - turn tab indenting off
> Date: Sun, 26 Jun 2016 21:56:01 +0200
> From: Manfred Hanke
> To: Marc Haber <mh+jed-users@xxxxxxxxxxxx>, jed-users@xxxxxxxxxxx
>
> Hi Marc,
>
> On 26.06.2016 21:18, Marc Haber wrote:
>> Probably not, Home and End don't move the cursor at all (which I'd
>> love to map to ^A and ^E).
>
> I have the following in my ~/.jedrc (from times when I also used konsole):
>
> require("keydefs");
> setkey("delete_char_cmd", Key_Del);
> setkey("bol", Key_Home);
> setkey("eol", Key_End);
>
> Schöne Grüße,
>
> Manfred
-------- Forwarded Message --------
Subject: Re: [jed-users] Possible FAQ - turn tab indenting off
Date: Tue, 28 Jun 2016 07:38:30 +0200
From: Manfred Hanke
To: Marc Haber <mh+jed-users@xxxxxxxxxxxx>, jed-users@xxxxxxxxxxx
> On Sun, Jun 26, 2016 at 09:56:01PM +0200, Manfred Hanke wrote:
>> I have the following in my ~/.jedrc (from times when I also used konsole):
>>
>> require("keydefs");
On 27.06.2016 13:39, Marc Haber wrote:
> That pulls in the symbolic meanings of Key_Home et al?
Yes, it defines such variables making clever use of get_termcap_string,
see https://github.com/hankem/jed/blob/master/lib/keydefs.sl
(which is JED's current master branch; just directly viewable online).
>> setkey("delete_char_cmd", Key_Del);
>
> In my terminal Del deletes the character under cursor and Backspace
> deletes left from cursor, which is the expected behavior. Which change
> would this setkey command mean?
Nothing else. I either had once a terminal where this didn't work out of
the box -- or just put it overzealously... Anyways, I don't remember. ;)
>> setkey("bol", Key_Home);
>> setkey("eol", Key_End);
>
> I used to have
> setkey("beg_of_line", "^[[H");
> setkey("eol_cmd", "^[[F");
> here, which seems to have lost its functionality over the years.
I have never had a deep understanding of terminals and their sequences,
but assumed that this very represenation of a key may change between
different terminals (or operating systems, or whatever?) -- which is why
keydef.sl's get_termcap_string magic is the sustainable way to go.
Schöne Grüße,
Manfred
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
[2016 date index]
[2016 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]