Re: [dev] [st] Home key does not work in yash

2024-08-16 Thread luonsiul
Thank you everyone. Without TERM-variable set to `linux-s` the Home key indeed does work. Best regards, luonsiul

Re: [dev] [st] Home key does not work in yash

2024-08-11 Thread Страхиња Радић
Дана 24/08/10 04:16PM, Roberto E. Vargas Caballero написа: > [...] In fact, > the backspace patch modifies the value exported by st because > otherwise it would not work. If you mean the delkey patch[1], it doesn't seem to change the TERM environment variable, nor the termname global variable in

Re: [dev] [st] Home key does not work in yash

2024-08-10 Thread Roberto E. Vargas Caballero
On Fri, Aug 09, 2024 at 05:58:09PM +0200, Страхиња Радић wrote: > Дана 24/08/09 03:16PM, Roberto E. Vargas Caballero написа: > > [...] Seting TERM directly is always 99.99% wrong and you can > > get wrong results. > > So, setting TERM to st or st-256colors while using st is wrong? Why > have a te

Re: [dev] [st] Home key does not work in yash

2024-08-09 Thread Страхиња Радић
Дана 24/08/09 03:16PM, Roberto E. Vargas Caballero написа: > [...] Seting TERM directly is always 99.99% wrong and you can > get wrong results. So, setting TERM to st or st-256colors while using st is wrong? Why have a terminfo entry then?

Re: [dev] [st] Home key does not work in yash

2024-08-09 Thread Roberto E. Vargas Caballero
On Fri, Aug 09, 2024 at 12:33:57AM +0200, Страхиња Радић wrote: > st sets the default, but setting TERM overrides that and allows for > some flexibility. But the testing has shown that TERM is irrelevant for > this issue. Even with the OP's settings, Backspace in st+yash is > working without issues

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Страхиња Радић
Дана 24/08/08 04:52PM, Randy Palamar написа: > How exactly are you invoking yash? On my Gentoo box invoking > `TERM=linux-s yash` from ksh running inside st and pressing HOME > leads to yash echoing back `ESC[H` (here ESC == \x1b). Simply > invoking `yash` causes HOME to behave as expected. I was

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Randy Palamar
Страхиња Радић wrote: > Дана 24/08/08 03:24PM, Roberto E. Vargas Caballero написа: > > In fact, the correct thing to do is not modifying TERM. > > St defines the correct value for the TERM variable, and > > you can change that value in the config.h file, based in > > your preferences. > > st set

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Страхиња Радић
Дана 24/08/09 12:33AM, Страхиња Радић написа: > [...] Even with the OP's settings, Backspace in st+yash is > working without issues here. *and Home key, which is the issue here.

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Страхиња Радић
Дана 24/08/08 03:24PM, Roberto E. Vargas Caballero написа: > In fact, the correct thing to do is not modifying TERM. > St defines the correct value for the TERM variable, and > you can change that value in the config.h file, based in > your preferences. st sets the default, but setting TERM overr

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Roberto E. Vargas Caballero
Hi, On Fri, Aug 02, 2024 at 12:28:14PM -0600, Randy Palamar wrote: > luons...@autistici.org wrote: > > export TERM=3D'linux-s' > > Try leaving TERM="st-256color" and report the results. Terminal > programs (such as a shell) behave very differently depending on > what the value of TERM is. As a us

Re: [dev] [st] Home key does not work in yash

2024-08-04 Thread Julius Bernotas
On Fri, Aug 02, 2024 at 12:12:54PM +0300, luons...@autistici.org wrote: > > In-Reply-To: > > User-Agent: mblaze/1.1 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: quoted-printable > > =D0=A1=D1=82=D1=80=D0=B0=D1=85=D0=B8=D1=9A=D0=B0 =D0=A0=D0=B0=D0=B4=

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Страхиња Радић
Дана 24/08/02 08:42PM, Страхиња Радић написа: > Your email client (or email processor) seems to expand shell variables > in email bodies, which is a serious security and privacy risk. I Correction: > /bin /boot /dev /etc /firmware /grub-efi-ia32_2.06-13_amd64.deb [...] (original mail:) > /* s/s

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Страхиња Радић
Дана 24/08/02 12:12PM, luons...@autistici.org написа: > Apologies for my previous mail which got all cluttered up (Trouble with mbl= > aze). Your email client (or email processor) seems to expand shell variables in email bodies, which is a serious security and privacy risk. I strongly advise eithe

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Randy Palamar
luons...@autistici.org wrote: > export TERM=3D'linux-s' Try leaving TERM="st-256color" and report the results. Terminal programs (such as a shell) behave very differently depending on what the value of TERM is. As a user you shouldn't really be modifying that value unless you are developing/testin

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Hiltjo Posthuma
On Fri, Aug 02, 2024 at 11:40:02AM +0300, luons...@autistici.org wrote: > > In-Reply-To: > User-Agent: mblaze/1.1 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: quoted-printable > > Hello, > > Yes, of course: yash 2.52, st 0.9 > > Not sure about appl

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread luonsiul
In-Reply-To: User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=A1=D1=82=D1=80=D0=B0=D1=85=D0=B8=D1=9A=D0=B0 =D0=A0=D0=B0=D0=B4=D0=B8= =D1=9B wrote: > =D0=94=D0=B0=D0=BD=D0=B0 24/08/01 11:04PM, luons...@autistici.org

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread luonsiul
In-Reply-To: User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=A1=D1=82=D1=80=D0=B0=D1=85=D0=B8=D1=9A=D0=B0 =D0=A0=D0=B0=D0=B4=D0=B8= =D1=9B wrote: > =D0=94=D0=B0=D0=BD=D0=B0 24/08/01 11:04PM, luons...@autistici.org

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread luonsiul
In-Reply-To: User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, Yes, of course: yash 2.52, st 0.9 Not sure about applied patches. Both are from Devuan repos. luonsiul EZS Ephir wrote: > Hello, luon >=20 > > Whe

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Страхиња Радић
Дана 24/08/01 11:04PM, luons...@autistici.org написа: > When running yash in st, Home key does not work properly. In other > terminal/shell combinations, the key moves the cursor to the beginning > of the line.The End key works as expected. Not reproducible on OpenBSD 7.5, sr@ Дана 24/08/02 12

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Hiltjo Posthuma
On Thu, Aug 01, 2024 at 11:04:16PM +0300, luons...@autistici.org wrote: > Hello, > > I don't know if this is a yash bug or a st bug/feature, but: > > When running yash in st, Home key does not work properly. In other > terminal/shell combinations, the key moves the cursor to the beginning of the

Re: [dev] [st] Home key does not work in yash

2024-08-01 Thread EZS Ephir
Hello, luon > When running yash in st, Home key does not work properly. In other > terminal/shell combinations, the key moves the cursor to the beginning of the > line.The End key works as expected. Using yash (debian bookworm package) + st (compiled), and I don't have any problems, *HOME* key

[dev] [st] Home key does not work in yash

2024-08-01 Thread luonsiul
Hello, I don't know if this is a yash bug or a st bug/feature, but: When running yash in st, Home key does not work properly. In other terminal/shell combinations, the key moves the cursor to the beginning of the line.The End key works as expected. So, the key works if I run yash in xterm or i