setcolor man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]



     SETCOLOR(C)	      XENIX System V		   SETCOLOR(C)

     Name
	  setcolor, setcolour - Set screen color.

     Syntax
	  setcolor -[nbrgopc] argument [argument]

     Description
	  setcolor allows the user to set the screen color on a color
	  screen.  Both foreground and background colors can be set
	  independently in a range of 16 colors.  setcolor can also
	  set the reverse video and graphics character colors.
	  setcolor with no arguments produces a usage message that
	  displays all available colors, then resets the screen to its
	  previous state.

	  For example, the following strings are possible colors.

		    blue      magenta	   brown      black
		    lt_blue   lt_magenta   yellow     gray
		    cyan      white	   green      red
		    lt_cyan   hi_white	   lt_green   lt_red

	  The following flags are available. In the arguments below,
	  ``color'' is taken from the above list.

	  -n   Set the screen to ``normal'' white characters on black
	       background.

	  color [color]
	       Set the foreground to the first color. Sets background
	       to second color if a second color choice is specified.

	  -b color
	       Set the background to the specified color.

	  -r color [color]
	       Set the foreground reverse video characters to the
	       first color.  Set reverse video characters' background
	       to second color.

	  -g color [color]
	       Set the foreground graphics characters to the first
	       color. Set graphics characters' background to second
	       color.

	  -o   Set the color of the screen border (overscan region).
	       This option applies only to CGA adapters.

	  -p pitch duration
	       Set the pitch and duration of the bell.	Pitch is the
	       period in microseconds, and duration is measured in

     Page 1					      (printed 2/7/91)

     SETCOLOR(C)	      XENIX System V		   SETCOLOR(C)

	       fifths of a second.  When using this option, a
	       control-G (bell) must be echoed to the screen for the
	       command to work.	 For example:

		      setcolor -p 2500 2
		      echo ^G

	  -cfirst last
	       Set the first and last scan lines of the cursor.	 (For
	       more information see screen(HW).)

     Notes
	  The ability of setcolor to set any of these described
	  functions is ultimately dependent on the ability of devices
	  to support them.  setcolor emits an escape sequence that may
	  or may not have an effect on monochrome devices.

	  Occasionally changing the screen color can help prolong the
	  life of your monitor.

     See Also
	  screen(HW), console(HW)

     Page 2					      (printed 2/7/91)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net