UNIX Links
I have a library of UNIX functions that duplicate kbhit() and getch()
from MSDOS and some signal handling and also some curses routines. This
is source code that has been tarred and gzipped. Feel free to
redistribute this to anyone you like. It has the following
functions :
- int getkey(int block,int raw,struct extended* e_keys) -
gets a key from the keyboard without waiting for the enter key - as
getch on msdos - also you can do non-blocking I/O with this function
- int kbdhit(int* input) - similar to
the MSDOS kbhit but also returns the key pressed if you pass it a
pointer to put the value of the key into otherwise the key is
discarded
- int termSetup(void) - sets up some
signal handling
- int Raw(void) - turns on 'raw' mode
- int noRaw(void) - turns off 'raw' mode
- int Cbreak(void) - turns on 'cbreak'
mode
- int noCbreak(void) - turns off 'cbreak'
mode
- int Echo(void) - turns on 'echo'
- int noEcho(void) - turns off 'echo'
- int wgetline(WINDOW* win,char* buf,int buf_size) - curses routine that
gets a line from the keyboard as long as the width of the window
- int wgettoken(WINDOW* win,char* buf,int buf_size,char* token) - as above but
tokenizes the line and returns the first token only
- int wgetkey(WINDOW* win) - as getkey but for
curses
- unixio.tar.gz
Some of the goodies I wrote, you can read about them
here
- logstats.pl
- killspam.pl
- suid.pl
- wrap.pl
- jmake
- hdump.tar.gz
Some of the following are not strictly UNIX links but they are related
somehow ;-)
- FreeBSD Homepage
- FreeBSD related stuff
- FreeBSD Documentation Project
- FreeBSD FAQ
- O'Reilly Associates - Source of good books on UNIX
- Linux Homepage
- NetBSD Homepage
- DEC UNIX
- Apache Server
- Walnut Creek
- Perl Homepage
- LaTeX help 1.1 - Table of Contents
- LaTeX2e Reference: Contents
- The draft of the proposed C standard (C9X) - local