Re: Replacement for telnet
What I learner from the list is there appears to be no feature reach telnet package available. Ben Logan had a good method of using 'script' for logging all information on the screen. Unfortunately it adds all the control characters in the file. I have not found an easy method of removing the characters. Ed Wilts had suggested using c-kermit. This does more than telnet and is an interesting package. For logging it does the same thing as script, puts all the control characters in the log file as well. Viodit (M. Brown) suggested turning on logging with xterm. Unfortunately Red Hat has disabled this feature and not made it clear how to turn it back on. The man pages says logging is turned off, but does not say how to turn it back on. david ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
I have not found an easy method of removing the characters. try sed -e s/^M// filename newfilename ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
Viodit (M. Brown) suggested turning on logging with xterm. Unfortunately Red Hat has disabled this feature and not made it clear how to turn it back on. The man pages says logging is turned off, but does not say how to turn it back on. More than likely you have to get the source and recompile it, enabling the logging feature. Then the command line option to turn it on will work. MB -- e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden. It is our job to set up the meeting. U.S. Marine Corp. Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
Hi Eric This will work, the problem is trying to identify all the escape sequences. Try running script then run 'ls' and then telnet to another device. You will see a number of different escape sequences. david On Wed, 27 Mar 2002, Eric Wood wrote: I have not found an easy method of removing the characters. try sed -e s/^M// filename newfilename ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
David responded: This will work, the problem is trying to identify all the escape sequences. Try running script then run 'ls' and then telnet to another device. You will see a number of different escape sequences. Actually, as written, it will not work. It will replace all of the M characters at the beginning of any line with nothing, i.e., delete it. You have to have an ACTUAL control-M character in the line. But, besides that, you are correct, the Xterm escape sequences are tough to get rid of, since you have to also get drid of the normal ASCII characters that are part of the escape string. A Perl or Awk script could accomplist that. I'd recompile xterm and turn on the feature. MB On Wed, 27 Mar 2002, Eric Wood wrote: I have not found an easy method of removing the characters. try sed -e s/^M// filename newfilename ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden. It is our job to set up the meeting. U.S. Marine Corp. Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Replacement for telnet
Well there's exactly what I want and there's good enough. Good enough may be piping your typescript through col -b and then through tr -d '\011' like so: cat typescript | col -b | tr -d '\011' It might be a teeny bit better in conjunction with the knowledge that all those !@#$% colors in your ls output can be disabled by doing ls --color=never instead of just ls. An accurate log of a session should include the control codes, but if what you absolutely have to have is a cooked, text-only version as would be produced by xterm's original logging option, then (as someone else already said i think) you can recompile xterm. :-( Wonder why they chopped that out... -Original Message- From: dbrett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 6:15 AM To: Eric Wood Cc: [EMAIL PROTECTED] Subject: Re: Replacement for telnet Hi Eric This will work, the problem is trying to identify all the escape sequences. Try running script then run 'ls' and then telnet to another device. You will see a number of different escape sequences. david On Wed, 27 Mar 2002, Eric Wood wrote: I have not found an easy method of removing the characters. try sed -e s/^M// filename newfilename ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Mar 2002, dbrett wrote: How does history do this? I can't see anything there. Login, do some things, then logut. When you log jback in, check the ~/bash_history file. It should have a record of your previous session. Tony - -- Anthony E. Greene mailto:[EMAIL PROTECTED]%3E OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: http://www.pobox.com/~agreene/ Linux. The choice of a GNU generation http://www.linux.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene [EMAIL PROTECTED] 0x6C94239D iD8DBQE8lwl3pCpg3WyUI50RAhAyAKCzJMkXP6kwmqmilkSxOLC6O5bU8gCgnHf0 5gQzMoxtPapmoq9C2xbhm/o= =FQQ0 -END PGP SIGNATURE- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Replacement for telnet
Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. david ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
I'm sure there's a way to copy the telnet output to a file ;) Any other features? *giggle* ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Replacement for telnet
From a windows box, there's tera term, and some others. from a linux box, I don't know. -Original Message- From: dbrett [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 9:13 AM To: [EMAIL PROTECTED] Subject: Replacement for telnet Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. david ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. If you use an xterm and do the telnet, you can turn on the xterm's logging feature (control-left-click). MB -- e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden. It is our job to set up the meeting. U.S. Marine Corp. Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
umm, how about ssh? :-) Jake - Original Message - From: Burke, Thomas G. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 18, 2002 2:24 PM Subject: RE: Replacement for telnet From a windows box, there's tera term, and some others. from a linux box, I don't know. -Original Message- From: dbrett [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 9:13 AM To: [EMAIL PROTECTED] Subject: Replacement for telnet Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. david ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Mar 2002, dbrett wrote: Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. The bash history file is a decent log of what was done during the session. Tony - -- Anthony E. Greene mailto:[EMAIL PROTECTED] OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: http://www.pobox.com/~agreene/ Linux: the choice of a GNU Generation. http://www.linux.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D [EMAIL PROTECTED] iD8DBQE8lkzGpCpg3WyUI50RAqZlAJ9gLjFKEs+Ut/LIsxvEar682GKRzwCgua4M YIJyyMMid+3AckPiC3GU+LE= =Mns6 -END PGP SIGNATURE- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
I was unaware of this option, thanks, but I didn't see anything on this menu which could record what is happening. What did I miss? david On Mon, 18 Mar 2002, Vidiot wrote: Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. If you use an xterm and do the telnet, you can turn on the xterm's logging feature (control-left-click). MB -- e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden. It is our job to set up the meeting. U.S. Marine Corp. Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
Hi Jake ssh is nice but I still don't see any extra features (other than security) in ssh. The only other problem, is it has to be telnet. david On Mon, 18 Mar 2002, Jake McHenry wrote: umm, how about ssh? :-) Jake - Original Message - From: Burke, Thomas G. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 18, 2002 2:24 PM Subject: RE: Replacement for telnet From a windows box, there's tera term, and some others. from a linux box, I don't know. -Original Message- From: dbrett [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 9:13 AM To: [EMAIL PROTECTED] Subject: Replacement for telnet Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. david ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
Hi Anthony How does history do this? I can't see anything there. david On Mon, 18 Mar 2002, Anthony E. Greene wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Mar 2002, dbrett wrote: Does anybody know of another telnet program with more features? I am in need of one which can do things like logging. The bash history file is a decent log of what was done during the session. Tony - -- Anthony E. Greene mailto:[EMAIL PROTECTED] OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: http://www.pobox.com/~agreene/ Linux: the choice of a GNU Generation. http://www.linux.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D [EMAIL PROTECTED] iD8DBQE8lkzGpCpg3WyUI50RAqZlAJ9gLjFKEs+Ut/LIsxvEar682GKRzwCgua4M YIJyyMMid+3AckPiC3GU+LE= =Mns6 -END PGP SIGNATURE- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
On Mon, Mar 18, 2002 at 11:35:24AM -0500, dbrett wrote: How does history do this? I can't see anything there. If script will run on the machine in question, that's what I would use. The only drawback to it (in my experience) is that it also records control characters like ^H, etc. Not too big a deal for me, though. Regards, Ben -- Ben Logan: ben at wblogan dot net OpenPGP Key KeyID: A1ADD1F0 sugar daddy, n.: A man who can afford to raise cain. ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
On 14:22 18 Mar 2002, Statux [EMAIL PROTECTED] wrote: | I'm sure there's a way to copy the telnet output to a file ;) Any other | features? *giggle* Just run telnet from inside the script command. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ Truly, the ultimate demonstration of the computer's utility is that it continues to be indispensable in spite of those who run the things. - Steve Glass, in e-mail ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
I am running rh7.2 and the third option down is 'Print Window'. I will check rh6.2 and see what it has. This would have been quite useful david Damn, the Linux version of X-Term has dropped the logging feature. Ah, but wait. The man page shows +/-l and -lf options for doing logging. There is also a logging X resource. So, all is not lost. MB -- e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden. It is our job to set up the meeting. U.S. Marine Corp. Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
A relatively good way of logging telnet is to use telnet within ckermit. Go to http://www.kermit-project.org and download ckermit 8.0. I just finished building and testing this on my 7.1 system. You can make your connection via telnet, ssh, rlogin, ftp, serial, etc and log the session. I had absolutely no issues building it out of the box, run wermit (its default executable name), doing a 'log session' command, connecting via 'telnet localhost', doing some stuff, logging off, and exiting kermit and finally reviewing my session.log to make sure everything worked. kermit has been around forever, always, always works, and should really be installed as part of a base distribution. Its functionality is such that no toolbox should be considered complete without it. Heck, it even does ftp over ssl/tls! Cheers, .../Ed Ed Wilts Mounds View, MN, USA mailto:[EMAIL PROTECTED] - Original Message - From: Cameron Simpson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 18, 2002 7:08 PM Subject: Re: Replacement for telnet On 14:22 18 Mar 2002, Statux [EMAIL PROTECTED] wrote: | I'm sure there's a way to copy the telnet output to a file ;) Any other | features? *giggle* Just run telnet from inside the script command. -- Cameron Simpson, DoD#743[EMAIL PROTECTED] http://www.zip.com.au/~cs/ Truly, the ultimate demonstration of the computer's utility is that it continues to be indispensable in spite of those who run the things. - Steve Glass, in e-mail ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Replacement for telnet
Hi Vidiot I tried all the combinations I could think of but I can't get either '-l' or '-lf file' to work. Did you have any luck? david On Mon, 18 Mar 2002, Vidiot wrote: I am running rh7.2 and the third option down is 'Print Window'. I will check rh6.2 and see what it has. This would have been quite useful david Damn, the Linux version of X-Term has dropped the logging feature. Ah, but wait. The man page shows +/-l and -lf options for doing logging. There is also a logging X resource. So, all is not lost. MB -- e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden. It is our job to set up the meeting. U.S. Marine Corp. Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN) ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list