Functions | |
int | brlapi_getTty (int tty, const char *how) |
int | brlapi_getTtyPath (int *ttys, int nttys, const char *how) |
int | brlapi_leaveTty (void) |
int | brlapi_setFocus (int tty) |
The application must also specify how braille keys will be delivered to it. Two ways are possible: key codes and commands:
|
Ask for some tty, with some key mechanism
CONTROLVT="$(grep "using VT number" "/var/log/XFree86.$(echo "$DISPLAY" | sed -e "s/^.*::*\([0-9]*\).*$/\1/").log" | sed -e "s/^.*using VT number \([0-9]*\).*$/\1/")" CONTROLVT should also be propagated when running remote applications via ssh, for instance, along with BRLAPI_HOSTNAME and the authentication key.
|
|
Ask for some tty path, with some key mechanism
|
|
Stop controlling the tty
|
|
Tell the current tty to brltty This is intended for focus tellers, such as brltty, xbrlapi, screen, ... brlapi_getTty() must have been called beforehand to tell where this focus applies in the tty tree.
|