7 More Discussions You Might Find Interesting
1. Programming
Hello friends! i am writing a code in which i take inputs (numbers) from user and count the total number of positive, negative and zeros entered. I need to clear my standard input buffer before scanf() command. My compiler is completely ignoring the fflush(stdin) command. its not even showing any... (1 Reply)
Discussion started by: Abhishek_kumar
1 Replies
2. UNIX for Dummies Questions & Answers
Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it.
I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies
3. HP-UX
Hi,
How can i clear the command. Suppose using esc k i retrieved teh command, but for some reason I want to clear and type fresh one... how can i do that.
thx (2 Replies)
Discussion started by: bang_dba
2 Replies
4. Programming
Hello,
I am having trouble clearing the serial port buffer using the iclear and iflush commands. The code runs without errors being returned, but when I check the buffer again there is still data.
The only way I have so far is to read until there is nothing left in the buffer. Shouldn't one... (1 Reply)
Discussion started by: sammy-e
1 Replies
5. UNIX for Dummies Questions & Answers
hi,
i have an unix command which is as follows:
ctmfw /work/CDFC/landing/ZORC.txt CREATE 0 60 1 10 240
I think a txt file called ZORC gets created in the mentioned directory, i am not sure what 0 60 1 10 240 is. Is my understanding correct and also let me know what those numbers denote?... (4 Replies)
Discussion started by: eljcmscrlk
4 Replies
6. Programming
When I worked with client-server (socket) programming, I encountered "the socket error# 10055" which means "No buffer space available". This might be a symptom of one or more applications that didn't return system resources (like memory) properly. Temporary solution was to reboot the machine to... (7 Replies)
Discussion started by: dipti
7 Replies
7. UNIX for Advanced & Expert Users
A Solaris AXI 440 machine with Solaris 8 version.
I have PC users who use an emulation to login to the Solaris
server.
How can I change the keyboard mapping of the Sun keyboard
to fit to the PC keyboard ?
Any comment will be appreciated.
Thanks (1 Reply)
Discussion started by: simhab
1 Replies
keyboard_update(3) Svgalib User Manual keyboard_update(3)
NAME
keyboard_update, keyboard_waitforupdate - process raw keyboard events
SYNOPSIS
#include <vgakeyboard.h>
int keyboard_update(void);
void keyboard_waitforupdate(void);
DESCRIPTION
These routines check the keyboard buffer for any raw keyboard events and do the necessary updates to the internal buffers of key-
board_clearstate(3) and keyboard_keypressed(3).
When there are no such events, keyboard_update() returns 0 immediately (non-zero else) whereas keyboard_waitforupdate() blocks and waits
until an event occurs.
vga_waitevent(3) allows to wait for keyboard and other events at the same time.
SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), keytest(6), eventtest(6), keyboard_seteventhandler(3), keyboard_init(3), key-
board_init_return_fd(3), keyboard_close(3), keyboard_setdefaulteventhandler(3), keyboard_getstate(3), keyboard_clearstate(3), key-
board_translatekeys(3), keyboard_keypressed(3), vga_waitevent(3)
AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the
original documentation is unknown.
It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>.
Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections
to this first version of the svgalib manual.
Svgalib (>= 1.2.11) 27 July 1997 keyboard_update(3)