2008/9/13 Brandon S. Allbery KF8NH <[EMAIL PROTECTED]>: >> Right. Unless you send an ^[^H]0;foo^G sequence (^[ being ESC) to your >> xterm. You'll find that the title changes to "foo". > > > 0 = both title and icon > 1 = icon name > 2 = titlebar text > > Most X11 terminal emulators use the same protocol. (ISTR that dtterm > doesn't, but I don't think most people care any more.) One other gotcha is > that Terminal.app on Leopard (dunno about Tiger) treats 0, 1, 2 the same way > so if you set the icon name after the title you end up with the icon name in > the titlebar. (OSX uses the titlebar text as the icon name when minimized.)
Interesting information. I'll look into adding this to my package then: cheers! Max _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe