Re: svn commit: r265798 - head/share/man/man4

2014-05-10 Thread Sergey Kandaurov
On 10 May 2014 07:24, Warren Block wbl...@freebsd.org wrote:
 Author: wblock (doc committer)
 Date: Sat May 10 03:24:45 2014
 New Revision: 265798
 URL: http://svnweb.freebsd.org/changeset/base/265798

 Log:
   Add a man page for the new vt.4 device.


Forgot to attach to the build?

   Reviewed by:  ray, emaste (slightly earlier version)

 Added:
   head/share/man/man4/vt.4   (contents, props changed)

[...]
 +.\
 +.Dd May 9, 2014
 +.Dt VIRTUAL TERMINALS 4

This line renders badly.

-- 
wbr,
pluknet
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


Re: svn commit: r265798 - head/share/man/man4

2014-05-10 Thread Warren Block

On Sat, 10 May 2014, Sergey Kandaurov wrote:


On 10 May 2014 07:24, Warren Block wbl...@freebsd.org wrote:

Author: wblock (doc committer)
Date: Sat May 10 03:24:45 2014
New Revision: 265798
URL: http://svnweb.freebsd.org/changeset/base/265798

Log:
  Add a man page for the new vt.4 device.



Forgot to attach to the build?


Intentionally delayed until I can get a test build of my proposed 
Makefile changes to work.  Right now, I see src.opts.mk errors, which 
might be unrelated.  Proposed changes:


Index: Makefile
===
--- Makefile(revision 265797)
+++ Makefile(working copy)
@@ -564,6 +564,7 @@
${_vmx.4} \
vpo.4 \
vr.4 \
+   ${_vt.4} \
vte.4 \
${_vtnet.4} \
${_vxge.4} \
@@ -806,6 +807,7 @@
 _virtio_random.4= virtio_random.4
 _virtio_scsi.4= virtio_scsi.4
 _vmx.4=vmx.4
+_vt.4= vt.4
 _vtnet.4=  vtnet.4
 _vxge.4=   vxge.4
 _padlock.4=padlock.4


+.\
+.Dd May 9, 2014
+.Dt VIRTUAL TERMINALS 4


This line renders badly.


Well that's embarrassing.  Working on it now, thanks!
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org


svn commit: r265798 - head/share/man/man4

2014-05-09 Thread Warren Block
Author: wblock (doc committer)
Date: Sat May 10 03:24:45 2014
New Revision: 265798
URL: http://svnweb.freebsd.org/changeset/base/265798

Log:
  Add a man page for the new vt.4 device.
  
  Reviewed by:  ray, emaste (slightly earlier version)

Added:
  head/share/man/man4/vt.4   (contents, props changed)

Added: head/share/man/man4/vt.4
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man4/vt.4Sat May 10 03:24:45 2014(r265798)
@@ -0,0 +1,230 @@
+.\ Copyright (c) 2014 Warren Block
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
+.\ are met:
+.\ 1. Redistributions of source code must retain the above copyright
+.\notice, this list of conditions and the following disclaimer.
+.\ 2. Redistributions in binary form must reproduce the above copyright
+.\notice, this list of conditions and the following disclaimer in the
+.\documentation and/or other materials provided with the distribution.
+.\
+.\ THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
+.\ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
+.\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\ SUCH DAMAGE.
+.\
+.\ $FreeBSD$
+.\
+.Dd May 9, 2014
+.Dt VIRTUAL TERMINALS 4
+.Os
+.Sh NAME
+.Nm vt
+.Nd virtual terminal console driver
+.Sh SYNOPSIS
+.Cd options VT_MAXWINDOWS=N
+.Cd options VT_ALT_TO_ESC_HACK=1
+.Cd options VT_TWOBUTTON_MOUSE
+.Cd options VT_FB_DEFAULT_WIDTH=X
+.Cd options VT_FB_DEFAULT_HEIGHT=Y
+.Cd options SC_NO_CUTPASTE
+.Cd options SC_NO_SYSMOUSE
+.Cd device vt
+.Pp
+In
+.Xr loader.conf 5 :
+.Cd hw.vga.textmode=1
+.Sh DESCRIPTION
+The
+.Nm
+device provides multiple virtual terminals with an extensive feature
+set:
+.Bl -item -offset indent
+.It
+Unicode UTF-8 text with double-width characters.
+.It
+Large font maps in graphics mode, including support for Asian
+character sets.
+.It
+Graphics-mode consoles.
+.It
+Integration with
+KMS
+.Pq Kernel Mode Setting
+video drivers for switching between the
+.Em X Window System
+and virtual terminals.
+.El
+.Ss Virtual Terminals
+Multiple virtual terminals are provided on a single computer.
+Up to sixteen virtual terminals can be defined.
+A single virtual terminal is connected to the screen and keyboard
+at a time.
+Key combinations are used to select a virtual terminal.
+Alt-F1 through Alt-F12 correspond to the first twelve virtual terminals.
+If more than twelve virtual terminals are created, Shift-Alt-F1 through
+Shift-Alt-F4 are used to switch to the additional terminals.
+.Ss Copying and Pasting Text with a Mouse
+Copying and pasting text from the screen with a mouse is supported.
+Press and hold down mouse button 1, usually the left button, while
+moving the mouse to select text.
+Selected text is highlighted with reversed foreground and background
+colors.
+To select more text after releasing mouse button 1, press mouse button
+3, usually the right button.
+To paste text that has been selected, press mouse button 2, usually the
+middle button.
+The text is entered as if it were typed at the keyboard.
+The
+.Dv VT_TWOBUTTON_MOUSE
+kernel option can be used with mice that only have two buttons.
+Setting this option makes the second mouse button into the
+paste button.
+See
+.Xr moused 8
+for more information.
+.Ss Scrolling Back
+Output that has scrolled off the screen can be reviewed by pressing the
+Scroll Lock key, then scrolling up and down with the arrow keys.
+The Page Up and Page Down keys scroll up or down a full screen at a
+time.
+The Home and End keys jump to the beginning or end of the scrollback
+buffer.
+When finished reviewing, press the Scroll Lock key again to return to
+normal use.
+.Sh DRIVER CONFIGURATION
+.Ss Kernel Configuration Options
+These kernel options control the
+.Nm
+driver.
+.Bl -tag -width MAXCONS
+.It Dv VT_MAXWINDOWS=N
+Set the number of virtual terminals to be created to
+.Fa N .
+The value defaults to 12.
+.It Dv VT_ALT_TO_ESC_HACK=1
+When the Alt key is held down while pressing another key, send an ESC
+sequence instead of the Alt key.
+.It Dv VT_TWOBUTTON_MOUSE
+If defined, swap the functions of mouse buttons 2 and 3.
+In effect, this makes the right-hand mouse button perform a paste.
+These