Re: Control sequences to ZVT-Terminal



dav wrote:

If I use the sintax:

write(zvt->vx->vt.keyfd, string, sizeof(string));

to send contro characters to the terminal nothing works.
The same sequence works with the command line:
echo -e "\033>"

(this sequences re-enables the numeric pad)
I think that since "zvt->vx->vt.keyfd" emulates a keystroke the terminal
ignores it as control sequence.
Does the zvt_term_feed() function do what you want? Generally, if you find yourself needing to poke that deep into a structure you are doing it wrong.

James.

--
Email: james daa com au              | Linux.conf.au   http://linux.conf.au/
WWW: http://www.daa.com.au/~james/ | Jan 22-25 Perth, Western Australia.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]