07-18-2005
Yeah thats where i did it.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My name is Paul Maguire and I am a student at Aston University, England. I have visual
impairment so I need everything on the screen large including screen resolutions.
Q1. Can you tell me if it is possible to set up a profile for display settings on a Unix network that
runs Win98, Macs... (1 Reply)
Discussion started by: macker
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
When i list the subfolders in my Hp-Ux machine ,iam getting like this
$ls -ltr
total 14
-rw-r--r-- 1 sss users 6747 Aug 15 02:09
it is showing total as 14,but it is showing one file only!.plz tell me why is this?
Thanks (3 Replies)
Discussion started by: shruti_mgp
3 Replies
3. Solaris
I have an application that I run remotely, before I start the app, i have to export the display using the DISPLAY=x.x.x.x; export DISPLAY command
now, i have just put a crt monitor on this box, and i try to run the same command, for the display variable, i have used the machines own IP address,... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
4. Linux
Hi all,
I wish to get vmware GUI on my windows ws without get there phisically.
I always used in Unix systems setenv DISPLAY = 10.192.10.43:0.0 and run the application.
The server running vmware is behind a firewalled farm zone where every telnet, ssh connection has the same IP addr. so how to... (1 Reply)
Discussion started by: Carmen123
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
from my Windows Workstation I can connect with PUTTY to an AIX 6.1 unix server.
On AIX via PUTTY I run DBCA which has a grphical interface.
Then :
#DISPLAY=local_host:0.0 ; export DISPLAY
$(hostname) $(whoami):/appli/oracle/product/10.2.0/db_1/bin#dbca
_X11TransSocketINETConnect()... (12 Replies)
Discussion started by: big123456
12 Replies
6. Shell Programming and Scripting
Hello,
this will sound geek but I've got a shell script that takes an age to run.
I am wondering if someone as a function that will display like dash or something every second ? I could try to get it inside of this script when needed.
I am using ksh.
Thanks (4 Replies)
Discussion started by: Aswex
4 Replies
7. Answers to Frequently Asked Questions
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
LEARN ABOUT PHP
get_desktop_resolution
get_desktop_resolution(3alleg4) Allegro manual get_desktop_resolution(3alleg4)
NAME
get_desktop_resolution - Finds out the desktop resolution. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int get_desktop_resolution(int *width, int *height);
DESCRIPTION
Finds out the currently selected desktop resolution. You can use this information to avoid creating windows bigger than the current resolu-
tion. This is especially important for some windowed drivers which are unable to create windows bigger than the desktop. Each parameter is
a pointer to an integer where one dimension of the screen will be stored.
Under some OSes, switching to a full screen graphics mode may automatically change the desktop resolution. You have, therefore, to call
this function before setting any graphics mode in order to retrieve the real desktop resolution. Example:
int width, height;
allegro_init();
...
if (get_desktop_resolution(&width, &height) == 0) {
/* Got the resolution correctly */
}
RETURN VALUE
Returns zero on success, or a negative number if this information is not available or does not apply, in which case the values stored in
the variables you provided for `width' and `height' are undefined.
SEE ALSO
desktop_color_depth(3alleg4), set_gfx_mode(3alleg4)
Allegro version 4.4.2 get_desktop_resolution(3alleg4)