Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!UREGINA1.BITNET!PAWELKDA From: PAWELKDA@UREGINA1.BITNET (Darrel Pawelka) Newsgroups: comp.lang.forth Subject: Setting cursor routines for the Forth editor Message-ID: <8905221311.AA00762@lilac.berkeley.edu> Date: 20 May 89 23:18:13 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Forth Interest Group International List Organization: The Internet Lines: 44 I have looked for the first time into my version of Forth called FORTH 83, ver. 2.1 by Henry Laxen & Mike Perry, a version which I am sure some of you are ac- quainted with. Since I am new to Forth, many of the words are unfamiliar to me, though I understand the general methodology of Forth. Presently I need help in setting up the cursor routines necessary for the in-built Forth editor to work with my Zenith Eazy-PC terminal/monitor combination. Moreover, this version of Forth works under an MS-DOS host operating system. The instructions give as an example how to tell Forth about the cursor routines for an ADM-3A terminal. I quote this example without comments below: 1 EDIT 10MAR84HHL 0 NEW \ CURSOR ROUTINES FOR AN ADM-3A TERMINAL EDITOR DEFINITIONS : ADM-AT 27 EMIT ASCII = EMIT 32 + EMIT 32 + EMIT ; : ADM-DARK CONTROL Z EMIT ; : ADM-3A ['] .ALL IS .SCREEN ['] ADM-AT IS AT ['] ADM-DARK IS DARK ['] NOOP IS -LINE ['] (BLOT) IS BLOT ; ADM-3A DONE (Commands after this verify the the cursor routines etc. installed above. If " marks appear on your screen somehere in the above definition, they should be construed as open & closed brackets, which do not always show up in VM or CMS.) I would like someone to post a comparable definition to the one above for in- stalling the editor-screen and cursor routines suitable with a Zenith EaZy-PC & its E.I.A. 343 Model No. 14ZDC3 attached monitor (or compatible configuration) running MS-DOS 2.0 or later. If they are relevant, I would like the definition to provide routines for any of "Home, End, PgUp, PgDn, Ins, Del". I would like to know the Forth theory behind the creation of these screen routines. But if no one can come up with these definitions straight off, please point me to the sources of information that would enable me to understand and define these rou- tines on my own. Once I get past this hurdle, I will be able to start program- ming in FORTH! Thanks in advance; Darrel.