Path: utzoo!attcan!uunet!amgraf!huver From: huver@amgraf.UUCP (Huver) Newsgroups: comp.sys.amiga.tech Subject: RE: Stevie chokes when being run. Message-ID: <214@amgraf.UUCP> Date: 3 Jan 89 00:07:03 GMT Organization: Amgraf Inc., Kansas City Lines: 35 There were some comments about how the Stevie editor doesn't start up right when `run' command is used. In Stevie, the `amiga.c' utilizes Input() and IsInteractive() functions as a guide to determine whether it is running interactively, from the current window (the one CLI or AmigaShell uses). This is obviously not a good choice. If we use the example below: /* test.c */ #include #include main() { struct FileHandle *mytty, *Input(); BOOL type, IsInteractive(); mytty = Input(); type = IsInteractive(mytty); printf("type = %d\n", type); } One would get (with both CLI and AmigaShell): 1> test 1> run test 1> test