home *** CD-ROM | disk | FTP | other *** search
-
-
- cout V1.00
-
- Copyright © 1993 Harald Pehl
- All rights reserved
-
- FREEWARE
-
- With Documentation
-
-
-
-
-
- Preface
- -------
-
- This program is freeware, this means that you can copy it
- freely as long as you don't ask any more money for it than a
- nominal fee for copying. If you want to distribute this program
- you should keep this document with it. This program cannot be
- used for commercial purposes without written permission from the
- author.
-
- If you have suggestions or remarks about this program, or if you
- find any bugs, please let me know. Naturaly I won't refuse any
- gifts. When sending in bug reports, please state exactly under what
- circumstances the bug occurred, what equipment was used and what
- happened. If possible also try to give me enough information to
- reproduce the bug. It is very difficult to find bugs when you
- don't know exactly what happened.
-
- Write to the following address:
-
- Harald Pehl
- Equarhofen 8
- 97215 Uffenheim
- Germany - Europe
-
-
-
-
-
- Introduction
- ------------
-
- cout is a simple CLI-command that should replace the Echo command by Commodore.
- Due to the fact that I regulary code in C and C++ and because in my opinion the
- control-characters used by printf() and cout are an very efficient way of
- formatting a text, I decided to program a command that uses these
- control-characters and beyond that some more.
-
-
-
-
- Usage
- -----
-
- cout can only be started from the CLI and requires at least on argument:
-
- cout [String]
-
- if <String> contains spaces you have to enclose it into " ".
-
- Fallowing control-characters are supported:
-
- \a: Beep
- \b: Backspace
- \f: Form Feed
- \n: New Line
- \r: carrage return
- \t: Tab
- \v: Vertical-Tab
- \\: The '\' itsself
- \d: Bold on
- \k: Italic on
- \u: Underlined on
- \i: Inversiv on
- \x: Reset to defaults
-
- If theres no argument cout prints an emtpy line
-
-
- Example:
-
- cout "\n\nThis is \dbold\x, \kitalic\x and \uunderlined\x text!\n\n"
-
-
-
-
- Description
- -----------
-
- cout was created with MaxonC++. It uses the dynamic store managment of C++ (new)
- and simply copies the inputstring to a reserved area and adds some characters
- just depending on the given control-characters (e.g "\x9b""1m" for bold on or
- '\n' for a new line).
-
-
-
- © 1993 cout V1.00 written by Harald Pehl
- Greetings to Florian Derks and Martin Gleiß.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-