*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: screen.lua | Section: 8 | Source: FreeBSD | File: screen.lua.8.gz
SCREEN.LUA(8) FreeBSD System Manager's Manual SCREEN.LUA(8) NAME screen.lua - bootloader screen manipulation module DESCRIPTION screen.lua contains functionality for manipulating the screen. This includes functionality such as clearing the screen, moving the cursor, and setting foreground/background colors using sequences provided by color.lua(8). Before using the functionality provided by screen.lua, it must be included with a statement such as the following: local screen = require("screen") The following variables are exported from screen.lua: screen.default_x The x component of the default cursor position. screen.default_y The y component of the default cursor position. The following functions are exported from screen.lua: screen.clear() Clears the screen. screen.clear() will do nothing if a serial boot is detected. screen.setcursor(x, y) Sets the cursor position to x, y. screen.setcursor() will do nothing if a serial boot is detected. screen.setforeground(color_value) Sets the foreground color to color_value, which should be a constant defined in color.lua(8). screen.setforeground() will do nothing if color is disabled. screen.setbackground(color_value) Sets the background color to color_value, which should be a constant defined in color.lua(8). screen.setbackground() will do nothing if color is disabled. screen.defcolor() Sets the default color scheme, as defined by color.default(). screen.defcolor() will do nothing if color is disabled. screen.defcursor() Sets the default cursor position to that defined by screen.default_x, screen.default_y. SEE ALSO color.lua(8) AUTHORS The screen.lua file was originally written by Pedro Souza <[email protected]>. Later work and this manual page was done by Kyle Evans <[email protected]>. FreeBSD 14.1-RELEASE-p8 March 29, 2025 FreeBSD 14.1-RELEASE-p8

Navigation Options