summaryrefslogtreecommitdiff
path: root/wvi.1
diff options
context:
space:
mode:
Diffstat (limited to 'wvi.1')
-rw-r--r--wvi.142
1 files changed, 42 insertions, 0 deletions
diff --git a/wvi.1 b/wvi.1
new file mode 100644
index 0000000..14eec38
--- /dev/null
+++ b/wvi.1
@@ -0,0 +1,42 @@
+.\" Carsten Kunze, 2016
+.Dd August 5, 2016
+.Dt WVI 1
+.Sh NAME
+.Nm wvi
+.Nd open vi in a separate xterm
+.Sh SYNOPSIS
+.Nm
+.Op Ar "X options"
+.Op Ar "vi options"
+.Sh DESCRIPTION
+There are use cases for
+.Nm vi
+where it is desirable to start it in a separate X window.
+.Nm
+just starts
+.Do Nm xterm Ar "X options" Fl e Dc
+with
+.Nm vi
+and the
+.Ar "vi options"
+as argument.
+Possible X options are:
+.Bl -tag
+.It Fl bg Ar color
+Set background color.
+.It Fl fg Ar color
+Set foreground color.
+.It Fl fn Ar font name
+Set font name.
+.It Fl geometry Ar geometry string
+Set xterm window geometry.
+.El
+.Pp
+File names with spaces need to be enclosed in single or double quotes
+.Po Sq Li \(aq
+or
+.Sq Li \(dq
+.Pc
+.Em and
+the spaces needs to be protected with a backslash
+.Pq Sq \(rs .