• Insert/Overwrite with getstr()

    From Blakdeth@VERT/MASQBBS to All on Fri May 30 20:46:36 2008
    I am currently working on a Javascript Synchronet (3.15a) modification that uses the console.getstr() to allow the user to edit a line of text.

    I would like the user to be able to select either insert or overwrite mode while editing this string. While ^V works for this purpose, I am hoping to also allow the use of the INS key. Currently, when the user is editing the string, pressing INS generates "[@" instead of toggling the input mode.

    Is there a way to capture this key press?

    Thanks,
    -bd
    --
    Blakdeth
    Masquerade BBS // telnet://masqueradebbs.com
    http://www.masqueradebbs.com // blakdeth@masqueradebbs.com


    ---
    þ Synchronet þ Masquerade BBS - http://www.masqueradebbs.com
  • From Deuce@VERT/SYNCNIX to Blakdeth on Fri May 30 23:28:00 2008
    Re: Insert/Overwrite with getstr()
    By: Blakdeth to All on Fri May 30 2008 01:46 pm

    I would like the user to be able to select either insert or overwrite mode while editing this string. While ^V works for this purpose, I am hoping to also allow the use of the INS key. Currently, when the user is editing the string, pressing INS generates "[@" instead of toggling the input mode.

    Is there a way to capture this key press?

    Yeah... I added a fix... get tomorrows nightly build. :-)

    Out of curiosity, do you know what client was being used?

    ---
    Synchronet - Jump on the Web 0.2 bandwagon!

    ---
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)
  • From Blakdeth@VERT/MASQBBS to Deuce on Sat May 31 15:54:25 2008

    I would like the user to be able to select either insert
    or overwrite mod while editing this string. While ^V works
    for this purpose, I am hoping t also allow the use of the
    INS key. Currently, when the user is editing th string,
    pressing INS generates "[@" instead of toggling the input
    mode. Is there a way to capture this key press?

    Yeah... I added a fix... get tomorrows nightly build. :-)
    Out of curiosity, do you know what client was being used?

    Yes. It was SyncTERM 0.9.1

    Thanks Deuce!
    --
    Blakdeth
    Masquerade BBS // telnet://masqueradebbs.com
    http://www.masqueradebbs.com // blakdeth@masqueradebbs.com


    ---
    þ Synchronet þ Masquerade BBS - http://www.masqueradebbs.com