Disabling Memory-Mapped Mode

To force a memory-mapped console to work as a non-memory-mapped terminal, you need to change the value of the global variable _wnmemmap in your code before calling vv_init(), as follows:

wnmemmap = 0;

vv_init();

...

If _wnmemmap has a value of 0, vv_init() will not check for the presence of a memory-mapped terminal. Your TERM or VVTERM environment variable, which tells Vermont Views what type of terminal you are using, must be set to the type of non-memory-mapped terminal that the console is emulating.


Home Contents Previous Next