Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!rice!sun-spots-request From: CYBQC@cunyvm.cuny.edu Newsgroups: comp.sys.sun Subject: SUNCORE Keywords: Miscellaneous Message-ID: <1990Aug2.003210.17838@rice.edu> Date: 1 Aug 90 02:37:03 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 291, message 5 I have a big project due next week, and I am stuck at an impass, and would appreciate any helped emailed to me as soon as possible. I need to get input into a suncore program on a sparc. I have everything initialized, and I think it is working, but I can't get the data out... here's the setup so far (everything not mentioned is initialized (i think)) char *input_string; int *length; await_keyboard (40000,1,&input,&length); switch (&input_length) { case 'l': and so on. I believe the await_k is working as there is a delay, but I can't seem to get the value entered. What is wrong? I've tried using *inp... in the switch and other combos, but those just give me core dumps, is there something else I should know? Or perhaps a different way? * Stephen 'Cyberpunk' Leavitt * * CYBQC@CUNYVM.CUNY.EDU 75475,122@COMPUSERVE *