Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site utcsri.UUCP Path: utzoo!utcsri!traill From: traill@utcsri.UUCP (J. Traill) Newsgroups: net.micro.pc,net.dcom Subject: Problems with a BASIC Terminal Program Message-ID: <1116@utcsri.UUCP> Date: Tue, 14-May-85 13:25:13 EDT Article-I.D.: utcsri.1116 Posted: Tue May 14 13:25:13 1985 Date-Received: Tue, 14-May-85 13:31:05 EDT Reply-To: traill@utcsri.UUCP (J. Traill) Organization: CSRI, University of Toronto Lines: 32 Keywords: GW-BASIC , Communications I have all but given up attempts to compose a BASIC terminal program for my SANYO computer (IBM-compatible) in GW-BASIC. Here is a brief version of the root of the program: 10 OPEN "COM1:300" AS #1 20 COM(1) ON 30 ON COM(1) GOSUB 1000 40 A$ = INKEY$ 50 IF A$ <> "" THEN PRINT#1, A$; 60 GOTO 40 70 : 1000 IF EOF(1) THEN RETURN 1010 B$ = INPUT$(1,1) 1020 PRINT B$; 1030 GOTO 1000 Strangely, the program seems to be able to handle DATAPAC (the Canadian data communications network) quite fine, but gives repeated DEVICE I/O errors when used with anything else ? I can find no good reference to the possible cause of DEVICE I/O error in communications so I really can't identify what needs to be changed. I am, of course, assuming the SANYO communications are handled, through BASIC, identically to IBM BASICA. ; -- The ATHENIANS Project - Victoria College, U of T CanMail: 85 Charles Street West, Toronto, Ontario NetMail: traill@utcsri -----------------------