I think uqlx supports paste as emulated key presses. I really don't know what sqlux should do with a paste event.tofro wrote:I'm not so sure: One of the advantages of having switched to SDL2 ist that there is multi-platform support for the system clipboard and drag&drop. It shouldn't be a monster task to implement this.
My "from PACKAGE import *" (Python) simulation project (reflection)
- XorA
- Site Admin
- Posts: 1668
- Joined: Thu Jun 02, 2011 11:31 am
- Location: Shotts, North Lanarkshire, Scotland, UK
Re: My
Re: My
Well, the "proper" way to handle paste would probably be to put the stuff pasted into the scratch. But that would assume the scratch Thing is present and active on the QL side, which is probably a bit much asked in terms of insight into the guest - I think, I'd simply just inject the key presses with a bit of appropriate delay in-between. "Copy" (from guest to host) is likely much harder to implement.XorA wrote: Tue Jul 15, 2025 9:18 amI think uqlx supports paste as emulated key presses. I really don't know what sqlux should do with a paste event.tofro wrote:I'm not so sure: One of the advantages of having switched to SDL2 ist that there is multi-platform support for the system clipboard and drag&drop. It shouldn't be a monster task to implement this.RalfR wrote: Tue Jul 15, 2025 8:53 am Ideally, sqLux should support both the Unix/Linux clipboard and the Windows clipboard. I doubt XorA will ever implement this.
![]()
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
-
- Aurora
- Posts: 900
- Joined: Mon Nov 24, 2014 2:03 pm
Re: My "from PACKAGE import *" (Python) simulation project (reflection)
Hi Folks,
Just been reading the entire thread about merging many basic modules into one program.
I do this sort of thing a lot, but by hand... it's quite quick ! (To get the highest line number LIST or ED 32767 is instantaneos).
First, RENUMber copies of ALL programs to be merged at 25000,1, and save them as say ProgName_mrg1_bas. or 2, 3, etc.
Then Load progname_mrg1_bas, and renumber it 1,1: Then MERGE progname_mrg2_bas and renum 1,1: etc, etc.
Finally RENUM the lot as 100,10 so as to be able to insert lines. (All RESTORES, GOTOs, GOSUBs catered for).
Obviously, the assembled Basic program can be added to at will by the same technique. or have obsolete modules DLINED !
The biggest headache can come from name-table clashes, but here SMSQ/E is great as it supports numerous Locals per FN !
As always, I try to adopt the old programming adage 'KISS', (Keep it simple stupid). Steve.( No offence meant ! ).
Just been reading the entire thread about merging many basic modules into one program.
I do this sort of thing a lot, but by hand... it's quite quick ! (To get the highest line number LIST or ED 32767 is instantaneos).
First, RENUMber copies of ALL programs to be merged at 25000,1, and save them as say ProgName_mrg1_bas. or 2, 3, etc.
Then Load progname_mrg1_bas, and renumber it 1,1: Then MERGE progname_mrg2_bas and renum 1,1: etc, etc.
Finally RENUM the lot as 100,10 so as to be able to insert lines. (All RESTORES, GOTOs, GOSUBs catered for).
Obviously, the assembled Basic program can be added to at will by the same technique. or have obsolete modules DLINED !
The biggest headache can come from name-table clashes, but here SMSQ/E is great as it supports numerous Locals per FN !
As always, I try to adopt the old programming adage 'KISS', (Keep it simple stupid). Steve.( No offence meant ! ).