|
Escape sequences would allow you to change the title of
DECterms in VMS 5.3 / DECW V2 without having input focus..
(Many, MANY thanks to Bob Messenger and Co. for that one!)
This command procedure has some stuff for you to use..
mike
$ OSC[0,8] = 157
$ ST[0,8] = 156
$ Echo = "Write Sys$Output "
$!
$ If P1 .eqs. "ICON" then Echo OSC,"2L;",P2,ST
$ If P1 .eqs. "ICON1" then Echo OSC,"2L;",F$GetSYI("NodeName"),ST
$ If P1 .eqs. "BANNER" then Echo OSC,"21;",P2,ST
$ If P1 .eqs. "BANNER2" then Echo OSC,"21;Node: ", F$GetSYI("NodeName")," �",F$GetJPI("","PRCNAM"),"� (",F$GetJPI("","PID"),")",ST
$ If P1 .eqs. "BANNER3" then Echo OSC,"21;",F$GetSYI("NodeName"),"::",F$ENVIROMENT("DEFAULT"),""," (",F$GetJPI("","PRCNAM"),")",ST
$ If P1 .eqs. "BANNER4" then Echo OSC,"21;",F$GetSYI("NodeName"),"::",F$ENVIROMENT("DEFAULT"),"",ST
$!
$!---------------------------VWS Only-----------------------------------------
$!
$ If P1 .eqs. "SHRINKX" then Echo OSC,"22;",P2,";",P3,ST
$ If P1 .eqs. "SHRINK" then Echo OSC,"22;",P2,";",P3,ST
$ If P1 .eqs. "EXPAND" then Echo OSC,"23;",P2,";",P3,ST
$ If P1 .eqs. "MOVE_TERM" then Echo OSC,"24;",P2,ST
$ If P1 .eqs. "MOVE_ICON" then Echo OSC,"25;",P2,ST
$ If P1 .eqs. "PUSH" then Echo OSC,"29",ST
$ If P1 .eqs. "POP" then Echo OSC,"2A",ST
$ If P1 .eqs. "FONT" then Echo OSC,"2f;",P2,";",P3,";",P4,ST
$!----------------------------------------------------------------------------
$ Exit
|