From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078613510576.tru64-unix-managers.marc@archive.invalid> From: Bruce Ferjulian Date: Mon, 23 Jun 1997 19:04:02 +0000 To: tru64-unix-managers Subject: SOLUTION: Changing X11 icons & border text. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078613510576 Original Question: Does anyone know if you can change from withing a script, using escape sequences, the "text" and "icon label" of either a DECterm or Xterm window? Solution: With the help from everyone I was able to create the following, simple script to change the Icon/Banner. #!/bin/csh printf "\033]2;$1\007" ! Icon printf "\033]1;$1\007" ! Window Banner Thanks to the following folks who responded to my question. Some responses were more elegant and some simple. All responses reaffirmed the correct escape sequences. Winner - lewis@dmi.stevens-tech.edu ! lucio@ifctr.mi.cnr.it ! Lucio Chiappetti henderson@unx.dec.com ! Paul Henderson Knut.Hellebo@nho.hydro.com ! Knut Helleb pas@unh.edu ! Paul A. Sand dwest@adagis.ada.epa.gov ! Dan West jwiebe@ptc.com ! John pirie@u.washington.edu ! Pirie Hart, Ph.D. Charles_Johnson@ncsu.edu ! Charles Johnson HalFlogel@madison.wpl.com ! Henry Flogel +--------------------------------------------------------------+ | Bruce Ferjulian Email: Ferjulian_Bruce@emc.com | | EMC Corporation Tel : (508)-435-1000,Ext-4091 | | 171 South Street Fax : (508)-497-8030 | | Hopkinton, MA 01748 Pager: | +--------------------------------------------------------------+