03-28-2004
uhhh, is x already running? read the error message you posted....youre probably on another vt. try pressing ctrl-alt f1 through f7
9 More Discussions You Might Find Interesting
1. OS X (Apple)
Tried to install x11 on my powerbook with tiger (apple support can't help me) I want x11 so I can install open office I don't know anything about mac
' (3 Replies)
Discussion started by: Josiah Olson
3 Replies
2. OS X (Apple)
I'm a newbie on OS X and Mac, I bought my first Mac (a Mini) in october last year, so bare with me. :)
I usually run X11 to have aixterm displayed on my Mac, what I would like to do is to set a specific xhost + every time I start X11, for example xhost +10.0.0.2 every time I start X11.
Also,... (1 Reply)
Discussion started by: dlundh
1 Replies
3. Windows & DOS: Issues & Discussions
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies
4. UNIX for Dummies Questions & Answers
Hey guys,
I'm on a Solaris 9 boxes and I setup Putty to do X11 forwarding I can get my Xmanager to connect and load Xwindows screens fine. But, sometimes if I lose my putty connection or the app im running crashes X freaks out and deletes my display, setting it to nothing. When I add my display... (2 Replies)
Discussion started by: kingdbag
2 Replies
5. UNIX for Dummies Questions & Answers
X :0 &
export DISPLAY=:0
xterm &
Can I do this with multiple displays, :1, :2, etc.? (3 Replies)
Discussion started by: uiop44
3 Replies
6. UNIX for Dummies Questions & Answers
Hi
What privileges I need to install X11?
Or, in other words, can I install X11 without root privileges? The only user that installed X11 will use it.
If it depends on OS version, here is the list of operating systems:
Linux Red Hat Enterprise AS/ES 4.0/4.5/5
... (1 Reply)
Discussion started by: lleontiev
1 Replies
7. Solaris
is x11 and vnc different?
to my knowledge these are used to provide graphical interface to remote machines for the user who would be sitting some where else. i guess i understood the concept correctly? if not please correct me..
---------- Post updated at 09:20 AM ---------- Previous update... (3 Replies)
Discussion started by: chidori
3 Replies
8. UNIX for Advanced & Expert Users
I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies
9. AIX
Hi all,
Something stroke me as a curiosity.
In aixpert (HLS), one of the policies is to disable X-Server (hls_xhost).
Is this somehow related to the sudden inability of our XManager to serve as the display for the AIX 7.1 box?
What makes me curious is why disabling X-Server on the AIX box... (0 Replies)
Discussion started by: Adley
0 Replies
LEARN ABOUT OPENDARWIN
readkey
readkey(3alleg4) Allegro manual readkey(3alleg4)
NAME
readkey - Returns the next character from the keyboard buffer. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int readkey();
DESCRIPTION
Returns the next character from the keyboard buffer, in ASCII format. If the buffer is empty, it waits until a key is pressed. You can see
if there are queued keypresses with keypressed().
The low byte of the return value contains the ASCII code of the key, and the high byte the scancode. The scancode remains the same whatever
the state of the shift, ctrl and alt keys, while the ASCII code is affected by shift and ctrl in the normal way (shift changes case,
ctrl+letter gives the position of that letter in the alphabet, eg. ctrl+A = 1, ctrl+B = 2, etc). Pressing alt+key returns only the scan-
code, with a zero ASCII code in the low byte. For example:
int val;
...
val = readkey();
if ((val & 0xff) == 'd') /* by ASCII code */
allegro_message("You pressed 'd'
");
if ((val >> 8) == KEY_SPACE) /* by scancode */
allegro_message("You pressed Space
");
if ((val & 0xff) == 3) /* ctrl+letter */
allegro_message("You pressed Control+C
");
if (val == (KEY_X << 8)) /* alt+letter */
allegro_message("You pressed Alt+X
");
This function cannot return character values greater than 255. If you need to read Unicode input, use ureadkey() instead.
SEE ALSO
install_keyboard(3alleg4), ureadkey(3alleg4), keypressed(3alleg4), clear_keybuf(3alleg4), simulate_keypress(3alleg4)
Allegro version 4.4.2 readkey(3alleg4)