rob@lzmi.UUCP (04/06/84)
[This space available...] 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. I know that MacTerm, whenever it is available, will emulate VT100s and VT52s, but that is sometime in the future and I want to use my Mac as a terminal NOW!!! Please respond via mail, and I will summarize and post the results. If you don't know the answer, please don't ask me; I promise to post whatever I receive within a week. -- { { { __________ { { { { (_)________) ==> {{{{{{{{{ ......throwing another log on the fire.... ___________ Rob Coben ...!hogpc!pegasus!lzmi!rob O (_)_________) O AT&T IS LZ - 3B225 __|_______ _______|__ (_)|_______))______|__) =====|===============|====== T T
bbanerje@sjuvax.UUCP (B. Banerjee) (04/13/84)
>> 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