GithubHelp home page GithubHelp logo

haoict / simpleterminal Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 5.0 1.81 MB

Simple Virtual Terminal- updated for Anbernic RG35XX-Plus/H, TrimUI Smart Pro

License: MIT License

Makefile 2.14% Shell 0.86% C 96.99%
rg35xx-plus anbernic virtual-terminal rg35xx-h-

simpleterminal's Introduction

st - simple terminal

How to install:

RG35XX-Plus/H

  • Extract the downloaded zip file
  • Copy the files to "Roms/APPS/" folder

TRIMUI Smart Pro

  • Download the .zip file and extract to the SDCARD Apps folder: Apps\SimpleTerminal[files]

How to run:

  • From your device main menu -> RA Game -> APPS -> SimpleTerminal (or SimpleTerminal-HighRes)

Image1

Image2

Image3

Image1-TrimuiSP


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

Modified to run on RS-97. => line doubling to deal with the 320x480 resolution => TTF fonts replaced by embedded pixel font (from TIC-80) => onscreen keyboard (see keyboard.c for button bindings)

Keys:

  • pad: select key
  • A: press key
  • B: toggles key (useful for shift/ctrl...)
  • L: is shift
  • R: is backspace
  • Y: change keyboard location (top/bottom)
  • X: show / hide keyboard
  • SELECT: quit

Requirements

In order to build st you need the Xlib header files.

Build

For generic linux:

make

For RG35XX Plus:

./build-rg35xxplus.sh
(or run inside rg35xxplus-toolchain docker container: UNION_PLATFORM=rg35xxplus make)

For generic linux (with bigger window size)

UNION_PLATFORM=upscale make

Running st

./build/SimpleTerminal

Run with High resolution HIGH_RES=1 ./build/SimpleTerminal

If you don't install st, define TNAME to "xterm" in config.h or make sure to at least compile st terminfo entry with the following command:

tic -s st.info

It should print the path of the compiled terminfo entry. You can safely remove it if you don't plan to use st anymore. See the man page for additional details.

Credits

Based on Aurélien APTEL bt source code.

And https://github.com/jamesofarrell/st-sdl

simpleterminal's People

Contributors

eltociear avatar haoict avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

simpleterminal's Issues

Different font options

Can we get a build with a different font (consoles) or better yet a folder in which we can drop any font we want?

Don´t working on RG35XX H

Congratulations by the app. It opens, but don´t accept any command. I've tested on last stock firmare version, RG35XXH-V1.1.4-EN16GB-240626.

How bild for trimuisp

What are the settings in config.h?
Which makefiles to include?
I experimented until a black screen started loading instead of mainui.

I want to build with the static char shell[] option = "/bin/bash --login "; and terminusTTF-bold font.

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.