Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Greg Reagle
On 09/02/2015 11:29 AM, Fabian Homborg wrote: > Roberto E. Vargas Caballero writes: > That's not what I'm talking about. Of course a tone of terminals have > smkx defined, but fish currently doesn't send it and works on (as far as > I know) anything but st. > > In other words: > > If you launch

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Greg Reagle
On 09/02/2015 01:00 PM, Fabian Homborg wrote: >> The anomaly of '[P' with fish might be fixed in a later version. I am >> running fish, version 2.1.2-1256-g64af63b. > > That's why we are discussing this. I updated fish to 2.2.0-1~trusty amd64 (from the PPA) and the '[P' behavior still occurs.

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Fabian Homborg
Greg Reagle writes: > On 09/02/2015 12:21 PM, Greg Reagle wrote: >> I've been reading this conversation with interest. I tried different shells >> with xterm versus st. >> >> On 09/02/2015 11:29 AM, Fabian Homborg wrote: >>> If you launch fish in { konsole, xterm, gnome-terminal, linux in-ker

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Greg Reagle
On 09/02/2015 12:21 PM, Greg Reagle wrote: > I've been reading this conversation with interest. I tried different shells > with xterm versus st. > > On 09/02/2015 11:29 AM, Fabian Homborg wrote: >> If you launch fish in { konsole, xterm, gnome-terminal, linux in-kernel >> VTs, iTerm2, ... } your

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Greg Reagle
I've been reading this conversation with interest. I tried different shells with xterm versus st. On 09/02/2015 11:29 AM, Fabian Homborg wrote: > If you launch fish in { konsole, xterm, gnome-terminal, linux in-kernel > VTs, iTerm2, ... } your keys work, without smkx. > > If you launch fish in

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Fabian Homborg
Roberto E. Vargas Caballero writes: > Hi, > >> Our question is probably better stated as the following: >> >> st seems to e.g. send "[P" for delete instead of the '\E[3;2~' in >> terminfo (which fish does use), unless we explicitly do the equivalent >> of "tput smkx". This not only applies to d

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Christoph Lohmann
Greetings. On Wed, 02 Sep 2015 16:22:30 +0200 "Roberto E. Vargas Caballero" wrote: > > So: Is there a rationale for that decision and would you consider > > changing it? > > terminfo definition. I will admit a patch like this if all the > another suckless developer agree, which I don't think w

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Roberto E. Vargas Caballero
Hi, > Our question is probably better stated as the following: > > st seems to e.g. send "[P" for delete instead of the '\E[3;2~' in > terminfo (which fish does use), unless we explicitly do the equivalent > of "tput smkx". This not only applies to delete, but a few other key > combinations as we

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Fabian Homborg
Pickfire writes: > On Tue, Sep 01, 2015 at 04:40:12PM +0200, Roberto E. Vargas Caballero wrote: >>On Tue, Sep 01, 2015 at 10:22:52PM +0800, Pickfire wrote: >>> Hi, it seems that st does some terminal codes abnormally[1]. >>> >>> What is the reason for st's key codes to be different from the othe

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Roberto E. Vargas Caballero
> How do you know that smkx should be '\E[?1h\E='? Is there any > documentation about it? http://www.vt100.net/docs/vt100-ug/chapter3.html#SM http://www.vt100.net/docs/vt100-ug/chapter3.html#DECKPAM There are two issues related to keyboard configuration in the terminal world: - configura

Re: [dev] [st] Terminal abnormal key codes

2015-09-02 Thread Pickfire
On Tue, Sep 01, 2015 at 04:40:12PM +0200, Roberto E. Vargas Caballero wrote: On Tue, Sep 01, 2015 at 10:22:52PM +0800, Pickfire wrote: Hi, it seems that st does some terminal codes abnormally[1]. What is the reason for st's key codes to be different from the other terminals? Is st following som