Giter VIP home page Giter VIP logo

push's Introduction

push

The Petite Un*x Shell.

push-c64

About

push is a very small, yet feature rich shell for embedded systems. It is built on top of a stripped down version of the linenoise line editing library.

push thus inherits TAB completion, history and hints (suggestions at the right of the prompt as you type) while providiing rich line editing features like cursor movment, inserting text at the current cursor position, jumping to the first (HOME) or last (END) position of the input buffer, deleting the last word and more.

Platforms

push is intended to be cross platform. Currently it builds on GNU/Linux (gcc) for easy testing and development, and can be cross compiled for:

While it builds successfully for all those target platforms, it is only really working well on Linux and C64 (and most recently on ZX-Spectrum). The main reason is lacking/broken support for some features from the C runtime libraries on some platforms, most important CONIO and heap management. Hopefully over time the toolchains will provide those APIs.

Disclaimer

Please keep in mind, that push, at its current state, is an experiment (proof-of-concept) and not of much practical use. Nevertheless it is fun to see the test command do its work, so give it a shot.

Compilation

You need the toolchain you want to build with installed parallel to the push source like this:

cc65/  kickc/  push/  z88dk/

The Makefile in ./push/src contains various targets for compiling and testing:

  • make (build linux binary)
  • make c64 (build C64 prg)
  • make m65 (build MEGA65 prg)
  • make zx (build zx spectrum tap)
  • make zx64 (build zx spectrum tap with 64 columns)
  • make zxn (build spectrum next tap)
  • make c64emu (start prg in vice)
  • make m65emu (start prg in xemu)
  • make zxemu (start tap in zesarux)
  • make zx64emu (start 64 columns tap in zesarux)

Screenshots

C64

C64-1 C64-2 C64-4

Linux

push-linux

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

push's People

Contributors

everslick avatar polluks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

polluks

push's Issues

Atari port

It works out-of-the-box but Atari's enter key is 155, so you have to type ^M
Bildschirmfoto 2021-04-15 um 14 25 04

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.