mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
remove unused system/ansi.h
Origin commit data
------------------
Branch: ni/coolstream
Commit: 08b7fa9286
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-05 (Tue, 05 Sep 2017)
Origin message was:
------------------
- remove unused system/ansi.h
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <system/settings.h>
|
#include <system/settings.h>
|
||||||
#include <system/ansi.h> //NI
|
|
||||||
|
|
||||||
#ifndef NEUTRINO_CPP
|
#ifndef NEUTRINO_CPP
|
||||||
#define NEUTRINO_CPP extern
|
#define NEUTRINO_CPP extern
|
||||||
|
@@ -1,61 +0,0 @@
|
|||||||
/* ansi.h */
|
|
||||||
|
|
||||||
/* ANSI control codes for various neat-o terminal effects
|
|
||||||
|
|
||||||
* Some older versions of Ultrix don't appear to be able to
|
|
||||||
* handle these escape sequences. If lowercase 'a's are being
|
|
||||||
* stripped, and/or the output of the ANSI is screwed up, you
|
|
||||||
* have the Ultrix problem.
|
|
||||||
*
|
|
||||||
* To fix the ANSI problem, try replacing the '\x1B' with '\033'.
|
|
||||||
* To fix the problem with 'a's, replace all occurrences of '\a'
|
|
||||||
* in the code with '\07'.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _ANSI_H_
|
|
||||||
#define _ANSI_H_
|
|
||||||
|
|
||||||
#define BEEP_CHAR '\a'
|
|
||||||
#define ESC_CHAR '\x1B'
|
|
||||||
|
|
||||||
#define ANSI_BEGIN "\x1B["
|
|
||||||
|
|
||||||
#define ANSI_NORMAL "\x1B[0m"
|
|
||||||
|
|
||||||
#define ANSI_HILITE "\x1B[1m"
|
|
||||||
#define ANSI_INVERSE "\x1B[7m"
|
|
||||||
#define ANSI_BLINK "\x1B[5m"
|
|
||||||
#define ANSI_UNDERSCORE "\x1B[4m"
|
|
||||||
#define ANSI_TRUNCATE "\x1B[=71"
|
|
||||||
|
|
||||||
#define ANSI_INV_BLINK "\x1B[7;5m"
|
|
||||||
#define ANSI_INV_HILITE "\x1B[1;7m"
|
|
||||||
#define ANSI_BLINK_HILITE "\x1B[1;5m"
|
|
||||||
#define ANSI_INV_BLINK_HILITE "\x1B[1;5;7m"
|
|
||||||
|
|
||||||
/* Foreground colors */
|
|
||||||
|
|
||||||
#define ANSI_FOR_BLACK "\x1B[30m"
|
|
||||||
#define ANSI_FOR_RED "\x1B[31m"
|
|
||||||
#define ANSI_FOR_GREEN "\x1B[32m"
|
|
||||||
#define ANSI_FOR_YELLOW "\x1B[33m"
|
|
||||||
#define ANSI_FOR_BLUE "\x1B[34m"
|
|
||||||
#define ANSI_FOR_MAGENTA "\x1B[35m"
|
|
||||||
#define ANSI_FOR_CYAN "\x1B[36m"
|
|
||||||
#define ANSI_FOR_WHITE "\x1B[37m"
|
|
||||||
|
|
||||||
/* Background colors */
|
|
||||||
|
|
||||||
#define ANSI_BAC_BLACK "\x1B[40m"
|
|
||||||
#define ANSI_BAC_RED "\x1B[41m"
|
|
||||||
#define ANSI_BAC_GREEN "\x1B[42m"
|
|
||||||
#define ANSI_BAC_YELLOW "\x1B[43m"
|
|
||||||
#define ANSI_BAC_BLUE "\x1B[44m"
|
|
||||||
#define ANSI_BAC_MAGENTA "\x1B[45m"
|
|
||||||
#define ANSI_BAC_CYAN "\x1B[46m"
|
|
||||||
#define ANSI_BAC_WHITE "\x1B[47m"
|
|
||||||
|
|
||||||
#define ANSI_END "m"
|
|
||||||
|
|
||||||
#endif /* _ANSI_H_ */
|
|
Reference in New Issue
Block a user