From: Dietmar Maurer Date: Thu, 31 Oct 2013 06:40:50 +0000 (+0100) Subject: add am manual page (replaces README) X-Git-Url: https://git.proxmox.com/?p=spiceterm.git;a=commitdiff_plain;h=300ace05e135f9eb41e860b6653b99f00bc2cd37 add am manual page (replaces README) --- diff --git a/Makefile b/Makefile index 93d8ae3..9575b5b 100644 --- a/Makefile +++ b/Makefile @@ -32,11 +32,16 @@ keysyms.h: genkeysym.pl glyphs: genfont ./genfont > glyphs.h +spiceterm.1: spiceterm.pod + rm -f $@ + pod2man -n $< -s 1 -r ${VERSION} <$< >$@ + .PHONY: install -install: spiceterm +install: spiceterm spiceterm.1 mkdir -p ${DESTDIR}/usr/share/doc/${PACKAGE} install -m 0644 copyright ${DESTDIR}/usr/share/doc/${PACKAGE} mkdir -p ${DESTDIR}/usr/share/man/man1 + install -m 0644 spiceterm.1 ${DESTDIR}/usr/share/man/man1 mkdir -p ${DESTDIR}/usr/bin install -s -m 0755 spiceterm ${DESTDIR}/usr/bin @@ -62,4 +67,4 @@ distclean: clean .PHONY: clean clean: - rm -rf *~ ${PROGRAMS} build *.deb *.changes + rm -rf *~ ${PROGRAMS} build *.deb *.changes genfont diff --git a/README b/README deleted file mode 100644 index 92dfbca..0000000 --- a/README +++ /dev/null @@ -1,24 +0,0 @@ - -spiceterm is a full featured terminal emulator and exports the display -using the SPICE protocol. - -Features: - -* xterm/linux compatible -* cut and paste (vdagent) -* screen resize (vdagent) - -Example usage: - -By default we start a simple shell (/bin/sh) - -# ./spiceterm & remote-viewer spice://localhost:5912 - -You can also specify the program to execute, for example a login screen - -# ./spiceterm -c /bin/login & remote-viewer spice://localhost:5912 - -Or enter a OpenVZ container console - -# ./spiceterm -c vzctl enter 100 & remote-viewer spice://localhost:5912 - diff --git a/debian/docs b/debian/docs index 310840d..8696672 100644 --- a/debian/docs +++ b/debian/docs @@ -1,2 +1 @@ -README debian/SOURCE diff --git a/spiceterm.pod b/spiceterm.pod new file mode 100644 index 0000000..fe75903 --- /dev/null +++ b/spiceterm.pod @@ -0,0 +1,101 @@ +=head1 NAME + +spiceterm - SPICE Terminal Emulator + +=head1 SYNOPSIS + + spiceterm [OPTIONS] [-- [args]] + + --timeout Wait this time before aborting (default + is 10 seconds) + --authpath Authentication path (PVE AUTH) + --permission Required permissions (PVE AUTH) + --port Bind to port + --addr Bind to address + --sasl Enable SASL based authentication + --noauth Disable authentication + --keymap Spefify keymap (uses kvm keymap files) + +=head1 DESCRIPTION + +spiceterm is a full featured terminal emulator and exports the display +using the SPICE protocol. Implements a 'xterm' compatible terminal. + +=head2 Features + +=over + +=item xterm/linux compatible + +=item cut and paste (vdagent) + +=item screen resize (vdagent) + +=item SASL support + +=item use TLS to encrypt all traffic + +=item use Proxmox VE authentication + +=back + +=head1 Authentication + +You can disable authentication using the C<--noauth> option. + +Please use C<--sasl> if you want to connect with username and password +(password if verified using the Proxmox VE auth framework). + +Ticket authentication is default, and you should pass the ticket using +the C environment variable. + + # SPICE_TICKET= + +Many thanks to Proxmox Server Solutions (www.proxmox.com) for sponsoring +this work. + +=head1 COPYRIGHT AND DISCLAIMER + +Copyright (C) 2013 Proxmox Server Solutions GmbH + +Copyright: spiceterm is under GNU GPL, the GNU General Public License. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.