[dev] [st] Strange behaviour of backspace under csh under st

From: Jinsong Zhao <jszhao_AT_yeah.net>
Date: Tue, 5 Nov 2024 17:14:33 +0800

Hi there,

I was trying to use st on a FreeBSD workstation, and my shell is csh.
When I use backspace to delete the Chinese character, I observe strange
behavior.

On the first,
zjs_AT_freebsd:~ % 中文|

After pressing a backspace key,
zjs_AT_freebsd:~ % |

After pressing ctrl + l to refresh st,
zjs_AT_freebsd:~ % 中|

The vertical bar indicates the cursor position.

This behavior is observed under bash, but not under sh.

Any hint would be greatly appreciated.

Best,
Jinsong
Received on Tue Nov 05 2024 - 10:14:33 CET

This archive was generated by hypermail 2.3.0 : Tue Nov 05 2024 - 10:24:09 CET