norbert@et-inf.fho-emden.de
hafer@et-inf.fho-emden.de
KLess is a small text viewer for the KDE Desktop. You can use it best in conjunction with kfm. It is also possible to run KLess from the command-line.
Using KLess at the command-line prompt:
Command-line | What does it mean |
or
|
Starting Kless from the control panel is the same as if you try one of the commands at the command-line prompt. |
|
If you want to load a file from the command-line prompt, try this. Also see the chapter Loading files on the internet |
|
If you want KLess to read from a pipe you have to write this at your command-line prompt. |
We hope you will enjoy this text viewer.
Norbert Drees
norbert@et-inf.fho-emden.de
Ralf Haferkamp
,
hafer@et-inf.fho-emden.de
This history describes the released versions of KLess.
:-)
.
(Options->Save Options)
:)
Norbert Drees
norbert@et-inf.fho-emden.de
KLess is a application for the KDE project http://www.kde.org. KLess can be found on http://snoopy.et-inf.fho-emden.de/~norbert or at ftp://ftp.kde.org, the main ftp site of the KDE project. Additionally you can download RPMs, made by Troy Engel, at ftp://ftp.sonic.net/pub/users/tengel/kless.
In order to compile KLess successfully, you need the latest versions of
libkdecore
, libkfm
and libkfile
.
All required libraries as well as KLess itself can be found on
ftp://ftp.kde.org.
In order to compile and install KLess on your system, type the following in the base directory of the KLess distribution:
% ./configure
% make
% make install
Since KLess uses autoconf
you should have no trouble compiling it.
Should you run into problems please report them to one of the authors.
KLess is very simply to use. I am sure that if you have ever used a text viewer you will have no problems with KLess.
KLess makes use of the KDE Drag and Drop protocol. This means that you can drag and drop files from the desktop or kfm or some remote ftp site that you have open in one of kfm's windows on to KLess.
You can open files transparently on the internet. Try the following at the command-line prompt to see an example of this.
% kless ftp://ftp.kde.org/pub/kde/Welcome.msg
KLess supports printing. Optionally you can specify the printing command of your choice.
The search dialog supports full key controlled searching and regular
expressions (thanks to Pascal Esche).
Action | Keys |
start search | Return or CTRL+S |
find next | CTRL+N |
case sensitive on/off | CTRL+T (Toggle) |
exit search dialog | CTRL+E |
A search example:
The lamp indicates whether you can start a next search. If you enter a new word, change one or you toggled the 'case sensitive' switch the lamp will go out.
First load a file and than mark some lines with the mouse. Now choose 'Save As' from the 'File' menu and KLess will ask you 'work with selected text region ?'.
Load a document into KLess. With the KDE file dialog you can load a local file or a file on the internet.
Try the following at 'Location': ftp://ftp.kde.org
Allows the user to reload a document.
Save the text or a selected text region.
Start your specified text editor. If there is a selected text region, the user will be asked to work with it.
Print the whole document or a selected text region.
Open a new KLess window.
Closes the viewer window. If the closed viewer window was the last instance open, KLess will exit.
Exits the text viewer. If you modified some Options, you will be asked to save these changes. KLess allways stores the window size on leaving.
Opens the search dialog.
Repeats the last search operation, if a search operation has already taken place.
A dialog to set the tab width. Best viewed with a font like fixed ;)
Opens a dialog where you can add a command-line to start your favorite text editor.
For example: kvt -e vi
A dialog to enter the printer command-line.
For example: lpr -Plp
A dialog to select the text font.
A dialog to select the text background color.
A dialog to select the text foreground color.
Save all Options/Changes you made.
Displays essential information about KLess. If you click onto the scrolling text, you can start/stop the scrolling.
Invokes the KDE help system where the KLess help page will be displayed.