|
Home > Archive > Unix Programming > December 2005 > Source for "script" program
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Source for "script" program
|
|
| Lorin Hochstein 2005-12-20, 2:50 am |
| Hello,
I'm looking for the source code for an implementation of the Unix
"script" program (the one that generates a record of a terminal
session). It exists on Linux so I imagine there's an open source
implementation somewhere. Alas, "script" is not a very
Internet-search-friendly name for a program, and I've had no success in
trying to track it down. Anybody know where I can find this?
Thanks,
Lorin
| |
| Bjørn Augestad 2005-12-20, 2:50 am |
| Lorin Hochstein wrote:
> Hello,
>
> I'm looking for the source code for an implementation of the Unix
> "script" program (the one that generates a record of a terminal
> session). It exists on Linux so I imagine there's an open source
> implementation somewhere. Alas, "script" is not a very
> Internet-search-friendly name for a program, and I've had no success in
> trying to track it down. Anybody know where I can find this?
>
> Thanks,
>
> Lorin
>
I googled for
source code "script program" record of a terminal session
and found http://honeypots.sourceforge.net/modified_script.html
The original source code seems to be available at
http://ibiblio.org/pub/Linux/kernel...ux-2.11n.tar.gz
Bjørn
| |
| Keith Thompson 2005-12-20, 2:50 am |
| "Lorin Hochstein" <lorinh@gmail.com> writes:
> I'm looking for the source code for an implementation of the Unix
> "script" program (the one that generates a record of a terminal
> session). It exists on Linux so I imagine there's an open source
> implementation somewhere. Alas, "script" is not a very
> Internet-search-friendly name for a program, and I've had no success in
> trying to track it down. Anybody know where I can find this?
"script --version" on one Linux system prints
script from util-linux-2.12a
That might be a better search term.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
| |
| Jordan Abel 2005-12-20, 2:50 am |
| On 2005-12-20, Lorin Hochstein <lorinh@gmail.com> wrote:
> Hello,
>
> I'm looking for the source code for an implementation of the Unix
> "script" program (the one that generates a record of a terminal
> session). It exists on Linux so I imagine there's an open source
> implementation somewhere. Alas, "script" is not a very
> Internet-search-friendly name for a program, and I've had no success in
> trying to track it down. Anybody know where I can find this?
It is part of util-linux (a package which unfortunately isn't very
friendly to attempts to compile it on non-linux systems) - a version is
also supplied with freebsd - what system are you on?
| |
| Lorin Hochstein 2005-12-20, 5:57 pm |
| The program needs to run on a variety of UNIX-y systems: Linux,
Solaris, AIX, and UNICOS. Perhaps I should look into the freebsd
flavor, although I'll start by taking a look at the Linux version.
Also, somebody upthread posted a link to another program I'll take a
look at.
Thanks.
(First time using google groups to respond to a message, hope it does
the quoting properly).
| |
| Jordan Abel 2005-12-20, 8:50 pm |
| On 2005-12-20, Lorin Hochstein <lorinh@gmail.com> wrote:
> The program needs to run on a variety of UNIX-y systems: Linux,
> Solaris, AIX, and UNICOS. Perhaps I should look into the freebsd
> flavor, although I'll start by taking a look at the Linux version.
> Also, somebody upthread posted a link to another program I'll take a
> look at.
>
> Thanks.
>
> (First time using google groups to respond to a message, hope it does
> the quoting properly).
The linux version is minimal, and has a BSD-ish copyright notice anyway,
so is derived from the same source. Looking at a diff of the two, the
freebsd version seems more advanced.
| |
| Keith Thompson 2005-12-21, 5:57 pm |
| "Lorin Hochstein" <lorinh@gmail.com> writes:
[...]
> (First time using google groups to respond to a message, hope it does
> the quoting properly).
It doesn't. See <http://cfaj.freeshell.org/google/> for details.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
|
|
|
|
|