Xref: utzoo comp.unix.xenix.misc:89 comp.unix.xenix.sco:1438 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!uokmax!jodsmith From: jodsmith@uokmax.ecn.uoknor.edu (John Doug Smith) Newsgroups: comp.unix.xenix.misc,comp.unix.xenix.sco Subject: Input routines Message-ID: <1991Jan22.025305.28464@uokmax.ecn.uoknor.edu> Date: 22 Jan 91 02:53:05 GMT Sender: jodsmith@uokmax.ecn.uoknor.edu (John Doug Smith) Distribution: usa Organization: Engineering Computer Network, University of Oklahoma, Norman, OK Lines: 18 Does anyone have some good 'C' routines that control input. I have a SCO XENIX 2.3.2 with MS C 5.1. I use a compaq 386/20 and wyse 60 terminals. I have written some routines that work but they are clumsy to use. I am looking for a better way or at least fresh ideas. Things that I am looking for are the ability to set a feild width and limit the user to what they can do in that field such as: 1:limit to haw far they can type "if the field is 8 spaces wide they can only enter 8 characters" 2:if the field is 8 spaces they can not type past the end of the field or backspace through the beginning of the field. 3:the routines should be modular enough that they have a reasonable amount of versatility. I do have Terminfo and termcap and curses. Thanks jodsmith@uokmax.ecn.uoknor.edu