mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Converted all ASCII tabs to ASCII spaces using a 8 character tab stop, for all files, except for all Makefiles (plus rpm.mk). The `git diff -w` reports no changes.
76 lines
2.3 KiB
Plaintext
76 lines
2.3 KiB
Plaintext
/*
|
|
* screen - ANSI control sequences
|
|
*
|
|
* This file was created by Ernest Bowen <ebowen at une dot edu dot au>.
|
|
*
|
|
* This file is not covered under version 2.1 of the GNU LGPL.
|
|
* This file is covered under "The unlicense":
|
|
*
|
|
* https://unlicense.org
|
|
*
|
|
* In particular:
|
|
*
|
|
* This is free and unencumbered software released into the public domain.
|
|
*
|
|
* Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
* distribute this software, either in source code form or as a compiled
|
|
* binary, for any purpose, commercial or non-commercial, and by any
|
|
* means.
|
|
*
|
|
* In jurisdictions that recognize copyright laws, the author or authors
|
|
* of this software dedicate any and all copyright interest in the
|
|
* software to the public domain. We make this dedication for the benefit
|
|
* of the public at large and to the detriment of our heirs and
|
|
* successors. We intend this dedication to be an overt act of
|
|
* relinquishment in perpetuity of all present and future rights to this
|
|
* software under copyright law.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
*
|
|
* For more information, please refer to <http://unlicense.org/>
|
|
*
|
|
* 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";
|