PV9Y@cornella.BITNET (01/06/87)
Received: by CORNELLA (Mailer X1.23b) id 6314; Tue, 06 Jan 87 09:32:06 EST Date: 06 January 87 09:32 EST From: PV9Y@CORNELLA Subject: speak2 To: INFO-ATARI16@SCORE.STANFORD.EDU Hi, I've tried and tried to get speak.tos to work with stspeech.tos now, and although I can get it to say line input, I cannot get it accept any kind of file. The problem seems to be that there are no reserved commands; the program simply says everything I type in, even if it is "speak <file.txt>" or whatever the docs said. I couldn't manage to get the uudecode/arc file working, but the author was kind enough to include the c source code, which I managed to compile and link and all that. Can anyone help ? Thanks, ACE (Adam C. Engst)
holloway@drivax.UUCP (Bruce Holloway) (01/07/87)
In article <8701061433.AA29591@ucbvax.Berkeley.EDU> PV9Y%CORNELLA.BITNET@forsythe.stanford.edu writes: > I've tried and tried to get speak.tos to work with stspeech.tos now, >and although I can get it to say line input, I cannot get it accept any >kind of file. Your problem is that you aren't including the I/O redirection code into your program. I/O redirection must be handled by the program itself, since GEMDOS ignores it (although the COMMAND.PRG shell knows what you mean; you could run it from there). I don't use Megamax C; but look in the manual for something that says I/O redirection or some such. BTW - The ARC'ed file worked fine for me... -- ....!ucbvax!hplabs!amdahl!drivax!holloway "What do you mean, 'almost dead'?" "Well, when you stop breathing, and moving around, and seeing things... that kind of almost dead."
smb.mdc@OFFICE-1.ARPA (01/12/87)
I/O redirection WILL work from the desktop. Just make sure the program has a .TTP file type and do the redirection o the command line. Also I've noticed that there must be NO spaces between the ">" or "<" and the file name. P.S. For those who are not familiar with I/O redirction, type ">filename" to redirect program output to a file and type "<filename" to redirect file data to replace keyboard input. I wrote the Speak program to use the standard input (the keyboard). However, file redirection will cause the program to read a file instead. Steve Bate ARPA: smb.mdc@office-1.arpa -------
ram-ashwin@YALE.ARPA (01/22/87)
> I've tried and tried to get speak.tos to work with stspeech.tos now, > and although I can get it to say line input, I cannot get it accept any > kind of file. ... You have to invoke STSPEAK.TTP directly (not through stspeech.tos), which will in turn invoke stspeech.tos appropriately. First rename stspeak.tos (or speak.tos) to stspeak.ttp (or speak.ttp), and then double-click on it. Type "<filename" for the parameter list (without the quotes, i.e., left-angle followed immediately by the name of the input file). Then sit back and listen. -- Ashwin. ARPA: Ram-Ashwin@yale UUCP: {decvax,linus,seismo}!yale!Ram-Ashwin BITNET: Ram@yalecs -------