UNIX style escape codes for Python.
- Size
- 2.0M (2,149,011 bytes)
- Added
- 2026-11-20 02:44
- Downloads
- 1
- Long Description
- ============================================================================= Architectures: Classic AMIGA A1200(HD), FS-UAE on OSX 10.15.x and Mint 22.3. ---------------------------------------------------------------------------- MINIMUM Requirements Are:- -------------------------- Amiga environment:- ------------------- Classic STOCK AMIGA A1200(HD), default OS3.0x install. FS-UAE on Intel APPLE OSX 10.15.x and GNU/Linux Mint Cinnamon 22.3. Standard default AMIGA OS_3.0.x install, or better still a highly expanded AMIGA with extra RAM will speed things up considerably. Python Version 1.4.0 on Classic AMIGA A1200(HD) OS3.0x:- https://aminet.net/package/dev/lang/Python_14 This version that requires no extra hardware at all:- 'python_020_ieee' Python Version 1.5.2 to 2.0.1 on '030+ highly expanded AMIGAs OS3.0x. AmigaMicropython340 on Classic AMIGA A1200(HD) OS3.0x. https://aminet.net/package/dev/misc/AmigaMicropython Also as a matter of interest these Python scripts also work inside the excellent ADE, the *NIX emulation, but the STOCK AMIGA A1200(HD) needs at least an extra 4MB of FastRAM to do so:- https://aminet.net/package/dev/gcc/ADE ----------------------------------------------------------------------------- Other environments:- -------------------- Any Python version from 2.x.x to 3.15.0rc3 on Intel APPLE OSX 10.15.7. Any Python Version from 1.3.0 to 3.12.x on GNU/LINUX MINT CINNAMON 22.3. It has NOT been tested on WinUAE emulation of the above, Windows, and WSL[-2], with a Python Version installed. It has NOT been tested on any 'M' series APPLE gear either. (CygWin has 'mintty' and it supports at least much of what is done here already as I have used it many times in the past.) ============================================================================= History:- --------- 19-11-2026. ----------- Version 0.01.00. GENERAL section; added Newline Plus function, 'nlp()' as the AMIGA has it in its default AmigaShell escape codes. INTERMEDIATE section; added Set Line Feed, 'slf()' and Reset Line Feed, 'rlf()' the default mode. NO TESTS are included as it is obvious what 'slf()' does, making line feed, vertical tab and form feed as a carriage return and newline combined, these also work on the AMIGA A1200(HD). ADVANCED section; added the Terminal Expansion function to alter the physiical size of the terminal on the fly. There are two modes, 4 and 8. Mode 8 is the default as it expands or contracts to ASCII character sized rows and columns, NOT pixel sized that mode 4 interprets. Rearranged all of the drawers/folders/directories to make things a little easier to use. Added 'Spec_An_ESC_Big_Terminal.py' for LINUX to demonstrate the function. Update the 'Manual.txt', and 'Functions_Available_ATM.txt'. 05-11-2026. ----------- Version 0.00.11. !!! IMPORTANT !!! Any AMIGA images use MY Workbench colour setup so the colours may not be exactly the same for you. ========================================================== GENERAL section; added a generic function 'generic()' so that you can use virtually any available escape code that your terminal accepts. It defualts to an AMIGA mode. ADVANCED section; added 8 bit paletted colour functions 'fg8()', and 'bg8()' from a 256 colour palette foreground and background colours. Also added a very quick naive 256 colour p