10-03-2002
I guess the graphic card is imcompatible or there wer no drivers with Linux ditribution for the specific card . Better go to the site and check out for it .
THis happens even though the installation was thru a GUI . I wonder how does that happen ...
DP
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi i am new to Unix and i was wondering if you could help me with 2 problems i have?
Firstly i use Telnet to connect to my main server unix-shells.com and i want to know how i can use the "window" program?
i understand how it works but i want to be able to easily make new windows and hide the... (1 Reply)
Discussion started by: ditoa
1 Replies
2. IP Networking
Is there any way that I could invoke a Win NT application in a UNIX environment?
Needed to do this to direct the output of an Win NT application to a UNIX program, and then back again. Furthermore, because there's a large amount of processing to be done, it will be great if I could do this... (1 Reply)
Discussion started by: Norman N
1 Replies
3. Windows & DOS: Issues & Discussions
Can anyone tell me if there is a possibility to connect WindowsXP to Unix by means of an X-Window?
I want to do this graphical but I can't find a client with a reasonable pricetag on it. We now use WRQ Reflection to connect to a character-based programm on the unix box. But I would like to do... (2 Replies)
Discussion started by: fwalda
2 Replies
4. UNIX for Dummies Questions & Answers
how to split a window into two using curses in a text based chat application? (0 Replies)
Discussion started by: manju
0 Replies
5. Shell Programming and Scripting
Hello sir/Madam,
I m writing in unix prompt folllowing-
>ftp <local ip> // my pc ip is 10.64.0.59
Then following message is displayed-
"ftp: connect: Connection refused"
Please help me to solve this problem.
Thanking you. (3 Replies)
Discussion started by: Nirmal
3 Replies
6. Shell Programming and Scripting
Hello Sir/Madam,
In my system both unix and windows xp are running, I want to transfer a file from unix to window.
Sir, I m new in unix scripting ,So Please help me to solve my problem.
Thanking you. (2 Replies)
Discussion started by: Nirmal
2 Replies
7. UNIX for Dummies Questions & Answers
I need to rdist some files from unix to window XP, where the source file is in Unix box. I can't get a way to do it as it always prompted me permission denied.
rdist -c migtest.tar <ipaddr>:/filedir/migtest.tar
updating host <ipaddr>
Permission denied.
I'd tried to ftp and put the file... (0 Replies)
Discussion started by: lenniegu
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
How could i grab a set of data (eg:file execution start & stop time stamp f) from unix? (1 Reply)
Discussion started by: siriv
1 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
My Problem is -> How can we get UNIX id from open mail authentication (Windows ID) in UNIX.
In following command we are using domain name, which may change in your reference.
As, if we use following command.
ypcat passwd | grep rohitp | cut -d: -f5 | cut -d, -f1
=> we get... (0 Replies)
Discussion started by: pandey.rohit
0 Replies
10. Shell Programming and Scripting
Dear All,
Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way.
I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
LEARN ABOUT DEBIAN
get_gfx_mode_type
get_gfx_mode_type(3alleg4) Allegro manual get_gfx_mode_type(3alleg4)
NAME
get_gfx_mode_type - Retrieves type information for a specific graphics card. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int get_gfx_mode_type(int graphics_card);
DESCRIPTION
This function lets you determine the types of operating modes that a specific graphics card driver operates in. It will tell you whether it
is a windowed, fullscreen, definitely windowed or fullscreen, and/or a magic driver.
The value returned is a bitfield consisting of these fields:
GFX_TYPE_UNKNOWN GFX_TYPE_WINDOWED GFX_TYPE_FULLSCREEN GFX_TYPE_DEFINITE GFX_TYPE_MAGIC
The return value will only be equivalent to GFX_TYPE_UNKNOWN when it is a driver unrecognized on that platform, or it is a bogus value.
Test for the other types by using a bitwise AND. If the driver is windowed or fullscreen, it will also have the definite flag set. For
example,
int gfx_type = get_gfx_mode_type(GFX_AUTODETECT_WINDOWED);
gfx_type would have the GFX_TYPE_WINDOWED, GFX_TYPE_DEFINITE, and GFX_TYPE_MAGIC flags set.
Allegro needs to be initialized first.
Example:
/* Accept the use of only windowed drivers in our selection dialog */
int accept_windowed(int card , int w , int h , int color_depth)
{
if (get_gfx_mode_type(card) & GFX_TYPE_WINDOWED)
return 0;
return 1;
}
/* In main: */
gfx_mode_select_filter(&card, &w, &h, &color_depth, accept_windowed);
RETURN VALUE
Returns a bitfield describing the graphics mode type.
SEE ALSO
gfx_mode_select_filter(3alleg4), get_gfx_mode(3alleg4), set_gfx_mode(3alleg4), is_windowed_mode(3alleg4)
Allegro version 4.4.2 get_gfx_mode_type(3alleg4)