Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I know this must have appeared here somewhere before but searching via the DECwindows Notes interface hasn't found it. Is it possible to change the Icon name for a DECterm from a .COM file run in that window? I can get it to do it out of the cutomization in the menu bar allright, but I want to run LAT and have it change the Icon name to "LAT." Any suggestions? David
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
679.1 | LESLIE::LESLIE | There is no final frontier | Wed Apr 26 1989 08:59 | 3 | |
You want SET_TITLE. Do a search for that string and you'll find a location no doubt. | |||||
679.2 | VISA::BIJAOUI | Tomorrow Never Knows | Wed Apr 26 1989 09:22 | 9 | |
... however, set_title needs the target window to have input focus. You'd better create the window with the right name _from the start_, using the \fabulous/ CHILD (according that you will be able to set plenty of other stuff, like the window size/position/title, the icon position, etc ...). Pierre. | |||||
679.3 | STAR::MFOLEY | Rebel without a Clue | Thu Apr 27 1989 01:27 | 10 | |
Do a DIR/ALL/AUTHOR=MFOLEY and you'll see a note or two from me on how to use CHILD to start up your windows with all the colors and sizes you want. Including LAT. mike | |||||
679.4 | BUNYIP::QUODLING | Apologies for what Doug Mulray said... | Thu Apr 27 1989 03:18 | 7 | |
Given Mikeys prolific noting prowess, and his dislike for titles. yu may have difficulty finding it. Try note 470.1. q | |||||
679.5 | Wrong Icon Names | HAYAMA::FENNELL | Tim Fennell - HPS CAD | Fri Nov 03 1989 10:25 | 25 |
I have a problem with icons that I can't explain. My workstation name is HAYAMA (Yamaha sort of...) and the icon for the session manager says "FENNELL on HAYAMA". All of my DECTERMs are coming up with "Session 1 - MEARA" in the DECTERM title bar and the icons are "1:MEARA". MEARA is a node in our cluster that I had connected to yesterday for the first time in a long time using VWSLAT. Forgive me if I give out any useless information, but I am at wits end... First I stopped the session and started it up again. Same result. Next I rebooted. Same result. Next I rebooted with a hard power down. Same result. I can't figure out where this icon title is coming from. Any help would be appreciated. Thanks. Tim | |||||
679.6 | HAYAMA::FENNELL | Tim Fennell - HPS CAD | Fri Nov 03 1989 10:46 | 15 | |
I have found the problem... Apparently something updated the icon name and title name fields in decw$terminal_defaults.dat. I changed the something in the DECTERM and saved a new .DAT file yesterday afternoon. I have deleted the file and the prolem is gone. I had checked for new .DAT files dated today as I was asked if I wanted to save changes before I shut down the session manager. The DECTERM .DAT file was changed yesterday afternoon, so I didn't see it. I am not sure how those fields got changed, but I suspect it has something to do with VWSLAT. Tim | |||||
679.7 | QUARK::LIONEL | Free advice is worth every cent | Fri Nov 03 1989 11:06 | 10 | |
This happened to me too, and I also blamed VWSLAT. But I had done it to myself. What you probably did was in a DECterm window do a Customize - Save Current Settings from a window with that icon name. It stores the icon name along with the rest of the settings, and thus gets used for all new terminal windows. Removing the line(s) in the DECW$TERMINAL_DEFAULT.DAT file is the way to go. Steve | |||||
679.8 | SMAUG::MENDEL | What've we done to our fair sister? | Fri Nov 03 1989 13:00 | 13 | |
Running VMS 5.1, SET_TITLE doesn't work from my LOGIN.COM, although it works from DCL. I'm setting the title of my current DECterm window. I narrowed it down to: SET_TITLE only works after you "click on" the DECterm window. If I'm fast, and I click on the window before the LOGIN.COM executes the SET_TITLE, it works okay. SET_TITLE seems so nice as part of the login procedure. Any workarounds, like upgrading VMS? Kevin | |||||
679.9 | Upgrade to VMS V5.3 | LARKAN::KRAL | Larry Kral N�AMP 592-5462 | Fri Nov 03 1989 15:01 | 4 |
If you upgrade to VMS V5.3 you will be able to use <ESC> sequences to change the ICON and and BANNER of DECterm windows. This will also work from LOGIN.COM. | |||||
679.10 | VANISH::BAILEY | SS$_end_of_tether | Fri Nov 03 1989 15:21 | 3 | |
679.11 | What are they? | DSTEG2::HOSSFELD | I'm so confused! | Mon Nov 06 1989 07:55 | 3 |
Do you have the esc sequences for the icon and title changes? Paul H. | |||||
679.12 | Title/icon OSC sequences | HANNAH::MESSENGER | Bob Messenger | Mon Nov 06 1989 12:13 | 12 |
Re: .11 To change the title to "foo": <ESC>O21;foo<ESC>\ where <ESC> is an escape (ASCII 27), and "O21" is a capital "O" followed by a "two" and a "one". To change the icon name to "bar": <ECS>O2L;bar<ESC>\. -- Bob | |||||
679.13 | LESLIE::LESLIE | Andy ��� Leslie | Mon Nov 06 1989 15:19 | 1 | |
Documented in the VMS 5.3 release notes... | |||||
679.14 | How do I get them to be seen? | TOOK::C_PEREZ | The InFAMous Eight | Thu Jan 04 1990 13:14 | 9 |
Ok, call me stupid if you want, but how do I get the <ESC> sequences in .12 to be recognized so I can change the Icon name? I've put them in a file and typed the file out, that did nothing except print the sequences on my DECterm. Am I missing something or do I have to direct the <ESC> sequences someplace other than the DECterm output? Thanks, Craig | |||||
679.15 | Forgot the ] in the sequence... | TOOK::C_PEREZ | The InFAMous Eight | Thu Jan 04 1990 15:48 | 6 |
Well I found the answer to my own question in note 492 of the DECTERM conference. I was indeed missing something... The sequence is <OSC>O21; which means you need <ESC>]O21; for the action to take place... Craig | |||||
679.16 | BLUMON::QUODLING | I'm Bob Vila... for 'This Old Vax' | Thu Jan 04 1990 18:03 | 14 | |
679.17 | a com file for all this | STAR::MFOLEY | Rebel Without a Clue | Fri Jan 05 1990 00:15 | 33 |
Here's a com file that allows you to change the icon and title bar and etc.. Works for VWS and DECwindows. "@comfile icon1" will change the icon. 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 | |||||
679.18 | Correction to the correction | NOON::MESSENGER | Bob Messenger | Fri Jan 05 1990 12:12 | 9 |
Re: .16 OSC is ESC ]. CSI is ESC [. If you have an ASCII table, the easy way to remember this is that both OSC and ] are in row 13, and both CSI and [ are in row 11. The general rule is: subtract 64 (4 columns in the table) from the 8 bit control character to get the second character in the 7 bit equivalent. -- Bob | |||||
679.19 | It doesn't work | ESSAY::FRASCINELLA | In the beginning was the Word... | Fri Jan 05 1990 14:18 | 19 |
Your command file didn't work for me. I extracted it and deleted the VWS code. I tried the following at the DCL prompt: @filename banner @filename banner "test title" @filename icon @filename icon "test title" Nothing happened. DCL simply returned another prompt, no errors. I switched from window to icon and back and nothing changed. I'm not a programmer and I'm new to DECwindows and feeling like I'm getting nothing but frustration from this interface. Can you explain why this doesn't work? Michael F. VMS V5.2 DECwindows V1 VAXstation 3100 | |||||
679.20 | Need VMS V5.3 or > | BLOCKP::neth | Craig Neth | Fri Jan 05 1990 15:21 | 4 |
RE: .19 The command file doesn't work because the OSC sequences are not supported by the DECTERM that comes with DECwindows V1. You need DW V2 to do them. | |||||
679.21 | TRNSAM::HOLT | Robert Holt ISV Atelier West | Wed Jan 17 1990 15:46 | 3 | |
I'd like to put my 2 cents in for adding escapes for pushing the DECterm window and setting focus... | |||||
679.22 | session | MAMIE::FEDORA | dangerous but inept | Wed Jun 20 1990 11:55 | 13 |
This has been bugging me for a while. Why on one system when I run VWSLAT and connect to some node, does the icon name say: 1:NODENAME and on another system (running the same things) say: SESSION 1 - NODENAME ? Both systems have: VMS V5.3 VWSLAT.EXE same date and block size CHILD.EXE same date and block size SYS$LOGIN:DECW$TERMINAL_DEFAULT.DAT same Where does the word SESSION come from? |