From: Micah Cowan Date: Tue, 24 Feb 2009 05:18:03 +0000 (-0800) Subject: $STY still reflects the old session name, but only in existing shells. X-Git-Url: https://repo.or.cz/w/screen-lua.git/commitdiff_plain/476039279dcd62c8759b8b15709371d77a85d380 $STY still reflects the old session name, but only in existing shells. --- diff --git a/src/doc/screen.1 b/src/doc/screen.1 index ec695e7..54ae2d2 100644 --- a/src/doc/screen.1 +++ b/src/doc/screen.1 @@ -2626,7 +2626,8 @@ latter is useful if used with screen's \*Q-X\*U option. Rename the current session. Note, that for \*Qscreen -list\*U the name shows up with the process-id prepended. If the argument \*Qname\*U is omitted, the name of this session is displayed. Caution: The $STY -environment variables still reflects the old name. This may result in +environment variables will still reflect the old name in pre-existing +shells. This may result in confusion. The default is constructed from the tty and host names. .sp diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo index 2c60317..1e02c87 100644 --- a/src/doc/screen.texinfo +++ b/src/doc/screen.texinfo @@ -1758,7 +1758,8 @@ Rename the current session. Note that for @code{screen -list} the name shows up with the process-id prepended. If the argument @var{name} is omitted, the name of this session is displayed.@* @emph{Caution}: The @code{$STY} -environment variable still reflects the old name. This may result in +environment variable will still reflect the old name in pre-existing +shells. This may result in confusion. The default is constructed from the tty and host names. @end deffn