constype man page on OpenIndiana

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

CONSTYPE(1)							   CONSTYPE(1)

NAME
       constype - print type of Sun console

SYNOPSIS
       /usr/bin/constype [ device_name ] [ -num ]

DESCRIPTION
       constype	 prints	 on  the  standard output the Sun code for the type of
       display that the specified device is.  The types output include these:

	    bw?	 Black and White, where ? is 1-4. (eg) 3-50s are bw2
	    cg?	 Colour Graphics display, where ? is 1-6, 8, 12
	    gp?	 Optional Graphics Processor board, where ? is 1-2
	    ns?	 Not Sun display — where ? is A-J

       If the OS and device support the	 VIS_GETIDENTIFIER  ioctl,  the	 value
       returned	 from  the  ioctl  is  the value printed by constype.	Sample
       types output for these include:

	    SUNWffb	   Sun Creator 3D (ffb) Graphics Accelerator
	    SUNWm64	   Sun PGX8, PGX24 or PGX64 Frame Buffer
	    SUNWtext	   Generic vgatext console for Solaris x86 graphics devices without specific kernel drivers

       This is useful in determining startup values and	 defaults  for	window
       systems.

       The  device_name	 argument, if given, is the device to examine.	If not
       given, /dev/fb is used.

       The -num option causes constype to follow the  type  keyword  with  the
       numeric	value  of that type, as returned by the FBIOGATTR or FBIOGTYPE
       ioctl and defined in fbio.h.  This is useful if the type is not	recog‐
       nized by the program.

EXIT STATUS
       The  program exits with status 0 if it identified a known console type,
       1 if the type was unknown, and 2 if the device could not be  opened  or
       another error occurred.

BUGS
       Not tested on all frame buffer types

SEE ALSO
       visual_io(7I)

COPYRIGHT
       Copyright 1988, SRI

       Permission  to  use, copy, modify, and distribute this software and its
       documentation for any purpose and without fee is hereby	granted,  pro‐
       vided  that  the	 above	copyright notice appear in all copies and that
       both that copyright notice and this permission notice  appear  in  sup‐
       porting	documentation,	and that the name of SRI not be used in adver‐
       tising or publicity pertaining to distribution of the software  without
       specific, written prior permission.  SRI makes no representations about
       the suitability of this software for any purpose.  It is	 provided  "as
       is" without express or implied warranty.

AUTHOR
       Doug Moran <moran@ai.sri.com>

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │diagnostic/constype	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       └─────────────────────────────┴─────────────────────────────┘

X Version 11			constype 1.0.2			   CONSTYPE(1)
[top]

List of man pages available for OpenIndiana

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