I saw a Telnet login interface on the Shuimu Tsinghua BBS. It is very similar to a cmd window,
but it feels much better than a cmd window: colored text, and especially the function of using the up, down, left, and right arrow keys to choose and enter different module areas is very convenient.
As far as I know, when a cmd window offers users choices, it seems they always have to type a letter or a number and then press Enter to confirm, which is time-consuming and troublesome. So my question is:
How can a cmd window also let users choose operations with the up, down, left, and right arrow keys? (It would be even better if it could also use colored text.)
You can go there and experience for yourselves how convenient and user-friendly that Telnet login interface is.
Here is the URL:
http://www.smth.edu.cn/frames.php
Added at noon on January 19:
Different lines display different colors
I also found another post, where one line can display different colored characters:
http://www.cn-dos.net/forum/viewthread.php?tid=25797&fpage=7
But this is still some distance from what we want. It needs to be integrated. Still working on it......
[ Last edited by plp626 on 2008-4-27 at 02:22 AM ]
but it feels much better than a cmd window: colored text, and especially the function of using the up, down, left, and right arrow keys to choose and enter different module areas is very convenient.
As far as I know, when a cmd window offers users choices, it seems they always have to type a letter or a number and then press Enter to confirm, which is time-consuming and troublesome. So my question is:
How can a cmd window also let users choose operations with the up, down, left, and right arrow keys? (It would be even better if it could also use colored text.)
You can go there and experience for yourselves how convenient and user-friendly that Telnet login interface is.
Here is the URL:
http://www.smth.edu.cn/frames.php
Added at noon on January 19:
Different lines display different colors
@echo off&setlocal&cls&title Color in Cmd
mode con cols=38 lines=10
echo.&echo/&echo(
set "a= One World One Dream!"
set "b= You are Pig"
set "c= Let's all say-FUCK"
call:9527 0a "%a%"
echo.&echo/&echo(
call:9527 0e "%b%"
echo.&echo/&echo(
call:9527 0c "%c%"
pause>nul
goto :eof
:9527
Pushd %Temp%
echo.>%2
findstr /a:%1 .* "%~2?"
popdI also found another post, where one line can display different colored characters:
http://www.cn-dos.net/forum/viewthread.php?tid=25797&fpage=7
@echo off
:: Display colored characters on a single line; the color value does not affect any line other than this one
::
:: Var Redtek 2006 - bbs.cn-dos.net
set "var=A$_MOV,AH,09$_MOV,AL,2A$_MOV,BH,00$_MOV,BL,0E$_MOV,CX,0020$_INT,10$_"
set "var=%var%MOV,BL,0A$_MOV,CX,000A$_INT,10$_INT,20$_$_g$_q$_"
echo exit|%ComSpec% /k prompt %var%|debug>nulBut this is still some distance from what we want. It needs to be integrated. Still working on it......
[ Last edited by plp626 on 2008-4-27 at 02:22 AM ]
Recent Ratings for This Post
( 1 in total)
Click for details
| Rater | Score | Time |
|---|---|---|
| 523066680 | +2 | 2008-04-25 13:46 |
