May 25, 2018 updates: Privacy Policy
  • R/O
  • SSH
  • HTTPS

yash: Commit


Commit MetaInfo

Revision3838 (tree)
Time2018-04-30 14:08:31
Authormagicant

Log Message

Use '\a' for fsl (#38240)

Background: In the default yashrc file, we use the tsl and fsl terminal
capabilities to modify the status line (or the window title) of the
terminal. Terminfo databases often lack those capabilities, so we have
been providing default values for common terminals depending on $TERM.
The default fsl for xterm had been '\033\\', which is defined as STRING
SEPARATOR in ECMA-48.

Problem: Some terminal emulators like Konsole do not support '\033\\' as
fsl and still pretend to be xterm with a false $TERM value. Our default
fsl results in a garbage shown in such terminals.

Solution: Many existing terminals support '\a' as fsl, which is now
considered a de facto standard. This should work on more terminals.

Change Summary

Incremental Difference

--- yash/trunk/NEWS (revision 3837)
+++ yash/trunk/NEWS (revision 3838)
@@ -8,6 +8,12 @@
88 x: new bug
99
1010 ----------------------------------------------------------------------
11+Yash 2.48
12+
13+ . Updated the sample initialization script (yashrc):
14+ * Window title update should now work on more terminals.
15+
16+----------------------------------------------------------------------
1117 Yash 2.47
1218
1319 + '--errreturn' option.
Show on old repository browser