• Cursor positioning...

    From Knightmare@RIVERNET to All on Wednesday, October 11, 2000 05:01:00
    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 Wednesday, October 11, 2000 09:24:00
    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 Wednesday, October 11, 2000 11:34:13
    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 Wednesday, October 11, 2000 15:40:00
    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 Wednesday, October 11, 2000 23:33:51
    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 Thursday, October 12, 2000 05:00:01
    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 Thursday, October 12, 2000 08:01:00
    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 Thursday, October 12, 2000 09:22:02
    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!