1834755 Members
3461 Online
110070 Solutions
New Discussion

Re: ttywatcher

 
A. Daniel King_1
Super Advisor

ttywatcher

Has anyone here successfully compiled ttywatcher on HP-UX? With gcc?

Is there a comparable/better program specifically for UP-UX?

Thanks in advance.
Command-Line Junkie
8 REPLIES 8
David Burgess
Esteemed Contributor

Re: ttywatcher

You might need gmake, binutils or bison. When I compiled bind I had to have these. make failed. I needed gmake. Also try export CC=gcc before you start.

You can get the binaries from http://hpux.connect.org.uk/

HTH

Dave.
A. Daniel King_1
Super Advisor

Re: ttywatcher

I've got 'em all. Thanks for the nudge in the right direction, though.
Command-Line Junkie
David Burgess
Esteemed Contributor

Re: ttywatcher

Are you using this to keep an eye on users?
If so we use a package called peek where we change the users shell to a peek shell and everything is logged and can be played back at a later date.

Regards,

Dave.
A. Daniel King_1
Super Advisor

Re: ttywatcher

peek, eh? This sounds promising. I've been looking at several utilities, but I'm unfamiliar with this one.

Where might I find this package?

It sounds like its worth looking into, especially if it logs with timestamps. I am, however, really looking for the terminal sharing/'stealing' capabilities of ttywatcher.

ttywatcher can be found at:

ftp://coast.cs.purdue.edu/pub/tools/unix/sysutils/ttywatcher
Command-Line Junkie
A. Daniel King_1
Super Advisor

Re: ttywatcher

I just found peek. Let me check it out, thanks.
Command-Line Junkie
A. Daniel King_1
Super Advisor

Re: ttywatcher

peek involves a shell - I'm sure something so intrusive would not fly (non-technical issues). I did look a little further and found that ttysnoop might be the ticket (among others):

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x70a6663ce855d511abcd0090277a778c,00.html

This is for Linux, though. I'll try it anyway. VNC is more X-based than what I'm looking for.
Command-Line Junkie
Systeemingenieurs Infoc
Valued Contributor

Re: ttywatcher

I don't think it's what you're looking for, but anyway :

function grab
{
disp=$1

grab_file="/tmp/grab.$$.tmp"
xwd -out $grab_file -root -display $disp
xwud -in $grab_file
rm -f $grab_file
}


grab somedisplay:0.0
A Life ? Cool ! Where can I download one of those from ?
A. Daniel King_1
Super Advisor

Re: ttywatcher

Not what I was looking for, as I'm terminal based (for the most part). It does give me another class of things to search on. Do you know of a way to capture a vt100 screen like xwd does for X?
Command-Line Junkie