Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!ubc-cs!alberta!cpsc.ucalgary.ca!ctycal!ingoldsb From: ingoldsb@ctycal.UUCP (Terry Ingoldsby) Newsgroups: comp.os.os9 Subject: Kermit output needs I/O redirected on CoCo 3 Keywords: Kermit, CoCo 3 Message-ID: <514@ctycal.UUCP> Date: 22 Nov 90 19:38:34 GMT Organization: The City of Calgary, Ab Lines: 25 I use Kermit on my CoCo 3, but find an interesting quirk. The version of Kermit is one I compiled on my original CoCo under OS9 level 1. Under level 2, everything works fine except that I have to start kermit with the command: kermit cl /M1 >/w7 where /w7 is the window I'm using. If I don't redirect the output then it goes nowhere. I brought up level 2 OS9 with a 32 column window and found that the output naturally seems to end up at that window. I've perused the kermit source and it seems to do open() on file descriptors 0, 1 (which usually correspond to stdin and stdout). Obviously this is not the case with windows. Code compiled using fopen() works fine. I haven't had a chance to take a closer look at what is going on underneath (i.e. how fopen relates to open. Does anyone know what is happening before I spend time taking the thing apart? -- Terry Ingoldsby ctycal!ingoldsb%cpsc.ucalgary.ca Land Information Services or The City of Calgary ...{alberta,ubc-cs,utai}!calgary!ctycal!ingoldsb