Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

polyzium

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by polyzium

  1. Heh, I was very pissed off how OpenOS handles control characters, especially if some programs use carriage return for a loading bar, like pip
    I guess I was right that someone from OC team tried to support all line endings at once. Would it be a good idea to add a command that switches the CR+LF method? Something like "linemode lf"?
    About backspace. I suspect it was never implemented because there was no use for it in OpenOS. But yeah for a  thing like my terminal program it should have been.


    Also yeah, these improved libraries are from some old OpenOS installation, I bet you've been changing those for the past 2 months, I'll have to check these changes out.
    Since you said it would be a problem to modify these system components in the next release, I guess it would be a good idea to merge them. All I did is I fixed the reverse video bug, added backspace, replaced CRLF with the Linux/UNIX one, however I don't know what are you going to do with Windows' CRLF and Mac's CR though... also ignored SI.

    I also would like to check out the improved VT100 code

    I have no idea how would you make the cursor appear, however Techokami made a telnet client (which is more like a TCP netcat than anything else) that made the cursor appear and yet at the same time receives data from the server. Mine uses direct keyboard input when his/her client uses the read function, so that will be a hassle if you use the keyboard directly.
     

     

     

     

  2. This is the project I was working on 2 months ago or so.
    I couldn't find a real shell client for OC, so I had to create one by myself.

    That's how NGSH was born.

    Contributions and pull requests are welcome

    There are two versions:
    The first one uses the Python pyte library for terminal emulation, but it is very slow (it redraws everything) and has no colour support.
    The second one (I called it PTY) takes advantage of OpenOS's VT100 library, which is fast and has colour, but very broken and inaccurate due to missing checks and/or escape sequences.

    I may get back to serverside emulation at some point, because OC isn't fast enough for VT100 emulation.

    For instructions see my GitLab repository (make sure to download the PTY version)
    Before you run the client, make sure to install my improved terminal libraries for proper emulation of \r, \b, and inverse video, like so:

    pastebin run rs0QiTHp

    Screenshots:
    CopyQ.rmbuoS.thumb.png.50279f4e561ad0398a7e2db2d59169c8.png
    CopyQ.CdgkOg.thumb.png.f9163412665041d353aa5752068a13fd.png
    CopyQ.OKEriz.png.1afc1a7720cd1cb615213cd4dfd660c9.png

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.