summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vidcontrol
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-1/+5
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-192-15/+73
| |\
| * \ Merge head from 7/28sjg2014-08-193-17/+148
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2013-09-051-1/+1
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| | | | |
| | \ \ \
| | \ \ \
| | \ \ \
| *---. \ \ \ Sync from headsjg2012-11-041-5/+9
| |\ \ \ \ \ \
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | vidcontrol: skip invalid video modes returned by vt(4)emaste2015-04-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vt(4) has a stub CONS_MODEINFO ioctl that does not provide any data but returns success. This needs to be fixed in the kernel, but address it in vidcontrol(1) as well in case it's run on an older kernel. Reviewed by: bde Sponsored by: The FreeBSD Foundation
* | | | | | | vidcontrol: make size argument optional again for sysconsemaste2015-04-161-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r273544 changed the -f option allow no arguments in vt mode (used to reset the font back to the default), but broke the optionality of the size argument for syscons. Drop the required argument from syscons' optstring for -f so the optional argument handler works the same way for both syscons and vt. Reported by: bde Sponsored by: The FreeBSD Foundation
* | | | | | vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin fontdumbbell2014-10-232-9/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To restore the default font using vidcontrol(1), use the "-f" flag without an argument: vidcontrol -f < /dev/ttyv0 PR: 193910 Differential Revision: https://reviews.freebsd.org/D971 Submitted by: Marcin Cieslak <saper@saper.info> Reviewed by: ray@, emaste@ Approved by: ray@ MFC after: 1 week
* | | | | | Add references to vt(4) to further man-pages.se2014-09-011-6/+31
| |_|_|_|/ |/| | | | | | | | | | | | | | MFC after: 3 days
* | | | | Fix vt(4) detection in kbdcontrol and vidcontrolemaste2014-07-021-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As sc(4) and vt(4) coexist and are both enabled in GENERIC, the existence of a vt(4) sysctl is not sufficient to determine that vt(4) is in use. Reported by: Trond Endrestøl
* | | | | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | | | o Teach vidcontrol(1) how to load vt(4) font.ray2014-05-292-13/+142
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Teach vidcontrol(1) to distinct which virtual terminal system is running now. o Load vt(4) fonts from different location. o Add $FreeBSD$ tag for path.h. Tested by: Claude Buisson <clbuisson@orange.fr> MFC after: 7 days Sponsored by: The FreeBSD Foundation
* | | | The M_VESA_MODE_MAX is latest valid mode - not the first invalid.eadler2013-05-111-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Permit its use in vidcontrol -i PR: bin/119483 Submitted by: Dan Lukes <dan@obluda.cz> Arrival-Date: Wed Jan 09 10:30:01 UTC 2008 Reviewed by: ed MFC after: 3 days
* | | More -Wmissing-variable-declarations fixes.ed2012-10-191-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* | Call set_terminal_mode() after video mode change, not before, becauseache2012-06-291-4/+8
|/ | | | | | | | video mode change always reset terminal mode to xterm. It allows things like 'vidcontrol -T cons25 80x30' works as supposed, and allows 'allscreens_flags="-T cons25 80x30"' in /etc/rc.conf too. MFC after: 1 week
* Spelling fixes for usr.sbin/uqs2011-12-301-4/+4
|
* Reencode files to UTF-8. Drop CP1252 em-dash.uqs2011-12-302-2/+2
|
* Add static keywords to vidcontrol(1).ed2011-12-111-13/+11
| | | | | | While there, remove the false optimisation of the colors array. It seems that changing it to an array of pointers instead of a 16x16 array does not cause any increase in binary size at all.
* 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
OpenPOWER on IntegriCloud