LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2003, 04:24 PM   #1
edusilva
LQ Newbie
 
Registered: Dec 2002
Location: Spain
Distribution: Red Hat 8.0
Posts: 9

Rep: Reputation: 0
Smart Linux telnet client


Does anyone know of a good telnet client for Linux, that llows for saving session data?

In Windows I use Hostexplorer from Hummingbird, but any telnet client that allows me to save profiles will do. Saving the IP address and terminal emulation would do.

Thanks for your help.
 
Old 01-17-2003, 06:42 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
You could just use a bash/sh script. An (extreeeemly) simple example might be
Code:
#!/bin/sh
telnet the.hostname.domain
Create it in a text editor and then set the file's executable bit (you may want to read up on permissions) with a command like 'chmod +x thefilename'

You can use options for telnet in the script the same way you use options in the command line. Try 'man telnet' to learn more.
 
Old 01-18-2003, 04:19 AM   #3
edusilva
LQ Newbie
 
Registered: Dec 2002
Location: Spain
Distribution: Red Hat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
That is one possibility, however I do encounter minor difficulties in this setup that maybe someone can help me with. First I need this app to telnet to telcom equipment which don't have FQDN, just IP addresses.

Second is that I want to be able to store all the info to afterwards just select from a simple command or from a GUI the telnet connection I want without having to remember each and every IP address. For ex.

Machine1 -> 30.30.30.20 -> VT100
Machine2 -> 30.30.30.30 -> VT220

I can just say telnet Machine1, or I can just select it from a menu.

Waht is your views?
 
Old 02-10-2003, 04:58 AM   #4
edusilva
LQ Newbie
 
Registered: Dec 2002
Location: Spain
Distribution: Red Hat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
OK You were right. What I did:

* Created a shell script per machine I had to telnet with:

telnet <machine IP>

* Put everything executable and in my [home]/bin directory.

* Created a KDE icon that would call up each script and that would set the title menu of konsole to the actual machine name.

It's a bit cumbersome as it would be much better to have this f(x) in a little telnet client or even konsole itself, but jejjjj it does the job.

Thanks.
 
Old 04-01-2003, 03:38 PM   #5
rifter
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
re telnet client

Actually there is so much more you can do with this, and the neat thing is you aren't really constrained by the feature set of any one program as you might be in windows. For instance, one thing you can do here is to enable logging for sessions:
telnet myhost | tee -a somelogfile
I keep logs in my ~/logs directory of all sessions with teh file named after the host I am connecting to.
You can also do cool things with colours, etc if you learn about using xterm or gnome-terminal or some similar terminal program form the man page. One thing that is neat about gnome-terminal as opposed to xterm is th --use-factory option which makes your gnome terminals share resources and use less therefore. If you find the settinsgs you like, you can set them up in your script. For instance, I often use something like:
a=myhost && xterm -n $a -T $a -sb -sl 1000 -fg white -bg blue -e telnet $a &
which gives me a blue background, a white foreground, a scroll bar and 1000 lines of scroll buffer. I have some neat scripts I wrote which incorporate all of this with gnome-terminal and connect to the host I want, and I have those set up in my fvwm menus so that I can just select and connect to them.
You can set things like fonts as well and since all of these are settable on the command line you can control them in your script. If you want to get really fancy you can even store settings in files and read them as defaults.
The power is yours!
 
Old 10-31-2012, 04:13 AM   #6
ShayWalters
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Telnet client

I think qterm might be what you're looking for. It is in the repository in Debian, and you can load it with synaptic or apt-get.
 
Old 10-31-2012, 05:25 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I don't think OP has been waiting for your answer This thread is 9 years old.
 
Old 10-31-2012, 09:12 AM   #8
ShayWalters
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Yes, I'm aware of the age of the thread, but I encountered this thread in a google search trying to remember the name of "qterm", so I figured if anyone else did a similar search, at least there would be a reply in the thread for them to find on their google search and maybe save someone some time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Telnet Client? jonwatson Linux - Software 23 03-16-2009 04:31 AM
Best Telnet Client? Haggis Linux - Newbie 1 12-29-2004 01:05 PM
What telnet client? rivethead Linux - Software 3 03-25-2004 02:10 PM
telnet or shh client for linux gbj Linux - Networking 3 07-22-2003 06:45 PM
What telnet client ? rivethead Linux - Software 5 02-27-2003 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration