mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Some folks might think: “you still use RCS”?!? And we will say, hey, at least we switched from SCCS to RCS back in … I think it was around 1994 ... at least we are keeping up! :-) :-) :-) Logs say that SCCS version 18 became RCS version 19 on 1994 March 18. RCS served us well. But now it is time to move on. And so we are switching to git. Calc releases produce a lot of file changes. In the 125 releases of calc since 1996, when I started managing calc releases, there have been 15473 file mods!
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
/*
|
|
* screen - ANSI control sequences
|
|
*
|
|
* This file was created by Ernest Bowen <ebowen at une dot edu dot au>.
|
|
*
|
|
* This code has been placed in the public domain. Please do not
|
|
* copyright this code.
|
|
*
|
|
* ERNEST BOWEN DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
|
* THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MER-
|
|
* CHANTABILITY AND FITNESS. IN NO EVENT SHALL LANDON CURT
|
|
* NOLL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
|
|
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
|
|
* USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*
|
|
* This file is not covered under version 2.1 of the GNU LGPL.
|
|
*
|
|
* Under source code control: 2006/03/08 05:54:09
|
|
* File existed as early as: 2006
|
|
*/
|
|
|
|
up = CUU ="\e[A";
|
|
down = CUD = "\e[B}";
|
|
forward = CUF = "\e[C";
|
|
back = CUB = "\e[D";
|
|
save = SCP = "\e[s";
|
|
restore = RCP = "\e[u";
|
|
cls = "\e[2J";
|
|
home = "\e[F";
|
|
eraseline = "\e[K";
|
|
off = "\e[0m";
|
|
bold = "\e[1m";
|
|
faint = "\e[2m";
|
|
italic = "\e[3m";
|
|
blink = "\e[5m";
|
|
rapidblink = "\e[6m";
|
|
reverse = "\e[7m";
|
|
concealed = "\e[8m";
|
|
/* Lowercase indicates foreground, uppercase background" */
|
|
black = "\e[30m";
|
|
red = "\e[31m";
|
|
green = "\e[32m";
|
|
yellow = "\e[33m";
|
|
blue = "\e[34m";
|
|
magenta = "\e[35m";
|
|
cyan = "\e[36m";
|
|
white = "\e[37m";
|
|
Black = "\e[40m";
|
|
Red = "\e[41m";
|
|
Green = "\e[42m";
|
|
Yellow = "\e[43m";
|
|
Blue = "\e[44m";
|
|
Magenta = "\e[45m";
|
|
Cyan = "\e[46m";
|
|
White = "\e[47m";
|