Sponsored Content
Full Discussion: resolutions in Solaris
Top Forums UNIX for Dummies Questions & Answers resolutions in Solaris Post 5511 by sssow on Wednesday 15th of August 2001 07:18:25 PM
Old 08-15-2001
You can use font style manager to change CDE font setting on solaris console. There is a command line utility also to change the settings...
 

3 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Display resolutions

Hi, I have recently install SUSE 9.1 on my laptop The resolution only comes up in 800x600 i dont get any other options but also is shown as a small box rather than the whole screen. In windows it is fine and covers the full display. I tried to set the dismensions but this doesn't work ... (3 Replies)
Discussion started by: billett05
3 Replies

2. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

3. Answers to Frequently Asked Questions

Fixed width file issue and resolutions

I have a fixed width file with no separators , but the file has JUNK characters in it and i know how to remove it. but in few cases these junk characters having created a mess by splitting single row into 2 or 3 rows. I need to put them back to a single line like rest of the rows. This fixed... (2 Replies)
Discussion started by: santoshkm
2 Replies
XGetVisualInfo(3X11)						     MIT X11R4						      XGetVisualInfo(3X11)

Name
       XGetVisualInfo, XMatchVisualInfo, XVisualIDFromVisual, XVisualInfo - obtain visual information and visual structure

Syntax
       XVisualInfo *XGetVisualInfo(display, vinfo_mask, vinfo_template, nitems_return)
	  Display *display;
	  long vinfo_mask;
	  XVisualInfo *vinfo_template;
	  int *nitems_return;

       Status XMatchVisualInfo(display, screen, depth, class, vinfo_return)
	  Display *display;
	  int screen;
	  int depth;
	  int class;
	  XVisualInfo *vinfo_return;

       VisualID XVisualIDFromVisual(visual)
	   Visual *visual;

Arguments
       class	 Specifies the class of the screen.

       depth	 Specifies the depth of the screen.

       display	 Specifies the connection to the X server.

       nitems_return
		 Returns the number of matching visual structures.

       screen	 Specifies the screen.

       visual	 Specifies the visual type.

       vinfo_mask
		 Specifies the visual mask value.

       vinfo_return
		 Returns the matched visual information.

       vinfo_template
		 Specifies the visual attributes that are to be used in matching the visual structures.

Description
       The function returns a list of visual structures that match the attributes specified by vinfo_template.	If no visual structures match the
       template using the specified vinfo_mask, returns a NULL.  To free the data returned by this function, use

       The function returns the visual information for a visual that matches the specified depth and class for a screen.  Because multiple visuals
       that match the specified depth and class can exist, the exact visual chosen is undefined.  If a visual is found, returns nonzero and the
       information on the visual to vinfo_return.  Otherwise, when a visual is not found, returns zero.

       The function returns the visual ID for the specified visual type.

Structures
       The structure contains:

       /* Visual information mask bits */

       #define				     0x0
       #define				     0x1
       #define				     0x2

       #define				     0x4
       #define				     0x8
       #define				     0x10
       #define				     0x20
       #define				     0x40
       #define				     0x80
       #define				     0x100
       #define				     0x1FF

       /* Values */

       typedef struct {
	 Visual *visual;
	 VisualID visualid;
	 int screen;
	 unsigned int depth;
	 int class;
	 unsigned long red_mask;
	 unsigned long green_mask;
	 unsigned long blue_mask;
	 int colormap_size;
	 int bits_per_rgb;
       } XVisualInfo;

See Also
       XFree(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															      XGetVisualInfo(3X11)
All times are GMT -4. The time now is 06:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy