Giter Site home page Giter Site logo

Comments (5)

dbalsom avatar dbalsom commented on May 23, 2024 1

I do not currently have clipboard integration on any platform, although it is planned.

I do not plan to support selecting text directly from the emulated display. I will likely add a debug window that will show a text representation of video memory for the current screen where you could copy the characters from.

from martypc.

darvin avatar darvin commented on May 23, 2024

I do not currently have clipboard integration on any platform, although it is planned.

id like to implement it - with your design if you'll share the details

I do not plan to support selecting text directly from the emulated display.

it is supported by Turbo Pascal and by Norton Commander - their internal text selection

I will likely add a debug window that will show a text representation of video memory for the current screen where you could copy the characters from.

oh that's great! that would allow to skip OCR altogether and just do heuristics for selection

from martypc.

dbalsom avatar dbalsom commented on May 23, 2024

I do not currently have clipboard integration on any platform, although it is planned.

id like to implement it - with your design if you'll share the details

egui has a clipboard integration feature, I just need to enable it

it is supported by Turbo Pascal and by Norton Commander - their internal text selection

I'm sure you can select text in various dos programs, but there's no standard dos 'clipboard' so if you copy text in turbo pascal it likely gets copied to memory in a completely different location than if you copied text in Norton commander. I would have to add a bunch of hacks for each program to access each program's clipboard, and it could even vary from version to version, just doesn't seem practical. I think the video memory viewer is a more universally 'useful' option. I could also implement LPT to clipboard so you could copy printer output, on printscreen, for example

oh that's great! that would allow to skip OCR altogether and just do heuristics for selection

yeah there's no real need to do OCR, in text mode , the characters are in memory, they're just turned into pixels. If you really wanted to make a text selection mode, you could, you'd just need to detect you're in text mode and calculate the right screen offsets based on CRTC registers and then you could map the mouse cursor to character cell. I just think a special window is a bit easier to implement.

from martypc.

dbalsom avatar dbalsom commented on May 23, 2024

The clipboard has been enabled in branch 0.1.3

from martypc.

dbalsom avatar dbalsom commented on May 23, 2024

took me a while to get around to this, but there's now a text mode viewer you can copy text out of
image

from martypc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.