.
conspy-1.14/conspy.html 0000644 0002157 0001751 00000010441 12660576361 014074 0 ustar rstuart it
Conspy - remote control of Linux virtual consoles
Conspy
Remote control of Linux virtual consoles
Conspy allows a (possibly remote) user to see what is displayed
on a Linux virtual console, and send keystrokes to it. It
works with Linux and FreeBSD, as far as I know.
It is rather like VNC, but where VNC takes control of a GUI
conspy takes control of a text mode virtual console. Unlike
VNC, conspy does not require a server to be installed prior
to being used.
Documentation
Sparse. There is a
man page, a
change log and a
README.
Frequently asked question
Q: Can conspy look at other types of terminals, such as a normal
serial terminal, or a pty such as a telnet session?
A: No. Nor will it ever be able to do so. Conspy does not
intercept the character stream being sent to the virtual
console. If it did that it would have to interpret all the
ANSI escape sequences understood by the Linux virtual console
exactly the same way Linux does. That would be tedious, and
would break each time Linux changes the escape sequences.
Instead conspy asks the Linux kernel for the virtual console's
frame buffer. That is, it gets an image of what is displayed
on the screen and makes your terminal look the same. There is
no way to do that for other tty's. If conspy was to work
with them it would have to interpret the character stream as it
passes through the tty. This is well neigh impossible because
there are many different types of terminal out there and they
all use different escape sequences. If all you all to do it
look at the raw character stream as it passes through the tty
look up ttysnoop on
Freshmeat.
Copyright and License
Conspy is copyright © 2005,2006,2007,2009,2011,2014,2015,2016 Russell Stuart.
It is licensed under the GNU Affero General Public License.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
The copyright holders grant you an additional permission under Section 7
of the GNU Affero General Public License, version 3, exempting you from
the requirement in Section 6 of the GNU General Public License, version 3,
to accompany Corresponding Source with Installation Information for the
Program or any work based on the Program. You are still required to
comply with all other Section 6 requirements to provide Corresponding
Source.
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 Affero General Public License for more details.
Downloading, Feedback & Contributing
Development for conspy is hosted on
Source forge:
Russell Stuart, 2014-May-27.
conspy-1.14/conspy.spec 0000644 0002157 0001751 00000002214 12660576361 014061 0 ustar rstuart it Summary: Remote control for text mode virtual consoles
Name: conspy
Version: 1.14
Release: 1ras
Distribution: RedHat 7.2 Contrib
Group: Applications/System
License: AGPL-3.0+
Packager: Russell Stuart
Vendor: Russell Stuart
Url: http://sourceforge.net/projects/%{name}/files/%{name}-%{version}/%{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
%description
Conspy takes over a text mode Linux virtual console in much
the same manner as VNC allows a remote user to take over a GUI.
%prep
%setup
%build
aclocal
automake --foreign --add-missing --copy
autoconf
%configure
make
%install
rm -rf %{buildroot}
%makeinstall
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/conspy
%doc %{_mandir}/man1/*
%changelog
* Thu Jan 19 2006 Russell Stuart
- New upstream release.
* Mon Jan 9 2006 Russell Stuart
- New upstream release.
* Sun Jan 1 2006 Russell Stuart
- New upstream release.
* Wed May 21 2003 Russell Stuart
- Initial RPM
conspy-1.14/Makefile 0000644 0002157 0001751 00000000535 12660576361 013336 0 ustar rstuart it -include Makefile-automake
.PHONY: run-autoconf
run-autoconf:
libtoolize
aclocal
automake --add-missing --copy
autoconf
./configure
$(MAKE)
RELEASE_SOURCES = \
ChangeLog.txt \
configure.ac \
conspy.1 \
conspy.c \
conspy.html \
conspy.spec \
Makefile \
Makefile-automake.am \
Makefile.release \
README.txt
include Makefile.release
conspy-1.14/README.txt 0000644 0002157 0001751 00000004124 12660576361 013372 0 ustar rstuart it Conspy
======
This program is like VNC - but allows you to take over
a text mode Linux virtual console rather than GUI. It
works on Linux and BSD systems.
Documentation can be found in the man page.
All documentation is readable online at the home page:
http://conspy.sourceforge.net/
Dependencies
------------
- C library.
Building and Installing
-----------------------
Packages are available for Debian and RedHat style
distributions at the home page. If you install using
one of them you can skip this section.
The build dependencies are:
- GNU build system (autoconf, automake, make, gcc),
http://www.gnu.org/software/autoconf,
http://www.gnu.org/software/automake,
http://www.gnu.org/software/make,
http://gcc.gnu.org/.
- A POSIX system (unix shell, sed, etc).
To build the program, in the directory containing this file run:
make
To install, in the directory containing this file run:
make install
To run the test suite, in the directory containing this file run:
make test
License
-------
Copyright (c) 2007-2014,2015,2016 Russell Stuart.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
The copyright holders grant you an additional permission under Section 7
of the GNU Affero General Public License, version 3, exempting you from
the requirement in Section 6 of the GNU General Public License, version 3,
to accompany Corresponding Source with Installation Information for the
Program or any work based on the Program. You are still required to
comply with all other Section 6 requirements to provide Corresponding
Source.
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 Affero General Public License for more details.
--
Russell Stuart
2014-May-09
conspy-1.14/ChangeLog.txt 0000644 0002157 0001751 00000004624 12660575732 014272 0 ustar rstuart it conspy-1.14 Tue, 16 Feb 2016 20:36:33 +1000
Bug: Work around kernel limitations when there are more
than 255 lines or 255 columns.
conspy-1.13 Mon, 21 Sep 2015 09:40:17 +1000
Bug: Include for uint32_t
Closes: https://sourceforge.net/p/conspy/tickets/3/
conspy-1.12 Wed, 16 Sep 2015 21:23:09 +1000
Bug: Fix memory leak.
conspy-1.11 Wed, 16 Sep 2015 20:36:43 +1000
Bug: Use proper uscan redirector.
Bug: Keyboard not working on amd64.
New: Dynamically allocate screen size so any size screen
can be accommodated.
Closes: https://sourceforge.net/p/conspy/tickets/2/
New: New version of Makefile.release
conspy-1.10 Fri, 9 May 2014 19:46:16 +1000
New: Customise build system for new home - SourceForge.
conspy-1.9 Sun, 4 May 2014 23:15:06 +1000
New: Rename configure.in to configure.ac, in preparation
for autotools change, change to AGPL-3.
conspy-1.8 Sun, 17 Apr 2011 13:58:49 +1000
Bug: Fix passing a bad option causing a segfault.
conspy-1.7 Sun, 23 Aug 2009 19:37:15 +1000
New: Improve error reporting when device can't be opened.
conspy-1.6 Thu, 4 Jun 2009 13:38:16 +1000
Bug: Build fixes. Reduces tarball size by a factor of 3.
conspy-1.5 Fri Jul 27 13:00:22 EST 2007
New: Now works on freebsd. Thanks to Cyril Brulebois for
finding and problem and supplying the patch.
New: Changed License to EPL.
conspy-1.4 Sat, 14 Jan 2006 18:36:07 +1000
Bug: Now works with big endian machines.
conspy-1.3 Sun, 9 Jan 2006 11:57:14 +1000
Bug: Documented screen size limitation.
Bug: Prints an error message if max screen size is exceeded,
rather than segfaulting.
New: Raised max screen size to 16000 characters.
conspy-1.2 Sun, 1 Jan 2006 14:19:02 +1000
Bug: Fixed a segmentation violation in the argument parsing code.
conspy-1.1 Mon, 8 Dec 2003 10:01:11 +1000
Bug: Unblock all signals when exiting because we were killed by a
signal. Not sure if this is a problem in the real world, but
was wrong nonetheless.
Bug: Close and re-open the destination tty every time a key is pressed.
This will (hopefully) fix errors that occasionally occur when the
user logs in.
New: Now handles devfs device names (/dev/ttyX --> /dev/vc/X, and
/dev/vcsaX --> /dev/vcc/aX).
New: Added the Debian package.
conspy-1.0 Wed May 21 13:54:14 EST 2003
New: Epoch. Changes? What changes? I got it right first time.
conspy-1.14/configure.ac 0000644 0002157 0001751 00000001120 12660576361 014153 0 ustar rstuart it # Process this file with autoconf to produce a configure script.
AC_INIT(conspy.c, 1.10)
AM_INIT_AUTOMAKE([foreign])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h getopt.h stdarg.h stdlib.h string.h sys/ioctl.h sys/time.h termios.h unistd.h])
AC_CHECK_LIB(ncurses, initscr)
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_TIME
# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([select strtol])
AC_CONFIG_FILES([Makefile-automake])
AC_OUTPUT()