Path: utzoo!utgpu!utorvm!ryerson!acps2924 Organization: Ryerson - Academic Computing Services Date: Tuesday, 18 Jun 1991 10:23:11 EST From: Message-ID: <91169.102311ACPS2924@Ryerson.Ca> Newsgroups: comp.unix.xenix.sco Subject: Keyboard SCAN MODE I'm using sco unix/386 and i'm trying to put the keyboard into something called raw mode. so i can read the keys in the dos fashion; key = getc(); if (key == 0) // extended key { key = getc(); key = decode_key(0,key); } else key = decode_key(key,0); Im trying to read the decode the keyboard , reading all the Fxx ALTxx CTRLxx and PGUP .... keys correctly. THe code SCO sent me which was not in the docs causes the entire system to crash. Any code fragments or advice would be helpfull.... Peter +----------------------------------------------------------------------+ acps2924@ryerson.ca ! Who is the ! If plumbers designed toilets like ! user,pray, ! software professionals design tools, ! and who is ! we'd be up to our knees in crap. ! the used ? ! - Charles A. Rovira +----------------------------------------------------------------------+