normal.txt

来自「使用于OS/2下的小工具的C源程序,使用于OS/2下的小工具的C源程序」· 文本 代码 · 共 47 行

TXT
47
字号
                                            NORMAL [DUAL MODE]
     
     NAME NORMAL - set the default colors of the display
     
     
     SYNTAX
     
     normal
     
     USAGE
     
     Normal can  be used  to set  the default  colors  of  the
     display. Normally this means light grey on black. However
     if the  BGCOLOR  or  FGCOLOR  environment  variables  are
     defined, normal  reads the  color definitions  from them.
     BGCOLOR refers  to the  background color  and FGCOLOR  to
     foreground color.
     
     Available color are:
          BLACK
          RED
          GREEN
          YELLOW
          BLUE
          MAGENTA
          CYAN
          WHITE
          DEFAULT
     These color  can be  prefixed with eithed light_ or dark.
     E.g. dark_red or light_blue.
     
     
     Normal uses  ANSI escape sequences. If the ANSI sequences
     are off,  normal sets  ANSI on  for the  duration of  the
     program and restores the original situation at the end of
     the program.  OS/2 seems  to work  in a random fashion in
     this kind  of situations.  Sometimes  the  colors  change
     sometimes not. If ANSI sequences are off, normal sets the
     current cursor  position to  the bottom  of  the  screen,
     because with my version (1.21) the ANSI- sequences worked
     every time,  when the  cursor was  at the  bottom of  the
     screen. Still  CLS-command seems  to reset  all color  to
     their default value, if ANSI is off.
     
     SEE ALSO
     color, clear

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?