Implement command history

Anything QL Software or Programming Related.
ones' complement
Over Heated PSU
Posts: 132
Joined: Tue Nov 30, 2021 1:19 am

Re: Implement command history

Post by ones' complement »

t0nyt wrote: Wed Mar 13, 2024 3:55 pm
ones' complement wrote: Wed Mar 13, 2024 3:45 pm LRESPR PTR_GEN first ?
I don't use the pointer environment or know anything about it (but Dilwyn's site says it can be used without PE), or is this just a utility please?

Many thanks
A quick look at the doc file shows PTR_GEN called first. IIRC it introduces a new CONsole driver which I guess History links into - I may be wrong.


User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Implement command history

Post by t0nyt »

ones' complement wrote: Wed Mar 13, 2024 4:10 pm
t0nyt wrote: Wed Mar 13, 2024 3:55 pm
ones' complement wrote: Wed Mar 13, 2024 3:45 pm LRESPR PTR_GEN first ?
I don't use the pointer environment or know anything about it (but Dilwyn's site says it can be used without PE), or is this just a utility please?

Many thanks
A quick look at the doc file shows PTR_GEN called first. IIRC it introduces a new CONsole driver which I guess History links into - I may be wrong.
Ok, thanks (I struggled reading the docs)

Will give it a miss as I'm not into the PE currently, maybe it's a project for me to work on

Many thanks


ones' complement
Over Heated PSU
Posts: 132
Joined: Tue Nov 30, 2021 1:19 am

Re: Implement command history

Post by ones' complement »

You don't really need to know anything to use PTR_GEN (just LRESPR it to make it resident). The only difference you'll probably see is it manages a jobs (aka program) windows, when you switch between jobs it neatly deals with restoring/saving screen contents.


User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Implement command history

Post by t0nyt »

ones' complement wrote: Wed Mar 13, 2024 4:18 pm You don't really need to know anything to use PTR_GEN (just LRESPR it to make it resident). The only difference you'll probably see is it manages a jobs (aka program) windows, when you switch between jobs it neatly deals with restoring/saving screen contents.
Ok, will take a look thanks


User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Implement command history

Post by t0nyt »

Just tried it on Q-emuLator successfully so will give it a go on QL later

Many thanks


User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Implement command history

Post by t0nyt »

ones' complement wrote: Wed Mar 13, 2024 4:18 pm You don't really need to know anything to use PTR_GEN (just LRESPR it to make it resident). The only difference you'll probably see is it manages a jobs (aka program) windows, when you switch between jobs it neatly deals with restoring/saving screen contents.
Works great on the real QL, thanks

Was concerned ptr_gen might eat a lot of resources but doesn’t seem to

Many thanks


Post Reply