Commit Graph

87 Commits

Author SHA1 Message Date
Eivind Eklund
a0503c278d Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
Ruslan Ermilov
3892c30012 mdoc(7) police: Nits. 2003-03-02 21:04:21 +00:00
Maxime Henrion
356168f5cc Document the fact that VTY locking is easily bypassable when DDB
is compiled in the kernel.  Also add some useful xrefs to lock(1).
2003-02-27 18:25:26 +00:00
Maxim Sobolev
c449db6ab2 Add a new -H' modifier, which when combined with -p' or `-P' allows to dump
full console history.
2002-08-19 16:33:23 +00:00
Dima Dorfman
5d1bb94f36 Remove some missing words.
Submitted by:	roam
2002-07-10 03:39:52 +00:00
Dima Dorfman
5ec065ee15 Deuglify the usage message by making it look more like the synopsis in
the manual page.
2002-07-10 03:37:42 +00:00
Dima Dorfman
b471ed9e9d Add an -S option that allows the user to disable vty switching. It is
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
2002-07-10 03:31:25 +00:00
Jens Schweikhardt
21dc7d4f57 Fix typo in the BSD copyright: s/withough/without/
Spotted and suggested by:	des
MFC after:	3 weeks
2002-06-02 20:05:59 +00:00
Philippe Charnier
7f94b8deee Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
Bruce A. Mah
7a0933ca5d Fix typo: s/forth/fourth/ 2002-03-21 20:10:10 +00:00
Ruslan Ermilov
50dce955e4 Grammar nits. 2002-03-20 15:09:32 +00:00
Maxim Sobolev
3646fbdacb When loading a font allow suffix specifying its size be omited, in which
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
2002-03-16 23:35:51 +00:00
Ruslan Ermilov
d76e231677 mdoc(7) police: markup nits.
PR:		docs/30473
Submitted by:	Jonathan Hanna <jhanna@home.com>
2001-09-10 09:08:47 +00:00
Ruslan Ermilov
589b4db814 mdoc(7) police:
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.
2001-09-04 13:54:45 +00:00
Murray Stokely
c271258542 Add additional information about VGA attributes.
PR:		docs/28000
Submitted by:	Robert Drehmel <robert@zoot.quizbot.org>
2001-09-04 00:54:37 +00:00
Maxim Sobolev
8ddd49f697 The ports that convert screendumps into text or png called scr2*, not
shot2*.

PR:
Submitted by:   Olexander Kunytsa
2001-08-17 11:32:25 +00:00
Ruslan Ermilov
57e4378bf6 mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Ruslan Ermilov
c4d9468ea0 mdoc(7) police:
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.
2001-08-07 15:48:51 +00:00
Kazutaka YOKOTA
e64c88b2dc Use the correct ioctl command to set a VESA mode.
PR: 24423
MFC after: 10 days
2001-07-22 13:30:32 +00:00
David E. O'Brien
ac24b049cc Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Dima Dorfman
b6064da2ab Add a comma between the two names in the CONTRIBUTERS section. 2001-06-10 00:23:05 +00:00
Maxim Sobolev
f67de64ba9 Add section "CONTRIBUTORS" and move nik and sobomax there, since we are not
really "AUTHORS".
2001-05-29 18:48:13 +00:00
Dag-Erling Smørgrav
031c57af94 Move the scrollback controls from kbdcontrol to vidcontrol.
Also fix some style bugs in the code and poor language in the man pages.

Reviewed by:	sobomax
2001-05-28 11:05:28 +00:00
Maxim Sobolev
1f22a113d0 - Sort usage() output;
- sync usage() with reality and manpage;
- display usage() even if terminal is not a syscons.

Submitted by:	ru, sobomax
2001-05-20 12:17:31 +00:00
Ruslan Ermilov
e5adc24bf8 Spell FreeBSD.org correctly. 2001-05-20 11:39:53 +00:00
Maxim Sobolev
fc4af89faf - Fix markup;
- add nik into Authors section.

Submitted by:	ru
2001-05-20 11:33:12 +00:00
Maxim Sobolev
d02ca551d3 Move scrshot(1) functionality into vidcontrol(1).
Suggested by:		many
Not objected to by:	nik (scrshot co-author)
2001-05-19 06:47:36 +00:00
Andrey A. Chernov
e4ef2fa234 Proper upper limit for mousechar start is UCHAR_MAX - 3, not UCHAR_MAX
PR:		24437
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-04-21 13:50:32 +00:00
Ruslan Ermilov
eb0838029f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
Dima Dorfman
062205a074 List the explanations of the command line arguments in the same order
as they're listed in the synopsis (alphabetical).
2001-04-18 07:21:58 +00:00
Ruslan Ermilov
dc1e426492 mdoc(7) police: Fixed markup. 2001-04-13 09:33:03 +00:00
Maxim Sobolev
5e0db936b5 Allow user to omit font size specification when loading a font. In addition
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)
2001-04-09 17:24:29 +00:00
Dima Dorfman
59f0a6b75e Mention that the vga(4) driver supports 90-column video modes.
PR:		26050
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Approved by:	nik
2001-03-28 02:32:10 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Ruslan Ermilov
c2d03ea879 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
Maxim Sobolev
acdb2839d6 New option `-g' to allow selecting custom text geometry in VESA_800x600 raster
text mode. For example `vidcontrol -g 100x37 VESA_800x600' will setup 100x37
text mode as opposed to default 80x25.

Reviewed by:	imp
2001-01-25 16:53:22 +00:00
Ruslan Ermilov
251c176f41 mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
Ruslan Ermilov
8e8536e1c2 Spell the sos's name correctly. 2000-11-14 13:09:12 +00:00
Ruslan Ermilov
82a63dc3c0 Avoid use of tbl(1). 2000-11-06 12:03:43 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Sheldon Hearn
f2e366a105 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
Bill Swingle
187c0f1691 updates the vidcontrol man page to include mention of the new -M flag
PR:		16221
Submitted by:	Kelly Yancey <kbyanc@posi.net>
2000-02-17 03:00:38 +00:00
Kazutaka YOKOTA
e2f29c6e43 Make the mouse cursor char code configurable via the CONS_MOUSECTL
ioctl.

By popular demand.
2000-01-12 12:30:33 +00:00
Alexey Zelkin
669faca4c4 Fix broken cross reference : kldload(1) -> kldload(8) 1999-10-30 14:25:55 +00:00
Bill Fumerola
39b235ef20 -Wall fix: ambigious else 1999-10-15 17:33:24 +00:00
Alexey Zelkin
41abbceb8f Various style and visual changes.
VESA_132x30 is not available mode
SC_PIXLE_MODE -> SC_PIXEL_MODE
1999-09-24 20:39:24 +00:00
Kazutaka YOKOTA
a0d3b21c88 Fix -s option.
PR: bin/13799
1999-09-19 08:04:07 +00:00
Kazutaka YOKOTA
6837f60c8e - Mention that the SC_PIXEL_MODE kernel option is required, in order
to use the VESA_800x600 raster text mode.
- Fix the list of recognized keywords; "40x25" is not recognized,
  but "VGA_40x25" is.
1999-09-19 08:03:48 +00:00