[net.micro.att] Setting Window name on UNIX PC 7300???

michaelb@kepler.UUCP (Michael Brant) (11/25/85)

> Does anyone know how one can set the window name with 7300?
>			...
> ... when I use the window icon to determine what windows I have open
> all I get is the ambiguous: "unknown contents".

You can have your program set the window name with the TAM(3T) function
	int wuser(wn,cp)
	short wn;
	char *cp;
which writes the "user line" of the window.  The "user line" (char *cp)
is displayed by the wmgr process whenever it displays a list of windows.
Short wn is the window, i.e. stdscr or wncur for the current window, 
defined in tam.h.  You will need to link in -ltam and -ltermcap if you use
this function.

-- 
Michael Brant, MicroPro International Corporation
UUCP: {ptsfa,hplabs,glacier,lll-crg}!well!micropro!kepler!michaelb
                    {ucbvax, decwrl}!dual!micropro!kepler!michaelb
By phone: 415-499-4181