Re: Yet another baja question
By: Hellfire to All on Mon Feb 13 2006 18:11:00
I've been through the docs several times and can't seem to find a function d move the cursor to a set postion on the screen (example: move cursor to line 4 3 character spaces in). Any suggestions?
Actually, it can't be done *unless* the callers terminal is ANSI enabled. Then you simply print the ANSI cursor-positioning sequence to the users terminal and the cursor moves.
You can use some at-codes to make life easier on yourself, such as UP,
DOWN, LEFT, RIGHT, GOTOXY, and so forth (go and look at your documentation
and check out file:///sbbs/docs/customization.html about halfway down for details). Or you can emit the ANSI sequences directly. Google for
something like "ANSI control sequences" for more details.
---
Playing: "Dazed & confused" by "Led Zeppelin"
from the "Led Zeppelin" album
■ Synchronet ■ Where we BAJA Rob into writing our modules. The ANJO BBS