console-mode frame title sets Xterm title
Here's a feature I'd like to see: console-mode frame title sets Xterm title. I can't find a record of anyone actually doing it yet.
Noah Friedman has xterm-frobs.el which provide a low-level interface but they are not automatically called when the title needs to be updated. It points out the right (?) way to send the escape sequences out: send-string-to-terminal. Perhaps they could be called that way. Noah's code also includes a special case to pass the string through screen to get it to the real terminal, but that's not what I want. I think getting the screen name set properly could be pretty useful.
I wonder if the escape sequences can really be hardcoded in this way or if they have to be fetched from termcap/terminfo? Different terminals might conceivably support it in different ways, though I think the most important ones these days will be close to xterms.
posted Fri 26 Sep 2003 in /software/emacs | link
Archives 2008: Apr Feb 2007: Jul May Feb Jan 2006: Dec Nov Oct Sep Aug Jul Jun Jan 2005: Sep Aug Jul Jun May Apr Mar Feb Jan 2004: Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan 2003: Dec Nov Oct Sep Aug Jul Jun May
Copyright (C) 1999-2007 Martin Pool.