I had the same lag issue after fiddling with the delkey patch. I solved it by deleting local terminfo:
rm ~/.terminfo/st*
(Make backups as needed, obviously).
I did not need to regenerate anything with tic but YMMV.
I've been using the suckless software (dwm, surf, dmenu, and st) for a couple of years now. It's always worked great, I have zero complaints really. I decided on st precisely because of its size and resource usage. I am open to alternatives.
]]>A little off-topic, but could I ask why you want to use st? It's a nice emulator, but there are others that are almost as small and resource-frugal, and much easier to configure.
]]>Tried deleting ncurses from the pacman cache and reinstalling. Still no change.
Also tried manually extracting the ncurses-6.0-4-x86_64.pkg.tar.xz contents into a temporary directory and then moving the st files from that package into /usr/share/terminfo/s and nothing has changed.
]]>pacman -Qi ncurses
As far as the time delay goes, I have no help to offer. I built and installed st-git to test this, and it works fine on my machine. I suppose you could try removing the st-256color file you copied and reinstalling the ncurses package.
(edit) I just checked, and the st-256color file created by your tic command and the st-256color file I have in /usr/share/terminfo are different. This might be the problem or might not.
(edit2) -- I see you edited your post and the lag issue is now resolved. Great!
]]>I attempted the fix from FAQ question 2 using the st-git package from the AUR
tic -s st.info
This produced four files in ~/.terminfo (st, st-256color, st-meta, st-meta-256color)
I migrated and appropriately permissioned those files into /usr/share/terminfo/s/
One issue remains where there is considerable lag when pressing the backspace key and character deletion.
]]>pacman -Qo /usr/share/terminfo/s/st-256color
If this file is not present (or it is configured incorrectly) I can duplicate both the backspace problem and the nano error.
]]>I've read the FAQ for st at suckless http://git.suckless.org/st/tree/FAQ
I've also tried to implement the Delete key behavior as provided within the patch http://st.suckless.org/patches/delkey
Neither worked. I've inquired within the suckless IRC channel, and they helped me run through a diagnosis that produced the following information:
Output of Ctrl-V Backspace is: ^?
Output of stty -a: erase = ^?;
Value of $TERM: st-256color
Output of infocmp | grep bs: kbs=\177,
The general consensus was that everything appeared to be configured appropriately. The final suggestion was that the shell may be the problem, namely bash which is the shell I use.
Suggestions for how to remedy the behavior?
]]>