aboutsummaryrefslogtreecommitdiff
path: root/st.info
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-11 15:08:37 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-11 15:08:37 +0200
commitc46d929fe18e4a3c9c41101eafa7a9668c8c8830 (patch)
tree8956a671d8805838bfc69acd0cb707548a21987b /st.info
parent0baf2d8be57d93a86973c8363df4ea3f3e641925 (diff)
downloadst-c46d929fe18e4a3c9c41101eafa7a9668c8c8830.tar.gz
st-c46d929fe18e4a3c9c41101eafa7a9668c8c8830.tar.bz2
Fix Backspace and Delete characters
Backspace key must generate the backspace character (\010) and Delete key must generate the delete character (\0177). In some systems the kernel configuration for erasing previous character is \0177, so some programs (for example cat, ed, mail, ...), can not understand the correct meaning of backspace. In this cases it is only needed this command: stty erase 
Diffstat (limited to 'st.info')
-rw-r--r--st.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.info b/st.info
index 4e60a89..3a01a08 100644
--- a/st.info
+++ b/st.info
@@ -53,7 +53,7 @@ st| simpleterm,
ka3=\E[5~,
kc1=\E[4~,
kc3=\E[6~,
- kbs=\177,
+ kbs=\010,
kcbt=\E[Z,
kb2=\EOu,
kcub1=\EOD,