summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol
Commit message (Collapse)AuthorAgeFilesLines
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-081-1/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* Print memory model of the video mode except for planar memory model.jkim2010-03-291-5/+32
| | | | | 'P', 'D', 'C', 'H', 'V' mean packed pixel, direct color, CGA, Hercules, VGA X memory models respectively where they have fixed number of planes.
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* Add a new flag to vidcontrol, -T, that allows terminal mode switching.ed2009-11-112-3/+22
| | | | | | This will make it more easy for people to experiment with TERM=xterm. Instead of echoing these strange escape sequences, I can just instruct them to run `vidcontrol -T xterm'.
* Tweak some wording and markup.ru2006-12-221-12/+13
|
* Remove bogus casts of valid integer ioctl() arguments.ru2006-09-261-2/+2
|
* Fix so that color changes are not lost when the video mode changes.rodrigc2005-09-171-0/+6
| | | | | PR: bin/83553 Submitted by: Dan Lukes <dan at obluda dot cz>
* Markup fixes.ru2005-06-141-2/+3
| | | | Approved by: re (blanket)
* Add VESA mode support for syscons, which enables the support of 15, 16,delphij2005-05-292-167/+572
| | | | | | | | | | | | | | | | | | | | | 24, and 32 bit modes. To use that, syscons(4) must be built with the compile time option 'options SC_PIXEL_MODE', and VESA support (a.k.a. vesa.ko) must be either loaded, or be compiled into the kernel. Do not return EINVAL when the mouse state is changed to what it already is, which seems to cause problems when you have two mice attached, and applications are not likely obtain useful information through the EINVAL caused by showing the mouse pointer twice. Teach vidcontrol(8) about mode names like MODE_<NUMBER>, where <NUMBER> is the video mode number from the vidcontrol -i mode output. Also, revert the video mode if something fails. Obtained from: DragonFlyBSD Discussed at: current@ with patch attached [1] PR: kern/71142 [2] Submitted by: Xuefeng DENG <dsnofe at msn com> [1], Cyrille Lefevre <cyrille dot lefevre at laposte dot net> [2]
* Use \033 instead of \e because \e is not a standard.nyan2005-05-151-10/+10
| | | | | Noticed by: stefanf Reviewed by: diff(1)
* A foreground color number on pc98 console is 7 not 15.nyan2005-05-151-6/+18
|
* Use \e for escape char instead of ^[ directly.nyan2005-05-151-10/+10
|
* WANRS=6 cleanup for vidcontrol(1):delphij2005-01-133-93/+95
| | | | | | | | | | | | | - Use foo(void) instead of foo(). - Use static where applicable. - Apply more const's when passing parameters - signed/unsigned madness - Avoid namespace collision by adding underscores. - For 64-bit architectures, use %zx instead of %x when necessary. - When storing constants, use const instead of variable. - Bump WARNS?= from 2 to 6
* Propagate ioctl() failure to exit statuseivind2003-09-181-7/+10
|
* mdoc(7) police: Nits.ru2003-03-021-2/+4
|
* Document the fact that VTY locking is easily bypassable when DDBmux2003-02-271-0/+4
| | | | is compiled in the kernel. Also add some useful xrefs to lock(1).
* Add a new `-H' modifier, which when combined with `-p' or `-P' allows to dumpsobomax2002-08-192-14/+38
| | | | full console history.
* Remove some missing words.dd2002-07-101-3/+3
| | | | Submitted by: roam
* Deuglify the usage message by making it look more like the synopsis indd2002-07-101-3/+4
| | | | the manual page.
* Add an -S option that allows the user to disable vty switching. It isdd2002-07-102-3/+29
| | | | | | | | | | implemented using a new VT_LOCKSWITCH ioctl. Although it is possible to implement something like this by VT_SETMODEing to VT_PROCESS and never releasing the vty, that method has a number of downsides, the biggest of which is that some program has to stay resident for the lock to be in effect. Reviewed by: roam, sheldonh
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-022-2/+2
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Use `The .Nm utility'charnier2002-04-201-2/+4
|
* Fix typo: s/forth/fourth/bmah2002-03-211-1/+1
|
* Grammar nits.ru2002-03-201-3/+3
|
* When loading a font allow suffix specifying its size be omited, in whichsobomax2002-03-162-41/+47
| | | | | | | | | | case use size of the currently displaying font as a suffix. For example, when the when the size of the currently displayed font is 8x8 the following command will load koi8-r-8x8.fnt. # vidcontrol -f koi8-r MFC after: 2 weeks
* mdoc(7) police: markup nits.ru2001-09-101-2/+2
| | | | | PR: docs/30473 Submitted by: Jonathan Hanna <jhanna@home.com>
* mdoc(7) police:ru2001-09-041-24/+16
| | | | | | | | | 1) Removed the low-level (unneeded in this context) details on escape sequences that are already documented in screen(4). 2) Removed whitespace at EOL. 3) Removed the garbage from previous revision.
* Add additional information about VGA attributes.murray2001-09-041-31/+47
| | | | | PR: docs/28000 Submitted by: Robert Drehmel <robert@zoot.quizbot.org>
* The ports that convert screendumps into text or png called scr2*, notsobomax2001-08-171-2/+4
| | | | | | | shot2*. PR: Submitted by: Olexander Kunytsa
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-2/+2
| | | | with a trailing zero-width space: `e.g.\&'.
* mdoc(7) police:ru2001-08-071-2/+4
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Use the correct ioctl command to set a VESA mode.yokota2001-07-221-1/+3
| | | | | PR: 24423 MFC after: 10 days
* Remove GCC'isms in CFLAGS.obrien2001-07-201-2/+0
|
* Remove whitespace at EOL.dd2001-07-151-13/+13
|
* Add a comma between the two names in the CONTRIBUTERS section.dd2001-06-101-1/+1
|
* Add section "CONTRIBUTORS" and move nik and sobomax there, since we are notsobomax2001-05-291-0/+2
| | | | really "AUTHORS".
* Move the scrollback controls from kbdcontrol to vidcontrol.des2001-05-282-74/+105
| | | | | | Also fix some style bugs in the code and poor language in the man pages. Reviewed by: sobomax
* - Sort usage() output;sobomax2001-05-201-4/+7
| | | | | | | - sync usage() with reality and manpage; - display usage() even if terminal is not a syscons. Submitted by: ru, sobomax
* Spell FreeBSD.org correctly.ru2001-05-201-3/+3
|
* - Fix markup;sobomax2001-05-201-7/+12
| | | | | | - add nik into Authors section. Submitted by: ru
* Move scrshot(1) functionality into vidcontrol(1).sobomax2001-05-192-3/+222
| | | | | Suggested by: many Not objected to by: nik (scrshot co-author)
* Proper upper limit for mousechar start is UCHAR_MAX - 3, not UCHAR_MAXache2001-04-211-2/+2
| | | | | PR: 24437 Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
* mdoc(7) police: normalize .Nd.ru2001-04-181-1/+1
|
* List the explanations of the command line arguments in the same orderdd2001-04-181-27/+27
| | | | as they're listed in the synopsis (alphabetical).
* mdoc(7) police: Fixed markup.ru2001-04-131-5/+13
|
* Allow user to omit font size specification when loading a font. In additionsobomax2001-04-094-43/+131
| | | | | | | | | | | | | | | the following fixes had been made: - check the size of the font being loaded and compare it with possible sizes to minimise possibility of loading something that is not a fontfile at all and turning console screen into garbage; - prevent buffer overflow (and coredump as a result ) when loading valid uuencoded file with size that exceeds allocated buffer; - correct and improve several error messages. Approved by: -audit, -hackers (silently)
* Mention that the vga(4) driver supports 90-column video modes.dd2001-03-281-0/+10
| | | | | | PR: 26050 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> Approved by: nik
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+0
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-0/+3
|
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
OpenPOWER on IntegriCloud