diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2020-04-10 22:50:23 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-04-11 15:23:23 +0200 |
commit | 019449a7e64a881be8cc5d715fe9de32726ba190 (patch) | |
tree | f1ad04fa7423ee67c112826c2a08a5229ba6d0b4 /x.c | |
parent | fbae700a3f32db76106b0ff6f49a73ecf0c2b4fe (diff) | |
download | st-019449a7e64a881be8cc5d715fe9de32726ba190.tar.gz |
Add terminfo entries for backspace mode
St used to use backspace as BS until the commit 230d0c8, but due
to general lack of knowledge of lusers, we moved to the most common
configuration in linux to avoid answering the same question 3 times
per month. With the most common configuration we have a backspace
that returns a DEL, and we have a Delete key that doesn't return a
DEL character neither a BS.
When dealing with devices connected using a serial line (or even
with Plan9) it is more common Backspace as BS and Delete as DEL. For
this reason, st is not always the best tool when you talk with a
serial device.
This patch adds new terminfo entries for Backspace as BS and Delete
as DEL. A patch for confg.h is also added, to make easier switch
between both configurations.
Diffstat (limited to 'x.c')
0 files changed, 0 insertions, 0 deletions