Home    Search    Reference Manuals    Return   



The Genterm-gtk terminal



The genterm-gtk terminal is very similar to the xterm-terminal, but have some extra features:



Background menu:

Following popup-menu will appear if mouse button #3 is pressed:

Explanation Mouse button
cd □ cd [dir] Go to [dir] [Shift+Btn 1]
cd .. Go to parent directory [Ctrl+Shift+Btn 1]
cd - Go to previous directory
cd $HOME Go to home directory
gencd Go to a directory stored in file "~/.gensys/gencd"
pwd Print working directory
genterm-gtk [dir] Open a new genterm-gtk window in [dir] [Alt+Ctrl+Shift+Btn 1]
genfile [dir] Open a new genfile window in [dir]
li □ li List current directory [Shift+Btn 2]
li [string] List files containing [string] [Ctrl+Shift+Btn 2]
li -l [string] List long format [Alt+Ctrl+Shift+Btn 2]
li -a [string] List hidden files
li --all [string] Find all files containing [string] in all subdirectories
lnew [string] List files in time order
tree -f List contents of directories in a tree-like format
genlocate [string] Find file containing [string] in whole file system
genlocate_dir [string] Find directory containing [string] in whole file system
file □ op [file] open [file] for editing [Shift+Btn 3]
genrun [file] Run [file] in associated program [Ctrl+Shift+Btn 3]
genasso [file] Show program associated with [file] [Alt+Ctrl+Shift+Btn 3]
copy file(s) DESTINATION Copy file(s)
move file(s) DESTINATION Move and/or rename file(s)
genrename [str1] [str2] Rename files containing [str1]
del [string] Move file(s) containing [string] to $gendel
pri [file] print [file]
pri -help print help




Mouse button commands:
No modifier Shift Ctrl Shift Alt Ctrl Shift
Mouse Btn 1 Text selection cd "text selection" cd .. opterm "text selection"
Mouse Btn 2 Paste text selection li li "text selection" li -l "text selection"
Mouse Btn 3 Background popup menu op "text selection" genrun "text selection" genasso "text selection"



The F-keys
No modifier Shift Ctrl+Shift Alt+Ctrl+Shift
F1   cd "selected text" cd .. opterm "selected text" (Same as mouse
button #1)
F2 Paste text selection li li "selected text" li -l "selected text" (Same as mouse
button #2)
F3   op "selected text" genrun "selected text" genasso "selected text" (Same as mouse
button #3)
F4 Close window      
F5 lnew --all -10 lnew --all -25 lnew -10 "selected text" lnew -25 "selected text"
F6 history genhistory    



Scrolling the genterm-gtk window
The window can be scrolled by pressing the mouse button #2 on the scrollbar to the left.
If the cursor is placed over the scrollbar the window can be scrolled by using the following keys:
Home Scroll to top of window
End Scroll to bottom of window
PgUp Scroll up one page
PgDown Scroll down one page
Shift Up Scroll up one line
Shift Down Scroll down one line



Command history

There are three ways to recall old commands in the history stack:

  1. Pressing the F5-key. (Same as writing command history).
  2. Pressing Shift+F5 gives you the possibility to search in the history stack.
  3. Pressing Ctrl+R enters the "reverse-i-search"-mode, in this mode you can do the following:




    Command line editing
    The command line is read via a program called "readline", which makes it possible for the user to edit the line before sending it to the system. The editing commands are very similar to Emacs-commands:
    Arrow up Go to previous command
    Arrow down Go to next command
    Arrow left Move one character to the left
    CTRL+"Arrow left" Move one word to the left
    CTRL+A Move to beginning of line
    Arrow right Move one character to the left
    CTRL+"Arrow right" Move one word to the left
    CTRL+E Move to end of line
    Del Delete current character
    Backspace Delete the character to the left
    Esc & Del Delete next word
    CTRL+W Delete previous word
    CTRL+U Kill to beginning of line
    CTRL+K Kill to end of line
    CTRL+R Search backwards through the history buffer for a given string
    CTRL+S Pause transmission
    CTRL+Q Resume transmission
    CTRL+Z Suspend program. Continue by writing "fg" or "bg"
    CTRL+C Abort



    Copy and pasting text from clipboard

    Top of page