[comp.windows.x] XTerm bug?

rhoward@msd.gatech.edu (Robert L. Howard) (07/19/90)

Is this a known bug in xterm (or perhaps unknown) or am I just reading
the man page incorrectly? It says:

     -n string
             This option specifies the icon name for xterm's win-
             dows.   It  is  shorthand for specifying the "*icon-
             Name" resource.  Note that this is not the  same  as
             the  toolkit  option -name (see below).  The default
             icon name is the application name.

When I use this to name the icon it also changes the name in the 
title bar (which should be handled by the -title option).  I 
assumed that these were mutually exclusive.

Example:

	xterm -n Boo

Info:  X11r4
       SunOS 4.1
       olwm

Thanks
Robert

| Robert L. Howard             |    Georgia Tech Research Institute     |
| rhoward@msd.gatech.edu       |    MATD Laboratory                     |
| (404) 528-7165               |    Atlanta, Georgia  30332             |
|     UUCP:   ...!{allegra,amd,hplabs,ut-ngp}!gatech!msd!rhoward        |

hallamw@antarctica.crd.ge.com (William J Hallam) (07/19/90)

I tried specifying an icon name like so:

xterm -n xterm-1

and the title also came up xterm-1.

However, if you use the -title flag to specify a different title, 
it works.  Do they not mention the default title in the man page?

--
<======================================================================>
<   Will Hallam                  hallamw@ceres.crd.ge.com              >
<                                hallamw@hope.its.rpi.edu              >
<                                will_hallam@mts.rpi.edu               >
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<>>>>
<		GE CRD---Schenectady, NY                               >
<                                                                      >
<"The material contained within is the sole product of my own opinions">
///////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

rhoward@msd.gatech.edu (Robert L. Howard) (07/19/90)

In article <9930@crdgw1.crd.ge.com> hallamw@antarctica.crd.ge.com (William J Hallam) writes:
>I tried specifying an icon name like so:
>
>xterm -n xterm-1
>
>and the title also came up xterm-1.
>
>However, if you use the -title flag to specify a different title, 
>it works.  Do they not mention the default title in the man page?

It doesn't seem like you should have to use -title to set the title
bar back to what it should have been if you hadn't tried to change
the *icon* title (-n).

There is also some weird interaction with -title and the -e option.
Try all of the following and see if they behave as you'd _expect_.

	xterm -title Boo
	xterm -e /bin/csh
	xterm -title Boo -e /bin/csh

Again:	X11r4
	SunOS 4.1
	olwm

Thanks
Robert
--
| Robert L. Howard             |    Georgia Tech Research Institute     |
| rhoward@msd.gatech.edu       |    MATD Laboratory                     |
| (404) 528-7165               |    Atlanta, Georgia  30332             |
|     UUCP:   ...!{allegra,amd,hplabs,ut-ngp}!gatech!msd!rhoward        |