CompuServe Thread

CanDo/SerialManager

7 messages in this thread
#389From: Mark OlbertSep 13, 1990 10:00 PM
Martin, I'd really appreciate that! BTW, even if it won't let me read text files, I think CanDo is pretty darn slick. Keep up the good work! -Mark
#449From: Martin MurraySep 15, 1990 12:47 PM
CanDo won't let you read text files? I don't get it. Why not?
#462From: Mark OlbertSep 15, 1990 5:58 PM
Martin, FileReadChars does not work correctly. It always reads 0 characters, regardless of how many you tell it to read. This makes it a little difficult to read text files, no? Or is there another way to do so? I called tech support about this and was told it was a known bug whose only workaround is to write some kind of program that could read a file and work through an ARexx port. I didn't want to go through that much trouble. (There's a small chance its FileWriteChars that has the problem…I don't recall exactly, and my application needed to use both routines.) BTW, I got my CanDo application which uses SerialManager to sort of work. Turns out I had forgotten to specify 'NORESULTS' on the SendMessage. It seems to me you don't ever need immediate results. If you set NORESULTS and the application you're communicating with sends a result it should show up at your ARexx ListenTo port. Or am I missing something? I've got a new problem with my application, however. When logging on to Tymnet (I think; one of the services, anyway) you have to type a terminal identifier (lower case 'a' or 'e'). I thought I could do this by: SetBufferSize 1 SetCRMode OFF SetAutoEOLMode OFF Send a (These would all be sent via 'SendMessage…,NORESULTS'). For some reason this does not work. Any ideas? Any luck tracking down that downloading application you mentioned earlier? – Mark
#514From: John PendergrassSep 16, 1990 12:40 PM
Mark, re your tymnet problem. Is is possible that Tynmet is expecting a CR or LF to signal the end of a reecive? Just a thought…. –jp–
#515From: Mark OlbertSep 16, 1990 1:21 PM
John, Hmmm, didn't think of that. What I'm relying on is my experience using BaudBandit. There, as part of the logon process, you have to hit the 'a' or 'e' key to get the TymNet logon prompt. I don't think there's a LF or CR involved, but at this point anything's worth a shot… – Mark
#657From: Martin MurraySep 18, 1990 11:32 PM
Mark, is it possible that you can substitute FileReadLine for FileReadChars? FileReadLine really works! Or perhaps can you load the entire text file into an internal Document Buffer and then process it from there? That might actually be a bit easier, depending on the size of the file, of course. If you specify NORESULTS to most ARexx programs, they will not send the result to an ARexx port instead. So, for example, if you want to talk to CygnusEd and find out the size of the buffer, you have to have results come back from it. I think the suggestion from John Pendergrass is a good one on your Serial Manager problem. Let me know, though. I have not yet found the BBS comm. Deck, but I did find a Deck which uses the SerialManager to talk to a Sony LaserDisc player and make it do things. I am cleaning it up a little right now, and adding a doc file of sorts. Look for it in a couple of days.
#854From: Mark OlbertSep 22, 1990 12:21 PM
Martin, Your suggestion re: FileReadLine or using the Document approach would be a good one, except I'm dealing with a giant file (it's a bitmap that I dump to a LaserJet II; I'm looking to control the number of times it's dumped) that isn't ASCII. – Mark