Git Product home page Git Product logo

Comments (10)

jason-green-io avatar jason-green-io commented on August 25, 2024

522c99d1-ed0e-4b70-a8bb-de58378c2cb3
55807318-d79a-4389-8fae-3508afdae8f5

Fixing the encoding issues would be great. It'd be even better if you can get the UTF-8 data and supplement Tom-thumb with some glyphs for line drawing or some of the block glyphs in Unicode. It would allow for printing of qrcodes along side text data within the 20x62 of the 2n13. Super useful for 2fa uses.

from papertty.

joukos avatar joukos commented on August 25, 2024

Neat idea with the QR codes. Adding 3 block glyphs doesn't sound like too much work, so it could probably be done with decent font editing skills - that I lack for now :)

from papertty.

jason-green-io avatar jason-green-io commented on August 25, 2024

from papertty.

joukos avatar joukos commented on August 25, 2024

Oh, one problem with those could be that they might not work when reading the virtual console via vcsa... since it doesn't store the original unicode, the glyphs would need to represent a value below 512 (and even then, reading the 9th bit requires an ioctl that the code doesn't do at the moment), so it's a bit tricky.

If pseudo TTY support was added first, this should be easier (it's a feature that's missing anyway). That or waiting for the kernel to have /dev/vcsu*...

from papertty.

joukos avatar joukos commented on August 25, 2024

Issue for pty here: #16

from papertty.

joukos avatar joukos commented on August 25, 2024

By the way, would qrencode -t ASCIIi yield a readable code?

from papertty.

jason-green-io avatar jason-green-io commented on August 25, 2024

There aren't enough lines with Tom Thumb to show the full QR code. Needs 21 lines, there are 20 - 1 for tmux. BUT!

This font is one pixel taller but supports more graphical glyphs: https://github.com/josuah/miniwi

Converts well with pilfont.. just need those code points ;)

from papertty.

joukos avatar joukos commented on August 25, 2024

Nice find!

from papertty.

joukos avatar joukos commented on August 25, 2024

Now that the kernel (since 4.19 or so) includes the vcsu device, Unicode support is currently being implemented in #45 - this issue will be closed when it's done.

from papertty.

joukos avatar joukos commented on August 25, 2024

#45 was merged and likely fixes this nicely, so closing this issue.

from papertty.

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.