Hello,
seems i got my thing (finally) working with Term::Visual, but there's
still stuff that needs some tweaking....
seems i can't get the control over the colors correctly....
is there somewhere a description about which colorname corresponds to
what? my termcap seems to be recognized correctly since the statusbar
is in blue, but it seems i am unable to colorate certain lines?
i tryed the following:
$this->{"term"}->set_palette(thiscolor => "green on black" );
$this->{"term"}->print($this->{"termid"}, $prompt.$input);
$this->{"term"}->set_palette( %palette );
i switched the whole list: ncolor, st_values, st_frames, stderr_text,
stderr_bullet, statcolor
without any success in changing anything....
the interesting thing is that trying to change the color yields no
effect perl wise too: reading the palette after a change attempt give
the original result and not the expected one....
what i want is evidenciating the echo lines of the text directly typed
in....
at first i wanted to use readline since it has all the features i
need, but i didn't manage to get that working...
now i am wondering if i can get something similar as readline running
with visual...
as soon as i put Use_Status => 0, the thing stops working.... is
there a way to get rid of that status bar in favour of a proper
prompt?
then is there any chance to have a tab completion mechanism
integrated? i only need word completion, nothing fancy, get the
beginning of the word, and compare it with a list, proposing at simple
tab the nextfar completion, and with double tab the list of possible
completions? (would be nice to have separate command and arg
completion).
i overflew the visual code, but there seems to be no calls back
inserted, does this mean i have to tweak the code of the term library
itself?
then most events were taken over (the annoying ones: mouse events are
catched, so no more cut&paste, any chance to revert that one?)
unfortunately page up and page down have the original meaning, which
isn't what i want, and the cursors scroll the screen instead of
scrolling the command history, any tip on how to change that one?
--
ciao bboett
==============================================================
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett
===============================================================