Short: Insert hex codes into text Author: Claude Heiland-Allen Uploader: Claude Heiland-Allen Type: text/print Version: 1.1 (2000.01.20) Requires: AmigaOS v37 Architecture: m68k-amigaos $VER: cha_willprint.readme 1.2 (2001.10.30) Claude Heiland-Allen I knocked up this little utility for Will on the Amiga-Hacks mailing list, so he could send hex in text. Hi Will! Usage: cha_willprint outputfile Example: cha_willprint PAR: File format: you put a hex code in between <...> in your text (upper or lower case, must be two digits), and the output will contain that hex code. This means that you can't use < and > in the text itself, but you can use the codes <3C> and <3E> respectively. Check out the example text. Notes: - you can abort with control-C if you're getting scared - no error messages: check the return code in the shell (0 is good, not 0 is bad) - if you use Amiga escape codes and send the output to PRT: it should be more hardware independent than using printer escape codes and sending the output to PAR:, but then special printer commands are much longer, and you need a driver for the printer Future: - standard ANSI codes (perhaps like <#bold> ... <#\bold>) - no new version will appear if no-one wants it Contents: cha_willprint/.build make file cha_willprint/.distribution distribution script cha_willprint/cha_willprint the program cha_willprint/cha_willprint.e E source code cha_willprint/cha_willprint.example example text cha_willprint/cha_willprint.out example output cha_willprint/cha_willprint.readme this file