Deleted Added
full compact
vidcontrol.1 (92891) vidcontrol.1 (95127)
1.\"
2.\" vidcontrol - a utility for manipulating the syscons video driver
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\"
13.\" @(#)vidcontrol.1
1.\"
2.\" vidcontrol - a utility for manipulating the syscons video driver
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\"
13.\" @(#)vidcontrol.1
14.\" $FreeBSD: head/usr.sbin/vidcontrol/vidcontrol.1 92891 2002-03-21 20:10:10Z bmah $
14.\" $FreeBSD: head/usr.sbin/vidcontrol/vidcontrol.1 95127 2002-04-20 12:27:18Z charnier $
15.\"
16.Dd May 27, 2001
17.Dt VIDCONTROL 1
18.Os
19.Sh NAME
20.Nm vidcontrol
21.Nd system console control and configuration utility
22.Sh SYNOPSIS

--- 166 unchanged lines hidden (view full) ---

189or
190.Cm off .
191Used together with the
192.Xr moused 8
193daemon for text mode cut & paste functionality.
194.It Fl p
195Capture the current contents of the video buffer corresponding
196to the terminal device referred to by standard input.
15.\"
16.Dd May 27, 2001
17.Dt VIDCONTROL 1
18.Os
19.Sh NAME
20.Nm vidcontrol
21.Nd system console control and configuration utility
22.Sh SYNOPSIS

--- 166 unchanged lines hidden (view full) ---

189or
190.Cm off .
191Used together with the
192.Xr moused 8
193daemon for text mode cut & paste functionality.
194.It Fl p
195Capture the current contents of the video buffer corresponding
196to the terminal device referred to by standard input.
197The
197.Nm
198.Nm
198writes contents of the video buffer to the standard
199utility writes contents of the video buffer to the standard
199output in a raw binary format.
200For details about that
201format see
202.Sx Format of Video Buffer Dump
203below.
204.It Fl P
205Same as
206.Fl p ,

--- 74 unchanged lines hidden (view full) ---

281.Ss Format of Video Buffer Dump
282The
283.Nm
284utility uses the
285.Xr syscons 4
286.Dv CONS_SCRSHOT
287.Xr ioctl 2
288to capture the current contents of the video buffer.
200output in a raw binary format.
201For details about that
202format see
203.Sx Format of Video Buffer Dump
204below.
205.It Fl P
206Same as
207.Fl p ,

--- 74 unchanged lines hidden (view full) ---

282.Ss Format of Video Buffer Dump
283The
284.Nm
285utility uses the
286.Xr syscons 4
287.Dv CONS_SCRSHOT
288.Xr ioctl 2
289to capture the current contents of the video buffer.
290The
289.Nm
291.Nm
290writes version and additional information to the standard
292utility writes version and additional information to the standard
291output, followed by the contents of the terminal device.
292.Pp
293VGA video memory is typically arranged in two byte tuples,
294one per character position.
295In each tuple, the first byte will be the character code,
296and the second byte is the character's color attribute.
297.Pp
298The VGA color attribute byte looks like this:

--- 212 unchanged lines hidden ---
293output, followed by the contents of the terminal device.
294.Pp
295VGA video memory is typically arranged in two byte tuples,
296one per character position.
297In each tuple, the first byte will be the character code,
298and the second byte is the character's color attribute.
299.Pp
300The VGA color attribute byte looks like this:

--- 212 unchanged lines hidden ---