I have finally managed to get a basic terminal starting to work.
In it's current state, it's not that useful, as it does not yet support any of the ANSI control characters.
It can be used to run simple commands and get output. For example: ls, pwd, date, uname, ifconfig, etc.
Currently, to get the program to cleanly exit:
1 - Type "exit" at bash.
2 - touch the top right corner of the screen.
Once more of the basic features are implemented, I'll package it up to be run with from a menu, or maybe run as ";term" from the search bar or something. For now, I've been starting it via USB ssh.
- Plain text entry (including upper case / symbols with the shift key)
- Plain text output
- Runs /bin/sh
Not yet working:
- ANSI / VT-100 control characters
- Backspace, delete, tab, etc.
- Bugs in scrolling
- Modifier keys other than shift
- Arrow keys
Features I'd add once the basics are fixed:
- Text-size option
- Terminal window size option (80x24 looks kinda small at the top of the screen)
- Tabs for multiple sessions at once
- Finger-drag scrolling back to look at past text.
- Option to change keyboard layout
Note: My source code is probably a bit of a mess. I wrote this on little sleep :P
This is a very early alpha release, so it's quite incomplete. But I'd thought I'd share what I've done so far. Hopefully I'll be able to squeeze in another update before my remaining exams next week, although, I can't be certain if I'll find too much free time.
Any feedback is welcome :3
UPDATE: Alpha 0.1
I've released a small update. This fixes the scrolling bug, and now comes with GUI Launcher support (http://www.mobileread.com/forums/sho...d.php?t=161263
), so you can run the terminal without having to plug your kindle into your computer.