- Introduction
KTelnet is a frontend to the programs telnet, rlogin
and secure shell. But it is even more. It is an easy way for beginners
to learn how to work in a network efficiently. KTelnet is part of the KDE
(the K Desktop Environment).
KTelnet also provides you with the possibility
to start an ordinary terminal (xterm, kvt, rxvt...) if you set the host
to "-" and the account to "-".
All sessions can be configured separately without
learning the terminals command line parameters.
- Using KTelnet
Before connecting to a remote
host you have to add a new session. Therefore select "New Session" in the
File Popupmenu or the Toolbar. Edit all fields. The "Further options" are
optional. Then press "Accept" to accept the
new session or "Cancel" to reject editing.
Note:
-
KTelnet also provides you with an ordinary terminal
if you choose "-" as hostname and "-" as accountname.
-
The Account Lineedit can also be left empty,
for multiuser login. Note, that
rlogin
always tries to use the
username on your local maschine to log in.
New sessions must be saved by choosing "Save
sessions" in the file menu. You can also call KTelnet to do that automatically
on exiting in the Options
tabdialog.
-
Delete Session: Delete the active (displayed) session
of all ktelnet's session
menu.
-
Save Options: Saves the general ktelnet options
to disk. This can also be automatically done by KTelnet. See the Options
Tabdialog.
-
Session comboBox: Change to the session you want
to start. Click with right mousebutton inside to change the session name.
If changed, press RETURN to finish. You can also change session name by
typing ALT+S.
-
Further Options: Put in further commandline parameters for the used terminal.
This is done in the same way like in normal terminals, e.g. -ls -geometry 10+10
a.s.o.
-
Connect button: Change "Session" to the session
you prefer and press "Connect" to start the remote session. To connect
to the current session you can simply press RETURN.
- Keybindings
To prevent you from damaging
your mousebuttons by clicking the hole day, KTelnet also provides you with
some needful keyboard accelerators.
These are (+ the accelerators within the menus):
-
PageUp: reduce the window size
-
PageDown: increase the window size
-
Cursor up: change current session one up
-
Cursor down: change current session one down
-
Alt+S: change the current session's name
-
Return: Start current session
- Working with rlogin
If you are working with rlogin,
you can connect to remote machines without typing your passwort at each
login. Just write a file in your home directory of the remote machine with
the name ".rhosts". In this file you have to type the machine's name and
account name from where you want to log in. Example: if user Nick on machine
Linux1 wants to log in account nick on Linux2 he has to write a file .rhosts
on machine Linux2 with the following contents:
Linux1 Nick
Now, he does not need to type any password any more.
- XHost
XWindows is a network transparent
windows system, that means that you can start an application on server
and display the resulting window on client. If you log onto server,
a environment varible, called DISPLAY will normally be set to server:0.0.
The result is,that all X Apps you start on server tell you something
like "Can't connect to X Server". The programs want to open on the wrong
screen. If you set the variable DISPLAY by (bash)
export DISPLAY=client:0.0
then the applications try to open their windows
on client. Now, client is refusing connection until you
tell client that server is allowed to open windows. This is done
be xhost. KTelnet can be configured that way, that it calls xhost for your
host before opening the terminal. What you have to do, is to set your DISPLAY
variable on server. This can not be done by KTelnet. Unfortunately.
All this is not needed when you use ssh (Secure
Shell) because ssh has its own X channel so server will automatically open
programs on client and client does not refuse it.
- Setting up ports
The connection programs try to call the host over a
certain port. You can set up the port number within ktelnet. If you are not
shure about what to do, leave the port number empty or set it to zero. Then
ktelnet always connects to the default port. This is 23 for telnet and
22 for secure shell (as far as I know). Sometimes the port numbers are changed.
E.g. when using a slirp connection to the internet, you can redirect ports
of your providers workstation to let your computer at home be a real internet
server. How to do that is explained on my
slirp homepage (in German).
- Terminals
If
you want to use another terminal which is not provided by ktelnet, you
can add the terminal in the resource file and also add the terminal options
for fontsize and colors there. I think you'll find it. See the global ktelnetrc
and the section [terminal] inside. Only change anything if you know what
you are doing or contact me. Of course, only these terminals can be used,
which are installed on your local host (You probably won't find a hpterm
on a DEC workstation).
-
Creating KDElnk files
KTelnet can create KDElnk files from your sessions. Just select the
corresponding entry in the File menu and the currently displayed session
will be saved into a kdelnk file. Of course, you can choose the destination
for saving.
-
Commandline arguments
KTelnet now has some commandline arguments:
- --help: display the possible commandline arguments
- --panel: start KTelnet directly on the panel
- --session: start only a certain session.
Usage:
ktelnet --session "my session"
.
KTelnet will return immediately after starting the session.
-
Panelize KTelnet
If you start KTelnet as ordinary window, you can choose "On panel" from the
options menu to put KTelnet onto the panel. Once KTelnet is on the panel, you
can start remote sessions by clicking the left mousebutton. Right mousebutton
redisplays the main Window of KTelnet. To stop KTelnet from running, you always
have to redisplay the main Window. Another possibility to panelize KTelnet is
to simply click the "iconify" window button.
-
Release Notes
-
First public release of telly on August 26th 1997
(Version 0.2)
-
Ported telly on DEC DIGITAL Unix on September 5th
1997
-
First bugfix on October 27th 1997 (needs Qt 1.31
now) (Version 0.3)
-
Ported telly for KDE and named ktelnet on November
4th 1997 (Version 0.2)
-
Made some small fixes and called it version 0.3
(22.11.97)
-
Installed configure script to the ktelnet package
(27.11.97)
-
Introduced lots of new features and named it version
0.4 (06.12.97)
-
Some fixed made, some new functionality, named 0.51
(22.01.98)
-
Some more bugfixes, more terminals (decterm...)
added (20.02.98)
-
Many more features: Creating KDElnks and panelize
ktelnet and commandline arguments added (28.04.98)
-
Some bugfixes, some inconsistencies repaired. Also
a bug with Qt 1.4 solved (was my fault). Panelizing changed slightly
(13.08.98)
-
I made Qt 1.42 and KDE 1.1 complient (17.06.99)
- Bug reports
If you find any bugs (I hope you will
not) please send an E-mail to me,
that is martin.haefner@topmail.de.
- Updates
For
new versions of KTelnet please contact the KTelnet homepage or see the applications
list of K Desktop Environment