You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A long-standing bug in Mac BeebEm (which is also present in Win BeebEm): if you copy some text in any macOS app (other than BeebEm) and then paste that text into BeebEm using either Command-V or the Edit->Paste menu item, the text is pasted but a spurious carriage-return (or newline) is prepended to it, so you get an extra blank line at the beginning of the pasted text in BeebEm when you didn’t want or expect one!
This makes it a bit tricky to, e.g., prepare EXEC files in TextEdit for pasting into a *BUILD dialogue. (You have to type *BUILD !BOOT and then not press Return -- but press Command-V immediately instead! That’s to prevent BeebEm from inserting a blank line at the beginning of the EXEC file.)
I don’t know if this is a bug or feature. The emulator explicitly presses the return key to generate the first key interrupt to start processing the clipboard data. Without the emulator pressing some key, the data in the clipboard can’t get processed. I have tried using non destructive keys like shift or control but these don’t work. Backspace would work as long as you are on the beginning of a line when you paste. Don’t know what else can be done.
Can’t the emulator press the key that corresponds to the first character of the text that’s on the clipboard, waiting to be pasted?
Failing that, I think that Backspace is preferable to Return. Then you’d be able to paste text in the middle of a line (in certain editor-type programs) in BeebEm (albeit once you’d remembered to add an extra space just before the insertion point), which you currently can’t do. The Backspace solution would also allow you to type *BUILD !BOOT and then paste in the text of the EXEC file.
Minor nitpick: the way that the above comment has been formatted makes it look like the sentence beginning "Can't the emulator..." is part of g7jjf's comment, but it's not: it's part of my comment.
(I.e. it's me who's suggesting that the emulator should press the key corresponding to the first char in the to-be-pasted text.)
Originally reported by @lurkio
A long-standing bug in Mac BeebEm (which is also present in Win BeebEm): if you copy some text in any macOS app (other than BeebEm) and then paste that text into BeebEm using either Command-V or the Edit->Paste menu item, the text is pasted but a spurious carriage-return (or newline) is prepended to it, so you get an extra blank line at the beginning of the pasted text in BeebEm when you didn’t want or expect one!
This makes it a bit tricky to, e.g., prepare EXEC files in TextEdit for pasting into a *BUILD dialogue. (You have to type *BUILD !BOOT and then not press Return -- but press Command-V immediately instead! That’s to prevent BeebEm from inserting a blank line at the beginning of the EXEC file.)
@g7jjf wrote:
Can’t the emulator press the key that corresponds to the first character of the text that’s on the clipboard, waiting to be pasted?
Failing that, I think that Backspace is preferable to Return. Then you’d be able to paste text in the middle of a line (in certain editor-type programs) in BeebEm (albeit once you’d remembered to add an extra space just before the insertion point), which you currently can’t do. The Backspace solution would also allow you to type *BUILD !BOOT and then paste in the text of the EXEC file.
https://stardot.org.uk/forums/viewtopic.php?f=4&t=12961&start=30#p169733
The text was updated successfully, but these errors were encountered: