how people do their "extended" readline() ??
how to do an "extended" keyboard readline() ??
like eg :: i got a readline() waiting for input but what if i would like to go into another "enviroment" after intake of certain "key values" like what we seen in some disk programs ...
eg::
everytime i give a %JK%SET% something true , that will set something to true but its a litle bit troublesome ... i would like to just gives a %JK%SET%! and that will go into %JK%SET% enviroment , from there i just need to give a something true and thats it ... and by giving a !q that will exit the %JK%SET% enviroment and return me to the initial "global" enviroment ...
my thinking is to "spawn" a new readline() enviroment or are there any other better possibilities ??
//not urgent ...
//thanks in advance ...
.
Last edited by alred; 07-22-2006 at 11:39 PM.
|