Short: UNIX Style Escape Sequences DEMO. Author: wisecracker@tesco.net (Barry Walker) Uploader: Lincolnshire AMIGA Group Type: dev/src Version: 0.00.10 Architecture: generic; m68k-amigaos Distribution: Public Domain, Emailware. ============================================================================ Architectures: Classic AMIGAs and WinUAE. ----------------------------------------- MINIMUM Requirements Are:- -------------------------- 68EC020 CPU and 2MB RAM total, example, a standard A1200(HD). WinUAE Version 1.5.3 minimum. Standard OS3.0x install or better. (It might work on E-UAE too but untested.) ---------------------------------------------------------------------------- History. -------- 02-11-2013. Version 0.00.10:- Original upload to AMINET... ---------------------------------------------------------------------------- Just download The Esc_Codes.shell.txt file and see how to control many aspects of the CLI using UNIX style ANSI escape codes. To run the script just rename to Esc_Codes.shell and execute it in the normal way from a CLI:- Execute VOLUME:to/full/path/of/Esc_Codes.shell Were '' is the RETURN/ENTER key and 'VOLUME:to/full/path/of/' is the drive and drawer where the script resides... Ensure that the 'ENV:' and 'T:' volumes exist before running. Also RexxMast must be running but there is a line in the code to edit to cater for this situation... The ARexx script created is saved to the T: volume as Input.rexx. http://lincsamiga.org.uk/wordpress/ ---------------------------------------------------------------------------- IMPORTANT NOTE:- ---------------- Read the shell script first before running!!! The script is purely demonstration code to show how to clear the screen, give certain character _Fonts_, control the colours, position the cursor, generate keyboard input using an ARexx command created on the fly and do a simple box and button pseudo-graphic apperance. The final page is a method of generating a bell character and using 'ECHO' to fire it... This, along with the other #?.shell.txt files on AMINET, gives you the capability of creating sophisticated shell scripts. Enjoy finding simple solutions to often very difficult problems... ;o) ---------------------------------------------------------------------------- The archive is Public Domain/Emailware and you may modify it/them as you please for your OWN experiments. See below. I would dearly love an Email from you even if you think it is absolute rubbish... :) (Original working idea and (C)2013 goes to B.Walker, G0LCU.) ---------------------------------------------------------------------------- IMPORTANT:- ----------- The Legal Stuff:- ----------------- These programs are Public Domain and no profit will be made from them, also all of the files must remain unaltered and intact including this one. The author is not responsible for any damage to, or loss of, or failure of equipment or data caused in any way by the use of these programs. There is NO warranty with the use of these software releases and YOU USE THEM AT YOUR OWN RISK. ---------------------------------------------------------------------------- Testing Evaluation:- -------------------- All WinUAE and Classic AMIGA test conditions were/are running standard OS3.0x/OS3.1x 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. ---------------------------------------------------------------------------- Contact:- --------- Mr Barry Walker, G0LCU. Email:- wisecracker@tesco.net Author of the ~TestGear?~ projects in the ~docs/hard~ drawer of AMINET. ---------------------------------------------------------------------------- A very useful HardWare related site, (C) Anthony Hoffman, for modifications, schematics, repairs and the like is:- http://amiga.serveftp.net/ ============================================================================