Hi, Attached is a patch to add terminfo entries asserting st has indeed an statusline (i.e. you can change the window title) and how to write to it. The code to do so is already there, but it has not been properly specified in the terminfo file. Some software (e.g. sandy O:-)) uses those entries to write to the statusline without hardcoding the escape sequences used to get to/from there; other software should probably do this instead of assuming xterm compatibility straight forward.
For some reason I fail to understand, this is not standard in the "xterm" terminfo file, but is instead in "xterm+sl". It is also there in "rxvt-unicode-256color", which is what my current terminal uses. If anyone knows of a good reason to avoid this, please let me know so I can scrap this patch and thik of something else for sandy. Best regards, Rafa.
diff -r 2effc50d2c4f st.info --- a/st.info Sun May 22 16:57:27 2011 +0200 +++ b/st.info Wed Jun 01 16:35:00 2011 +0200 @@ -33,8 +33,10 @@ ed=\E[J, el=\E[K, el1=\E[1K, + fsl=^G, home=\E[H, hpa=\E[%i%p1%dG, + hs, ht=^I, hts=\EH, ich=\E[%p1%d@, @@ -93,6 +95,7 @@ smso=\E[7m, smul=\E[4m, tbc=\E[2g, + tsl=\E]0;, ul, xenl,