home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!seunet!front.se!per
- From: per@front.se
- Newsgroups: comp.os.vms
- Subject: How to raw() the terminal
- Message-ID: <1993Jan5.161328.166@front.se>
- Date: 5 Jan 93 16:13:28 MET
- Distribution: world
- Organization: Front Capital Systems AB, Sweden
- Lines: 18
-
- The VMS C Run-time library comes with a curses package, which suggests
- to me that it would be possible to implement a portable terminal forms
- package. However, to do input of, say, function keys in a portable
- way, you need to call raw().
-
- Now, the VMS implementation of raw() does not work as it should. It
- should make getch() return immediately with a single character.
- Instead, it waits until five (5) characters have been typed, or after
- ten (10) seconds after a character has been typed. Weird!
-
- So, has anybody seen a kosher version of raw() and noraw() for VMS?
-
- Or, what is the canonical way to do input of both command lines and
- function keys in a portable way while using curses?
-
- Per Lindberg (per@front.se) ! __!__
- Front Capital Systems, Box 5727, ! _____(_)_____ Ceci n'est pas une Piper
- 11487 Stockholm, Sweden. 8-6611510 ! ! ! !
-