Input routines
John Doug Smith
jodsmith at uokmax.ecn.uoknor.edu
Tue Jan 22 13:53:05 AEST 1991
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 at uokmax.ecn.uoknor.edu
More information about the Comp.unix.xenix.misc
mailing list