Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 Unisoft-Cosmos; site kepler.UUCP Path: utzoo!decvax!genrad!panda!talcott!harvard!cmcl2!seismo!lll-crg!well!micropro!kepler!michaelb From: michaelb@kepler.UUCP (Michael Brant) Newsgroups: net.micro.att Subject: Re: Setting Window name on UNIX PC 7300??? Message-ID: <374@kepler.UUCP> Date: Mon, 25-Nov-85 14:11:51 EST Article-I.D.: kepler.374 Posted: Mon Nov 25 14:11:51 1985 Date-Received: Tue, 26-Nov-85 23:54:28 EST Distribution: na Organization: MicroPro Int'l Corp., San Rafael, CA Lines: 20 > 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