|
NAMELilyTerm - A light and eazy-to-use terminal emulator for X.SYNOPSISlilyterm [-? | -h | --help] [-T TITLE | --title TITLE] [-t NUMBER | --tab NUMBER] [-n TAB NAMES | --tab_names TAB NAMES] [-d DIRECTORY | --directory DIRECTORY] [-g GEOMETRY | --geometry GEOMETRY] [-l | -ls | --login] [-H | --hold] [-s | --separate] [-j | --join] [-p | --profile] [-u PROFILE | --user_profile PROFILE] [-v | --version] [-e COMMAND | -x COMMAND | --execute COMMAND] DESCRIPTIONLilyTerm is a terminal emulator for the X Window System, based on the libvte library, and aims to be fast and lightweight.OPTIONS-? | -h | --helpDisplay a brief help message.
-T TITLE | --title TITLE Specify the window title.
-t NUMBER | --tab NUMBER Open multi tabs when starting up.
-n TAB NAMES | --tab_names TAB NAMES Specify the tab names, separate with <Space>.
-d DIRECTORY | --directory DIRECTORY Specify the init directory when starting up.
-g GEOMETRY | --geometry GEOMETRY Specify the geometry of window when starting.
A reasonable example value is "80x24+0+0", witch means "width x height {+-} xoffset {+-} yoffset" (without space). -l | -ls | --login Make the shell invoked as a login shell.
-H | --hold Hold the terminal window open when the command following
-e/-x terminated.
-s | --separate Run in separate process.
-j | --join Integrate new created tabs to the last accessed window.
It may be useful for launching multi commands with LilyTerm in a shell script. -p | --profile Got a profile sample.
-u PROFILE | --user_profile PROFILE Use a specified profile.
-v | --version Show the version information.
-e COMMAND | -x COMMAND | --execute COMMAND Run a command when starting up. Must be the final
option.
KEYBOARD CONTROLThe following key bindings may custom or disable by the right click menu [Set key binding].
Some key bindings that disabled by default but maybe useful:
FILE
Use [Save settings] in the right click menu to save the current tab's settings as default to the specified profile. TIPSDisplay UTF-8 character under C localeExecute the following command under LilyTerm:
bind "set convert-meta off"
bind "set output-meta on" And use the right click menu to set the text encoding to "UTF-8". Launch LilyTerm under a chroot jail Extract xauth info to a file (under X):
xauth extract /PathToChroot/tmp/display $DISPLAY
Mount the devpts device and /tmp (may not necessary) before chroot into a chroot jail: mount /dev/pts /PathToChroot/dev/pts -t devpts
mount -o bind /tmp /PathToChroot/tmp (may not necessary) Merge the extracted xauth info and set the DISPLAY environ after chroot into the chroot jail: xauth merge /tmp/display
export DISPLAY=:0 Launch LilyTerm directly, or run it under Xnest/Xephyr: xinit ~/.xinitrc -- /usr/bin/Xnest :1 -ac -geometry
800x600
or xinit ~/.xinitrc -- /usr/bin/Xephyr :1 -ac -screen
800x600
<Ctrl><S> and <Ctrl><Q> don't work under VIM: Use the following command to turn off
'flow-Control' under LilyTerm:
stty raw
or stty -ixon
BSD Users: Please mount the procfs before launch LilyTerm:
mount -t procfs procfs /proc
ENVIRONMENT
case $TERM in
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}: ${PWD}\007"'
;;
*)
;;
The following is a reasonable example ~/.cshrc for
csh/tcsh:
switch ($TERM)
case "xterm*":
setenv TITLE "%{\033]0;%m: %~\007%}"
breaksw
set prompt = "${TITLE}%# " Please visit
http://tldp.org/HOWTO/Xterm-Title.html for more details.
AUTHORLu, Chao-Ming (Tetralet) <tetralet@gmail.com>SEE ALSOxterm(1)
Visit the GSP FreeBSD Man Page Interface. |