Page 2 of 2

Re: Implement command history

Posted: Wed Mar 13, 2024 4:10 pm
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.

Re: Implement command history

Posted: Wed Mar 13, 2024 4:13 pm
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

Re: Implement command history

Posted: Wed Mar 13, 2024 4:18 pm
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.

Re: Implement command history

Posted: Wed Mar 13, 2024 4:21 pm
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

Re: Implement command history

Posted: Wed Mar 13, 2024 4:31 pm
by t0nyt
Just tried it on Q-emuLator successfully so will give it a go on QL later

Many thanks

Re: Implement command history

Posted: Wed Mar 13, 2024 4:51 pm
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