home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20411 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.2 KB

  1. 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
  2. From: per@front.se
  3. Newsgroups: comp.os.vms
  4. Subject: How to raw() the terminal
  5. Message-ID: <1993Jan5.161328.166@front.se>
  6. Date: 5 Jan 93 16:13:28 MET
  7. Distribution: world
  8. Organization: Front Capital Systems AB, Sweden
  9. Lines: 18
  10.  
  11. The VMS C Run-time library comes with a curses package, which suggests
  12. to me that it would be possible to implement a portable terminal forms
  13. package. However, to do input of, say, function keys in a portable
  14. way, you need to call raw().
  15.  
  16. Now, the VMS implementation of raw() does not work as it should. It
  17. should make getch() return immediately with a single character.
  18. Instead, it waits until five (5) characters have been typed, or after
  19. ten (10) seconds after a character has been typed. Weird!
  20.  
  21. So, has anybody seen a kosher version of raw() and noraw() for VMS?
  22.  
  23. Or, what is the canonical way to do input of both command lines and
  24. function keys in a portable way while using curses?
  25.  
  26. Per Lindberg (per@front.se)         !      __!__
  27. Front Capital Systems, Box 5727,    !  _____(_)_____  Ceci n'est pas une Piper
  28. 11487 Stockholm, Sweden. 8-6611510  !     !  !  !
  29.