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 keys work, without smkx. >> >> If you launch fish in st, your keys don't, until you do "tput smkx". > > I confirm that this is true on my computer: for the shells fish, bash, ksh, > and mksh, in xterm, the Delete key works; whereas in st it doesn't work > without tput smkx. > > However, with zsh in st, the Delete key works immediately.
Sorry, correction. I mis-reported on ksh. Here are my results: Delete key | | xterm | xterm | st | st | | | rmkx | smkx | rmkx | smkx | |------+-------+-------+-------+-------| | zsh | works | works | works | works | |------+-------+-------+-------+-------| | bash | works | works | no-op | works | | mksh | works | works | no-op | works | | tcsh | works | works | no-op | works | |------+-------+-------+-------+-------| | fish | works | works | '[P' | works | | ksh | '~' | '~' | '~' | '~' | The anomaly of '[P' with fish might be fixed in a later version. I am running fish, version 2.1.2-1256-g64af63b.