[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: screen (as in program screen) question

On Tue, Aug 14, 2001 at 04:28:05PM -0700, Henry House wrote:
> When I run screen in an xterm, it sets the title of the xterm to 'screen'.
> Does anyone know how to set the title of the xterm to somthing like 'screen:
> %s' where %s in the session name?


and to answer your next question as well, here's a not-so-random
signature tip from my growing collection... see below.

to test it, try

	$ echo "\e]0;Here We Go^V^Ga-carolling"

and your xterm/rxvt title bar will now be entitled "Here We Go"
(unless it's overwritten by another instance, such as a command
prompt as mentioned below)...

DEBIAN NEWBIE TIP #28 from Will Trillich <will@serensoft.com>
Would you like to have rxvt show you useful information in the
TITLE BAR of its X window? For example, to see your "present
working directory" in the title bar, include this in your bash
command prompt string:
	export PS1="\e]0;\w^G\u@\h$ "
Anything between the "\e]0;" and the control-G will be displayed
as the title of the rxvt window. (In editors, you may need to
precede the ^G with ^V.)

Also see http://newbieDoc.sourceForge.net/ ...

Reply to: