Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site sjuvax.UUCP Path: utzoo!watmath!clyde!akgua!psuvax!burdvax!sjuvax!bbanerje From: bbanerje@sjuvax.UUCP (B. Banerjee) Newsgroups: net.info-terms,net.micro.apple Subject: Re: need termcap entry for Apple Macintosh Message-ID: <255@sjuvax.UUCP> Date: Thu, 12-Apr-84 19:35:43 EST Article-I.D.: sjuvax.255 Posted: Thu Apr 12 19:35:43 1984 Date-Received: Sun, 15-Apr-84 05:45:59 EST References: <204@lzmi.UUCP> Organization: Saint Josephs Univ. Phila., Pa. Lines: 23 >> Now that I have the BASIC program which was posted to net.sources which >> lets my Mac behave like a terminal over the RS-232 port, I need the >> appropriate termcap info so that I can use vi, etc. Ok, how about the following - su|dumb|un|unknown:\ :am:bl=^G:co#80:cr=^M:do=^J:nl=^J:bs:li#24:eo: Seriously, If you look at the code, it basically just grabs a character at a time from the input and displays it. If you want to modify it for cursor control and the like, you will have to replace lines 3080 and 4060 with the BASIC equivalent of a switch statement that can intercept the characters, decide if they are control codes, and call the appropriate system routines. Don't ask me to do it. I can't afford a MAC. Regards, -- Binayak Banerjee {allegra | astrovax | bpa | burdvax}!sjuvax!bbanerje