Subj : custom matrix login menu
To : Nightfox
From : Lesser Keys
Date : Sun Apr 05 2015 03:00 pm
Re: custom matrix login menu
By: Nightfox to Lesser Keys on Fri Oct 25 2013 08:30 pm
LK>> I am working on a custom logon matrix menu. I have a few questions.
LK>> First question, Is there a way to load a picture into the script
LK>> without it redrawing the menu every time someone presses an arrow
LK>> key to move. I cant figure it out. It works ok I guess but the
LK>> script must redraw the menu every time someone moves the light
LK>> bar...And also I would like to put ansi around the enter user name
LK>> and password part. I cant seem to get the ansi to fit around the
LK>> text instead it covers the text or it is in the wrong place...
LK>> thanks
Ni> Generally speaking (without seeing the specifics of your code), what you'd
Ni> need to do is to display the ANSI, then display your lightbar menu and
Ni> have it do basically an input loop and respond to arrow keys, etc. and
Ni> only redraw the menu components.
Okay, thanks! I have another question. It maybe stupid, or not make sence. How
do I load the ansi, and embed the lightbar menu inside tha ansi.
I guess I could execute the baja script for the light bar inside the ansi file.
Using the following @EXEC:MODNAME@
And for the curor inside tha ansi by
@codes@
UP Move cursor up one row (ANSI) 3.0b
UP:n Move cursor up n rows (ANSI) 3.0b
DOWN Move cursor down one row (ANSI) 3.0b
DOWN:n Move cursor down n rows (ANSI) 3.0b
RIGHT Move cursor right one column (ANSI) 3.0b
RIGHT:n Move cursor right n columns (ANSI) 3.0b
LEFT Move cursor left one column (ANSI) 3.0b
LEFT:n Move cursor left n columns (ANSI) 3.0b
GOTOXY:x,y Move cursor to x/y (1-based) (ANSI) 3.0b
PUSHXY Save current cursor position (ANSI) 3.0b
POPXY Restore saved cursor position (ANSI) 3.0b
Inside the ANSI I am trying to display.
I am thinking I would have to create a color to highlight the selected text.
Also, setting a variable for each arrow key, or by using w,a,s,d. I have no
idea how to set a variable for arrow keys..I am sifting through baja
documentation for find this.
I am guessing I need to find some lightbar *.src files for baja to as well. I
can't seem to find any.
Thanks for your time.
Regards,
... A seeming ignorance is often a most necessary part of worldly knowledge.
Solomon's Temple BBS
Home to Starr-Net
Telnet://solomonstemplebbs.com,
https://solomonstemplebbs.com
---
� Synchronet � Solomon's Temple telnet://solomonstemplebbs.com, Home to Starr-Net