Re: Redirecting input for PROMPT Statement
Posted in 1995
CRAIG@CHEMISTRY.CHEM.UTAH.EDU — — source: Informix-list mailing list archive (1991-1998)
The statment in the example was: PROMPT "Are you done" FOR CHAR ans In this case, I believe the echo/pipe trick will always work. The "FOR CHAR" will trigger on the typed character no matter what your accept key is. If the statement is something else, then perhaps something like: echo "y^]" | fglgo test1 will work. (Entered, using vi, as Control-V + Escape) --Craig (craig@chemistry.utah.edu) > > > > > Chris, > > > > How about: > > > > echo "y" | fglgo test1 > > > > I've tried it on my system and it seems to work. > > > > You might want to check and see what your ACCEPT KEY is defined as. Probably > won't work if its the default ESC. >