🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26366

Re: VT52 Macros

#26366
From: sansom
Date: Fri, 17 Apr 1987 16:04
25 lines
1728 bytes
In article <1777@trwrb.UUCP> sansom@trwrb.UUCP (Richard Sansom) writes:
>/*
> * These four macros manipulate the cursor as you might
> * expect - they move it 1 character in the indicated direction.
> */
>#define Cursor_Up()	    gemdos(9,"\033A");
>#define Cursor_Dn()	    gemdos(9,"\033B");
>#define Cursor_Rt()	    gemdos(9,"\033C");
>#define Cursor_Lf()	    gemdos(9,"\033D"); <------|
                                                      |
I don't know how (or when) all of those ";"s got in there!  They don't
hurt anything, but they are kind of messy (every vt52 macro of the form
"Something();" will expand to "gemdos(9,"something");;".  If you care about
such things, then you should remove them from every line in which they
appear as the last character (don't remove the ones which appear in
between two function calls though).

Sorry for the trouble.

-Rich
-- 
   /////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  /// Richard E. Sansom                   TRW Electronics & Defense Sector \\\
  \\\ {decvax,ucbvax,ihnp4}!trwrb!sansom  Redondo Beach, CA                ///
   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////
Technical Details
Message-ID: <1778@trwrb.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!sdcrdcf!trwrb!sansom
References: <1777@trwrb.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!sdcrdcf!trwrb!sansom
From: sansom@trwrb.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: VT52 Macros
Message-ID: <1778@trwrb.UUCP>
Date: Fri, 17-Apr-87 11:04:25 EST
Article-I.D.: trwrb.1778
Posted: Fri Apr 17 11:04:25 1987
Date-Received: Sun, 19-Apr-87 01:04:33 EST
References: <1777@trwrb.UUCP>
Reply-To: sansom@trwrb.UUCP (Richard Sansom)
Organization: TRW EDS, Redondo Beach, CA
Lines: 25