Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
vga_gettextmoderegs(3) Svgalib User Manual vga_gettextmoderegs(3)

vga_gettextmoderegs, vga_settextmoderegs - get/set the vga state used in text mode

#include <vga.h>
void vga_gettextmoderegs(void *state);
void vga_settextmoderegs(void *state);

The functions gives access to the buffer where svgalib saves the vga state which is use when the kernel displays text on the SVGA. This is used by the restoretextmode(1), savetextmode(1), and textmode(1) utilities to restore a possibly screwed console.
The buffer currently occupies 385 bytes. It can't do any harm to make it substantially larger to allow for future enhancements.

svgalib(7), vgagl(7), libvga.config(5), restorefont(1), restoretextmode(1), restorepalette(1), savetextmode(1), textmode(1), vga_dumpregs(3), vga_gettextfont(3), dumpreg(1)

This manual page was edited by Michael Weller <>. The exact source of the referenced function as well as of the original documentation is unknown.
It is very likely that both are at least to some extent are due to Harm Hanemaayer <>.
Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual.
27 July 1997 Svgalib (>= 1.2.11)

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.