|
From: Ethan M. <merritt@u.washington.edu> - 2006-04-26 20:29:34
|
On Wednesday 26 April 2006 01:15 pm, you wrote: > > For example, the first instance of gnuplot would have the prompt > "gnuplot>", and the window would be entitled "gnuplot", a second instance > could have the prompt "gnuplot(2)>", and the window would be entitled > "gnuplot(2)", etc. That's a window-naming policy, and can already be done in KDE. In fact I think it defaults to that. For instance, when I open new terminal windows they receive banner titles "Xterm <2>" "Xterm <3>" and so on. Anyhow gnuplot already allows you to specify a window title, so all that's wanting is a way to change the prompt. myname = "Foo" set term x11 title myname set prompt myname."> " > Many programs I know are able to recognize if an instance is already > running. Probably safer to let the application do the naming. Pure numbers are not the most informative identifiers. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |