In message: <[EMAIL PROTECTED]>
Chris Green <[EMAIL PROTECTED]> writes:
>
>It seems amazingly unlikely! How many 'innocent applications' are
>there which one would run as root and which echo the contents of the
>title bar to the display? It's not the sort of thing one does by
>mistake really is it?
syslog, for one, if you have a root shell running inside an rxvt at
the time some maliciously-crafted message gets logged to console or
all users...
>Oh well, it's not actually much direct use to me anyway (getting the
>title bar that is) so it's all a bit irrelevant anyway.
>
>Does anyone have any other ways of uniquely identifying an rxvt window
>(from the point of view of the shell running in it) to make it easy to
>differentiate shell history files? This was my original reason for
>trying to use the window title but as you have to echo the escape
>sequence to the window/screen to get the title it's not (as I said)
>very useful.
>
>I know you can use process-id and such but that means that history
>from session to session is lost.
I think that you're working a bit backwards... you should be setting
the identity of the window from the shell, instead of trying to figure
out the identity of the window from the shell.
- Alex