AminetAminet
Search:
85663 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

dev/src/ESC_Sequences.zip

Mirror:Random
Showing: generic icon
No screenshot available
Short:UNIX style escape codes for Python.
Author: wisecracker.bazza at gmail.com (Barry_Walker, G0LCU)
Uploader:wisecracker bazza gmail com (Lincs Amiga Group, LAG)
Type:dev/src
Version:0.00.01
Architecture:m68k-amigaos; generic
Date:2026-10-07
Distribution:Aminet
Download:dev/src/ESC_Sequences.zip - View contents
Readme:dev/src/ESC_Sequences.readme
Downloads:4

=============================================================================

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.

    It would be nice to know if they do work, along with a snapshot of the
    FCT_LEE.py version running, along with the Python Version running it and
    sent to my email addy above...

    TIA...

=============================================================================

  History:-
  ---------

  07-08-2026.
  -----------
  Version 0.00.01. Taster upload to see if people are interested.
                   The archive is (C)2026, Barry Walker, and issued as PD,
                   Creative Commons CC0 licence.

                   (If the archive reaches 100 or greater inside the 14 days
                   grace then I will carry on with escape sequences.)

=============================================================================

  General:-
  ---------

(Apologies for any typos, etc...)

An initial compilation of UNIX style 'xterm' terminal escape codes designed
to run inside Python of any version but biased towards the AMIGA A1200(HD)!

If you NEED to suppress the final newline inside any 'print' statement or
'print()' function in your code then read the Python Manual, I should not
have to show you how to do that.
HOWEVER, there are five files to make life easier for you on AMINET.
Just go to AMINET and type in, without the quotes, inside the search box:-
"Backwards Compatibility" and 5 files show version 1.4.0 to 3.15.0rc3
similarities for 'print' AND 'print()'.
There is a 'zip' file inside the archive with 4 _Gemini_ images of all the
default AMIGA[-]Shell escape code in AMIGA format and eventually most, if
not all of these will be transferred to 'xterm' format.

-----------------------------------------------------------------------------

  !!! IMPORTANT !!!
  -----------------

There are NO tests for the INTERMEDIATE and ADVANCED levels yet as I will
await the DL quota for the 14 day race new upload[s] results.

-----------------------------------------------------------------------------

  !!! REMEMBER !!!
  ----------------

The Classic AMIGA does not have the luxuries of the current, (as of the
above date), Python Version 3.15.0rc3 and its massive (C)2026_Pytho[-]System,
so these recipes might help towards using what we have and inspiring others
to add to them. They can be anything, not just mathematics.
The difficulty is learning and memorising _ALL_ of the differences between
Python Versions, (1.3.0), 1.4.0 to 3.15.0rc3; there are a great many, believe
me! (Creating workarounds has become second nature to me nowadays.)

Although UNTESTED, non[-]Commodore AMIGA variants will probably work up to
the INTERMEDIATE level as the Python versions are up to MicroPython 3.4.0.
AROS even has the current 3.14.7 !!! WOW !!!, and 2.5.2 for other variants.

And finally, it's better to have something for a retro[-]computer that does
NOT have that facility, TO have it, than TO NOT have it at all, no matter
how fast the code may or may not be in use!

The Python file can be either sourced OR import[ed].
I should not have to explain how to use it in either format.
The 'print' statement or 'print()' function is needed to call these escape
codes for them to work.

>>> import sys

Has, 'sys.stdout.write()', which has its own foibles over the huge version
range, should work well enough, BUT IT HAS NOT BEEN TESTED!

=============================================================================

                                IMPORTANT:-
                                -----------

    The Legal Stuff:-
    -----------------

    The authors are not responsible for any damage to, or loss of, or
    failure of equipment or data caused in any way by the use of this code.

    There is NO warranty with the use of this software release and
    YOU USE IT AT YOUR OWN RISK.

-----------------------------------------------------------------------------

    Testing Evaluation:-
    --------------------

    Classic STOCK AMIGA A1200(HD). 
    FS-UAE emulation of Classic AMIGA test conditions were/are running
    standard OS 3.0.x and using standard ~topaz 8~ fonts throughout.

    I have no idea what strange configuration setups will create so refer
    to the ~The Legal Stuff~ above.

    The whole archive was centred around the AMIGA!
    APPLE OSX 10.15.x and MY Linux flavour were included to make the code as
    universal as possible without any modification at all.

=============================================================================

    Barry Walker, G0LCU.
    wisecracker.bazza@gmail.com

-----------------------------------------------------------------------------

    A place to visit, literally and URL wise:-
                    https://lincsamiga.org.uk/wordpress/

-----------------------------------------------------------------------------

    A very useful HardWare related site, (C) Anthony Hoffman, for
    modifications, schematics, repairs and the like is:-

                          http://amiga.serveftp.net/

=============================================================================



Contents of dev/src/ESC_Sequences.zip
Archive:  /home/aminet/aminet_root/doc/dev/src/ESC_Sequences.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2026-10-07 16:46 00000000  ESC/
       0  Stored        0   0% 2026-10-07 14:03 00000000  ESC/AMIGA_Dedicated_Esc_Codes/
  365965  Defl:N   365899   0% 2026-10-07 13:41 88b88138  ESC/AMIGA_Dedicated_Esc_Codes/ESC_AMIGA.zip
   11471  Defl:N     2856  75% 2026-10-07 14:28 d03cb8ad  ESC/ESC.py
    7039  Defl:N     2739  61% 2026-10-07 16:46 240578b8  ESC/ESC_Sequences.readme
    2873  Defl:N     1255  56% 2026-10-07 14:09 fd74791e  ESC/Functions_Available_ATM.txt
       0  Stored        0   0% 2026-10-07 13:50 00000000  ESC/Linux_Bits/
   37990  Defl:N    34317  10% 2026-10-07 13:45 9e809813  ESC/Linux_Bits/Graphics_Cursor_Colours_TB.png
    3161  Defl:N     1067  66% 2026-10-07 14:11 8eb94852  ESC/Prefix_for_pfb_function.txt
--------          -------  ---                            -------
  428499           408133   5%                            9 files
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>