TIP: Click on subject to list as thread! ANSI
echo: elebbs_support
to: All
from: Mike Ehlert
date: 2006-06-29 11:46:58
subject: [Spam] Re: EleBBS: Macros I might have missed...

* EleBBS Support List

Hi Marty,

> I looked (albeit not as hard as I probably should have), but I couldn't 
> find
> q-a text placement commands.  I need to re-update my email validation with
> ansis, so I need this information.

There are several ways you can place the cursor at an X-Y position from a
Q-A script.

Take a look at the Q-A documentation here, under the "Display" function:
http://pcmicro.com/elebbs/faq/doc/Q-A.TXT

These commands will work in either ANSI or Avatar:
`Gx,y:  Move cursor to screen location 'x,y'
            example: `G70,23:  goes to x=70, y=23
`Da,b:  Duplicate ascii character 'b', 'a' times
        Example: `D32,10:  displays 10 spaces.
`Xx:    Sets cursor to horizontal position 'x',
        which can be a vaule from 1 to 80.
`Yy:    Sets cursor to vertical position 'y',
        which can be a value from 1 to the length
        of the users display.
`X+n:   Moves cursor 'n' positions to the right.
`X-n:   Moves cursor 'n' positions to the left.
`Y+n:   Moves cursor 'n' positions down.
`Y-n:   Moves cursor 'n' positions up.

You can also use the SetX or SetY commands instead of using the Display
command, which are also documented in this file.

Since you are displaying an ANSI file, you could simply embed the ANSI
commands within this file to go to a certain location, such as
ESC[L;CH

Where L=Line number and C=Column number.

Regards,  Mike

_______________________________________________________________


--- Internet Rex 2.29
* Origin: The gateway at The Snake (2:280/4312.101)
SEEN-BY: 633/267 270
@PATH: 280/4312 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.