[Info-vax] Stupid question of the day, re: OpenVMS process names
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Fri Mar 13 11:40:50 EDT 2020
On 2020-03-13 15:28:26 +0000, osuvman50 at gmail.com said:
> On Friday, March 13, 2020 at 10:39:01 AM UTC-4, Stephen Hoffman wrote:
>> Others have answered the immediate question.
>>
>> Pragmatically, process names are best considered nice labels for the
>> SHOW SYSTEM display.
>>
>> Process names are something I'd avoid for most other uses.
>
> When logging in via a virtual terminal, I set my process name to a
> shorthand description of remote host and VT unit number (to make
> unique). This helps getting back to the right session when I have to
> reconnect. Otherwise, I'm left guessing which of 3 disconnected
> processes running TPU.EXE is the right one.
Check whether your terminal emulator supports or can be modified to
support the DECterm DECSWT (Set Window Title) and DECSIN (Set Icon
Name) sequences.
https://www.hoffmanlabs.com/vmsfaq/vmsfaq_018.html
$ esc[0,7] = 27
$ fulldevnam = F$Edit(F$GetDVI("TT","FULLDEVNAM"),"UPCASE,COLLAPSE")
$ write sys$output esc+ "]21;" + fulldevnam + esc + "\"
$ write sys$output esc+ "]2L;" + fulldevnam + esc + "\"
Again, process names are labels. Like the implementation of event flags
and the scaling and combination limits that are awaiting app developers
in less-trivial cases, process names have a few surprises waiting when
used in an application program for not-informational purposes.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list