3k Associates Inc HP3000 FAQ TWiki TWiki > TWiki > HP3000FAQ > Hp3000Development > Hp3000ProgrammingFeatures > Hp3000FopenTerminal TWiki webs:
Main | TWiki | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }

How to Fopen a terminal for read/write operations on an HP3000

I've had good luck with:

:FILE term,NEW;DEV=nnn;ACC=INOUT

This allows both read and write to the ldev (if it's AVAILable) and doesn't generate a REPLY request on the console.

Also be sure to check the Condition Code after the FOPEN to ensure it actually worked. Call PRINTFILEINFO if it's not CCE and that should give you a good FSERROR number to lookup.

--RichTrapp?

-- ChrisBartram - 09 Jun 2006



Topic Hp3000FopenTerminal . { Edit | Attach | Backlinks: Web All webs | Printable | History: r2 < r1 More }
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.Hp3000FopenTerminal