Mailing List ecs-isp@2rosenthals.com Archived Message #1095

Fra: "Alfredo Fernández Díaz" <ecs-isp@2rosenthals.com> Full Headers
Undecoded message
Emne: Re: [eCS-ISP] VIO Font Size (Was: Re: Getting started with Let's Encrypt)
Dato: Wed, 11 Dec 2024 18:30:46 +0100
Til: eCS ISP Mailing List <ecs-isp@2rosenthals.com>

On 2024/12/11 11:21, Peter Moylan wrote:
On 11/12/24 11:46, Alfredo Fern�ndez D�az wrote:
On 2024/12/10 11:42, Peter Moylan wrote:
<snip>
Not really, there is a reason for everything. Apparently all code
dealing with VIO windows lives in PMVIOP.DLL, and the function that
handles the VIO default font size reads string #153 from that DLL to use
it as the key name. The string in question corresponds to the menu item
that invokes (surprise!) the dialog that lets you adjust VIO font size.
Naturally, the string is NLS-dependent, and complying with CUA, it ends
in '...' to signal that it will invoke a dialog, rather than execute
some action right away.

Interesting stuff. I wouldn't have guessed any of that.


Thanks. Took some work to elucidate back in the day ;)

In the end, I implemented a very simple solution. Here's the complete script.

/* Wrapper to set font size and then run accounts. */

CALL RxFuncAdd SysLoadFuncs, rexxutil, sysloadfuncs
CALL SysLoadFuncs
oldsize = SysIni("USER", "Shield", "~Font Size...")
rows = 22
cols = 12
newsize = D2C(cols)||D2C(rows)
result = SysINI( "USER", "Shield", "~Font Size...", newsize)
'start /C /WIN D:\accounts\accounts.exe'
result = SysINI( "USER", "Shield", "~Font Size...", oldsize)

I could have done something fancier if I put more time into it, but for now I
have higher-priority problems to look at.


Before I stopped using it, mine started pretty much like that.

I see. After some digging at the new Hobbes archive, a little GPL
utility called 'Console' turned up, that does just that: it will adjust
<snip>
similar. I seem to recall some old WPS enhancer also included another
command-line utility that could do it, more or less, but I forget which
one -- X-it, Nice, NPS...?

Thanks. I've saved that information to look at later when I have more time.


Happy to oblige ^^

Best,
AFD.




Abboner: Feed, Digest, Index.
Stopp abbonement
E-post til ListMaster