Giter VIP home page Giter VIP logo

miyoo_st-sdl's Introduction

st - simple terminal

st is a simple virtual terminal emulator for X which sucks less.

Modified to run on Miyoo/Bittboy devices.
=> TTF fonts replaced by embedded pixel font (from TIC-80)
=> onscreen keyboard (see keyboard.c for button bindings)

Keys for MiyooCFW 2.0:

  • pad: select key
  • A: press key
  • Y: toggles key (useful for shift/ctrl...)
  • L1: is shift
  • R1: is backspace
  • X: change keyboard location (top/bottom)
  • B: show / hide keyboard
  • START: is enter
  • SELECT: is tab
  • RESET: exits the terminal
  • L2: left on command line
  • R2: right on command line
  • L3: up on command line
  • R3: down command line
  • hodl L1+R1: display HELP screen

Requirements

In order to build st you need the Xlib header files & libsdl1.2dev. Also, you'll need a working SDK build, grab one here: https://github.com/MiyooCFW/buildroot/

Installation

Compile it using make -f Makefile.miyoo or grab a compiled version from the releases tab

Running st

Just launch it from your device's applications section

Issues

There is no SCROLL_UP or SCROLL_DOWN event trigger in current st-sdl source, as well as in upstream st vanilla code. The latter code should be patched with scrollback.diff, from one of patch iterations (see https://st.suckless.org/patches/scrollback/)

Credits

Based on Aurélien APTEL source code.
Based on code made by Benob

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.