• Yet another baja question

    From Hellfire@VERT/ARCADIA to All on Monday, February 13, 2006 18:11:00
    I have another "dumb" question :-)

    I've been through the docs several times and can't seem to find a function do move the cursor to a set postion on the screen (example: move cursor to line
    4 3 character spaces in). Any suggestions?

    Right now I'm using a combination of displaying a menu the haveing several ansis that are blank just a homed cursor to handle logins and new user applications. A locate cusor command would greatly simplify this. :-)

    thanks for the help!

    ---
    þ Synchronet þ -==<Arcadia - arcadia.servebbs.org>==-
  • From Angus McLeod@VERT/ANJO to Hellfire on Tuesday, February 14, 2006 00:56:00
    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