• Cursor positioning...

    From Knightmare@RIVERNET to All on Wed Oct 11 05:01:00 2000
    Is there some documenation that explains how to force the cursor then the input rather than after an CRLF?

    For example during logon; have the cursor land on X,Y then go to the next assigned X,Y for the password? I've seen this on another board which the name escapes me...

    TIA!


    ---
    ■ Synchronet ■ KnightMare's BBS - Billings, MT USA - Synchronet 3.00
  • From PistolGrip@WASTELND to Knightmare on Wed Oct 11 09:24:00 2000
    RE: Cursor positioning...
    BY: Knightmare to All on Wed Oct 11 2000 12:01 pm

    Is there some documenation that explains how to force the cursor then the in rather than after an CRLF?

    For example during logon; have the cursor land on X,Y then go to the next assigned X,Y for the password? I've seen this on another board which the nam escapes me...

    Sure, you just use ANSI codes for cursor placement. I've done this several times here. I don't know of any docs per se, but all you really need to do is find the proper ANSI codes and use them for positioning. This will only work with ANSi capable clients.

    Dave

    ---
    ■ Synchronet ■ WasteLand BBS ■ telnet://wasteland.darktech.org
  • From Digital Man to Knightmare on Wed Oct 11 11:34:13 2000
    RE: Cursor positioning...
    BY: Knightmare to All on Wed Oct 11 2000 12:01 pm

    Is there some documenation that explains how to force the cursor then the in rather than after an CRLF?

    For example during logon; have the cursor land on X,Y then go to the next assigned X,Y for the password? I've seen this on another board which the nam escapes me...

    There are a bunch of @-codes that do this type of thing. See DOCS\@CODES.TXT for a complete list.

    Rob

  • From Knightmare@RIVERNET to PistolGrip on Wed Oct 11 15:40:00 2000
    RE: Cursor positioning...
    BY: PistolGrip to Knightmare on Wed Oct 11 2000 04:24 pm

    Ummmmmmmmmm... okay but:

    1. How to I home the cursor then move them to X,Y

    2. Tell the board to place the cursor there and wait for input?

    I feel like a total moron here... :o(



    ---
    ■ Synchronet ■ KnightMare's BBS - Billings, MT USA - Synchronet 3.00
  • From Amcleod to Knightmare on Wed Oct 11 23:33:51 2000
    RE: Cursor positioning...
    BY: Knightmare to PistolGrip on Wed Oct 11 2000 10:40 pm

    Ummmmmmmmmm... okay but:

    1. How to I home the cursor then move them to X,Y

    2. Tell the board to place the cursor there and wait for input?

    I feel like a total moron here... :o(

    Go to Google and search for "ANSI.SYS escape codes".
  • From Digital Man to Amcleod on Thu Oct 12 05:00:01 2000
    RE: Cursor positioning...
    BY: Amcleod to Knightmare on Thu Oct 12 2000 06:33 am

    Ummmmmmmmmm... okay but:

    1. How to I home the cursor then move them to X,Y

    2. Tell the board to place the cursor there and wait for input?

    I feel like a total moron here... :o(

    Go to Google and search for "ANSI.SYS escape codes".

    Or better yet, just use the cursor positioning @-codes in v3 (see docs\@codes.txt).

    Rob
  • From Finnigann to all on Thu Oct 12 08:01:00 2000
    RE: Cursor positioning...
    BY: Knightmare to PistolGrip on Wed Oct 11 2000 10:40 pm

    Ummmmmmmmmm... okay but:

    1. How to I home the cursor then move them to X,Y

    2. Tell the board to place the cursor there and wait for input?

    I feel like a total moron here... :o(

    Go to Google and search for "ANSI.SYS escape codes".

    But can't we play with it here?


    http://www3.sympatico.ca/rhwatson/dos7/v-ansi-sys.html


    Text Editor

    To enter the "ESC" character

    Displays as: [in edit] Ctrl-P followed by "ESC"




    Cursor Positioning

    ANSI Code
    Cursor Position
    Where...
    "Esc"[r;cH Moves the cursor to line r and column c
    If omitted, r and c both default to 0 (ie. the cursor "Esc"[r;cf moves to the top left corner of the screen)
    r is the line number
    c is the column number
    n is an integer

    "Esc"[nA Moves the cursor up n lines (or top of
    screen)

    "Esc"[nB Moves the cursor down n lines (or bottom of
    screen)

    "Esc"[nC Moves the cursor right n columns (or right hand
    side of screen)

    "Esc"[nD Moves the cursor left n columns (or left hand side of
    screen)

    "Esc"[s Saves current cursor position

    "Esc"[u Restores cursor to previously saved position
    ---
    ■ OLXWin 1.00b ■ It's only a hobby ... only a hobby ... only a
  • From Amcleod to Digital Man on Thu Oct 12 09:22:02 2000
    RE: Cursor positioning...
    BY: Digital Man to Amcleod on Thu Oct 12 2000 12:00 pm

    Go to Google and search for "ANSI.SYS escape codes".

    Or better yet, just use the cursor positioning @-codes in v3 (see docs\@codes.txt).

    Hey, cool!