SOLUTION: Changing X11 icons & border text.

From: Bruce Ferjulian <Ferjulian_Bruce_at_emc.com>
Date: Mon, 23 Jun 1997 15:04:02 -0400

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_at_dmi.stevens-tech.edu !

           lucio_at_ifctr.mi.cnr.it ! Lucio Chiappetti
           henderson_at_unx.dec.com ! Paul Henderson
           Knut.Hellebo_at_nho.hydro.com ! Knut Helleb
           pas_at_unh.edu ! Paul A. Sand
           dwest_at_adagis.ada.epa.gov ! Dan West
           jwiebe_at_ptc.com ! John
           pirie_at_u.washington.edu ! Pirie Hart, Ph.D.
           Charles_Johnson_at_ncsu.edu ! Charles Johnson
           HalFlogel_at_madison.wpl.com ! Henry Flogel
        

+--------------------------------------------------------------+
| Bruce Ferjulian Email: Ferjulian_Bruce_at_emc.com |
| EMC Corporation Tel : (508)-435-1000,Ext-4091 |
| 171 South Street Fax : (508)-497-8030 |
| Hopkinton, MA 01748 Pager: |
+--------------------------------------------------------------+
Received on Mon Jun 23 1997 - 21:19:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT