From 98e80f48ebf9cea1dfdff8a34da04bac56832de8 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 20 Apr 2012 13:07:12 -0700 Subject: Reorder man page to put common/modern case first, fallback/legacy later Signed-off-by: Alan Coopersmith --- constype.man | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/constype.man b/constype.man index 14f051e..64fb2fe 100644 --- a/constype.man +++ b/constype.man @@ -13,17 +13,7 @@ constype \- print type of Sun console .B constype prints on the standard output the Sun code for the type of display that the specified device is. -The types output include these: -.sp 2 -.in +0.5i -.nf -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 \(em where ? is A-J -.fi -.in -0.5i -.sp 2 +.LP 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: @@ -36,6 +26,18 @@ SUNWtext Generic vgatext console for Solaris x86 graphics devices without .fi .in -0.5i .sp 2 +Otherwise, the older fbio identification methods are used, for which +the types output include these: +.sp 2 +.in +0.5i +.nf +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 \(em where ? is A-J +.fi +.in -0.5i +.sp 2 This is useful in determining startup values and defaults for window systems. .LP -- cgit v1.2.3