QPack2 Exec Menu

Anything QL Software or Programming Related.
User avatar
ql_freak
Super Gold Card
Posts: 543
Joined: Sun Jan 18, 2015 1:29 am

QPack2 Exec Menu

Post by ql_freak »

On QPC2 I have SBASIC as an entry in my Exec menu (a button in the Button Frame), on Minerva not. Therefore I have UPN2 (the famous UPN calculator from R(Alf) Biedermann) in the Exec menu (which is not in QPC2).

Can the EXEC menu be adjusted by the user or does it just list all executable Things?

And if yes, why is UPN2 not listed in the Exec menu on QPC2? It's the same executable on both systems.

BTW: The version from Dilwyns page seems to be faulty, it outputs "The stack is full" for even the simplest expressions. I will have a look at my floppies, if I can find a working version.

EDIT: things->Things


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
BSJR
Trump Card
Posts: 225
Joined: Sun Oct 18, 2015 12:53 pm
Location: Amsterdam
Contact:

Re: QPack2 Exec Menu

Post by BSJR »

ql_freak wrote: Wed Jul 09, 2025 12:08 am Can the EXEC menu be adjusted by the user or does it just list all executable Things?
It's not anautomatic job. You need some BOOT lines with HOT_THING to add your jobs to the list.
Check the QPAC2 manual.

BSJR


User avatar
ql_freak
Super Gold Card
Posts: 543
Joined: Sun Jan 18, 2015 1:29 am

Re: QPack2 Exec Menu

Post by ql_freak »

Thank You! I have now examined my boot program on sQLux/UQLX and QPC2 (it's so large, and I have written it long ago, that I don't know all I have done). In sQLUx I have used HOT_CHP1("c","upn") to put it on the hotkey 'c'. I have now added this to the QPC2 boot program and now UPN is also in the EXEC menu.

Is there a command, where you can load an executable program as an executable Thing WITHOUT defining a hotkey (as 'c' in the example for UPN), so that it's only listed in the Exec menu, but there is no hotkey defined for it. Or is there another program, which lists all executable things. I. e. I want something like the start menu of Windows, which lists all programs available.


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
ql_freak
Super Gold Card
Posts: 543
Joined: Sun Jan 18, 2015 1:29 am

Re: QPack2 Exec Menu

Post by ql_freak »

Because of the UPN problem mentioned in the starting thread: It seems the problem is with sQLux. On QPC2 UPN seems to be okay, i.e.

Code: Select all

4 3*
results in 12 (on sQLux I get "Der Stack ist voll !" [the stack is full])


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
XorA
Site Admin
Posts: 1667
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QPack2 Exec Menu

Post by XorA »

ql_freak wrote:Because of the UPN problem mentioned in the starting thread: It seems the problem is with sQLux. On QPC2 UPN seems to be okay, i.e.

Code: Select all

4 3*
results in 12 (on sQLux I get "Der Stack ist voll !" [the stack is full])
Sounds like the problem is the completely different OS your using not the emulator.


User avatar
ql_freak
Super Gold Card
Posts: 543
Joined: Sun Jan 18, 2015 1:29 am

Re: QPack2 Exec Menu

Post by ql_freak »

 
I do not use a "completely different OS":

Code: Select all

PRINT#0,VER$!VER$(1)
JSL1 1.98


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
XorA
Site Admin
Posts: 1667
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QPack2 Exec Menu

Post by XorA »

ql_freak wrote: Thu Jul 10, 2025 10:14 pm  
I do not use a "completely different OS":

Code: Select all

PRINT#0,VER$!VER$(1)
JSL1 1.98
QPC2 is smsq/e only isnt it? Thats utterly different than the OS you are using in sQLux!


User avatar
ql_freak
Super Gold Card
Posts: 543
Joined: Sun Jan 18, 2015 1:29 am

Re: QPack2 Exec Menu

Post by ql_freak »

I'm not very good in English (language). You have meant:

The problem must be in Minerva, not in sQLux (we will see, I will try it in UQLX) but in Minerva.

What I (German) have understood when I have read your message:

This is because you are using a (completely) exotic operating system.

Well that's easy to test. I have a lot of (all working) versions of UPN (my favourite calculator for the QL and the role model for my Coca) on my floppy disks. I will try other versions. If all are running on QPC2 and none on sQLux, it seems to be a problem with sQLux.

p.s.: Have finally succeeded to start uQLx on my Windows 10. The same problem: "Der Stack ist voll !". So it seems to be a problem with Minerva 1.98 (I have had running UPN with prior versions of Minerva successfully).


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
Derek_Stewart
Font of All Knowledge
Posts: 4796
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: QPack2 Exec Menu

Post by Derek_Stewart »

Hi,

To remove a Hokey and leave the Thing present, use: ERT HOT_REMV (<key>)

Where <key> is the definition of the HOTKEY setup with on boot up to load the application as a Thing, which when the ALT <key> is removed, the Thing can be loaded with EXEP

I had to look in my printed copy of the QPAC2 manual, as the scanned manuals look different and do not detail enough to use the HOTKEY system.


Regards, Derek
User avatar
pjw
QL Wafer Drive
Posts: 1629
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QPack2 Exec Menu

Post by pjw »

Derek_Stewart wrote: Fri Jul 11, 2025 7:24 am <>
To remove a Hokey and leave the Thing present, use: ERT HOT_REMV (<key>)

Where <key> is the definition of the HOTKEY setup with on boot up to load the application as a Thing, which when the ALT <key> is removed, the Thing can be loaded with EXEP
<>
But note: To do that you have to load the Thing with one of the HOT_RES variants. That makes the Thing permanent and HOT_REMV only removes the key association. If you use HOT_CHP etc, HOT_REMV removes the whole Thing and releases the memory used in addition to the key association.


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
Post Reply