Repository navigation
OpenTTY 1.16 LTS - Absurd Anvil
OpenTTY Java Edition 1.16
Copyright (C) 2025 - Mr. Lima
LTS Edition
End of support scheduled for April 2026
[ Commands ]
which [command]: Find source of commandpasswd [password]: Change passwordsudo [command]: Run command with superuser permissionssu [user]: Switch user (root/ you)stty [max]: Set max char range that can be wrote at stdoutcatch [command]: run command ignoring exceptions (always exit with code: 0)lua [file]: run a Lua script.
[ Updates ]
- Fixed a bug in
ncthat Back button doesn't closes the connection - MIDlet login ask for a password
- Command
logoutwhen you are root return to your user - Improved exceptions messages
- New case condition user to compare user name
- Command
returninvalid code payload changed to 2 - Command
serverreading port from command-line, if not args are given usages the default port from environment key - Runners
execandexecutestop running if command exit code is different of 0 (error) - Command
falsereturns code 255 - Fixed a bug in Forge enhanced application generation
- When MIDlet is paused it triggers function
pauseApp()if it is found - Fixed history duplicated appending bug
- !! can read args and set it as prefix for last command
- FIRE button in X11 lists run user button
- Command
catwithout args prints nano content - X Server updated to 0.6.3
- API @.reload clears shell functions
- Command
chmoddefault IP Address to open socket set 1.1.1.1:53, if key$REPOis found use it. - Fixed
chmod *granting permissionnullas last permission node - Command
lsread argument to render directory content - MIDlet shell reading multiple args in some tools
- Shell scripts can be called with
sh [file] - Command
ncbutton Show info changed to View info - Command
prscannew button Save Logs to load recognized ports in nano - New X11 command
unsetto remove a saved screen - Command
whoshow where IP Addresses is connected - Service
bindandserverprocess ID changed to it respective port - Added support for new key
process.exitthat is triggered when processprocess.nameis killed - Load script
/java/etc/initd.shrun with super-user permissions - New X11 Screen edit
- When X11 stops, it drops all saved screens
- Command
gaugeremoved, usagex11 gauge - Class
OpenTTY$HTopViewermoved toMIDletControl - Command
querynow linked with an PID to stop the activities - Command
lshide files that has prefix . in all filesystems - Audio codec can play audio files from JAR Package.
- Nano Editor and History Threads joined into Main Thread
- File Explorer Window title changed to current path
- Command
title hidehide MIDlet Main Window title - Player Object non referred in globals, traced by Process
- X11 Support symbolic links loading and saving by Virtual Process PID
- Command
nc,prscanandgobusterask if you want keep thread alive before close window - File Explorer don't using icons anymore
- MIDlet Suite can adapt loading for emulations if found an environment key called as J2EMU
- Commands
topandtracemerged - New ITEM's attribute item.style
- New Yang package cmatrix indexed (wrote in Lua)
[ Notes ]
- If you are logged as root command
logoutandexitwill return you to normal user. - All jobs started with super user permissions and it sub-process get the permissions.
- Remote shells interfaces cannot be loaded with super user permissions by default.
- X11 Screens couldn't be called with
sudo. - After you change max stdout size, remote interfaces like
bindcan be directly damaged by stdout redirect. - OpenTTY and Lua don't have native support for regex patterns
- JAuth2 is deprecated, feature MIDlet.Lock will be added in future updates
[ X11 Virtual Screens ]
Usage: x11 [ option ] [PID]
import: load a screen referred into Virtual Processexport: save current screen in a Virtual Process
[ J2ME Loader Settings ]
You can enable the compatibility mode of OpenTTY to J2ME Loader with command export J2EMU, read below the changes enabled with this key:
- Fire button in List Screens dont works;
- In File Explorer when you jump directory it rebuild screen
- Title of File Explorer is Main Window title, not current working path
[ Lua J2ME ]
OpenTTY now have a Mini VM of Lua programming language, you can run lua scripts with command lua [filename].
Some libraries and features isn't available yet. You can download most Lua libraries in Yang or with SmartME SDK.
Not implemented:
- Basic types (strings, numbers, boolean, tables, nil)
- Meta tables support
- Advanced IO library
- Functions and normal tables creation
- Error Handling
- Coroutines and methods (: token works like a normal .)
- until & repeat looping extructure
- require([file]) & load([string]) to include other files
- require caching in
package.loaded - Global and local scopes
[ Specials ]
- This release contains a special secret command of 5k of commits in this repository.