Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
XTerm*background: black
XTerm*foreground: white
XTerm*scrollBar: false
XTerm*background: #000000
XTerm*foreground: #ffffff
*beNiceToColormap: false
xv.codeSet: iso-8859-1
! Dann ganz viele Einträge für den Editor "nedit", die ich jetzt aber weglasse,
! weil den heute außer mir keiner mehr verwendet. :-(
! Allgemein für Motif-Programme
*XmFileSelectionBox.fileFilterStyle: FILTER_HIDDEN_FILES
*XmFileSelectionBox.XmNdirListItemCount: 15
*XmFileSelectionBox.XmNfileListItemCount: 15
*XmFileSelectionBox.resizePolicy: XmRESIZE_GROW
! XmRESIZE_ANY / XmRESIZE_NONE
!*XmText.background:
!*XmTextField.background:
!*XmList.background:
!evtl. spezifisch Ddd*XmText.background: red usw.
! Hier stehen nur die X-Server-spezifischen xterm-Einstellungen, die nur mit
! Schriftgrößen zu tun haben. Weiteres siehe unten.
XTerm.VT100.FaceName: dejavu\ sans\ mono
XTerm.VT100.FaceSize: 14
XTerm.VT100.Font: -dec-terminal-medium-r-normal--14-*-*-*-*-*-iso8859-1
XTerm.VT100.BoldFont: -dec-terminal-bold-r-normal--14-*-*-*-*-*-iso8859-1
XTerm.SimpleMenu*backgroundPixmap: gradient:vertical?dimension=450&start=white&end=gray40
! Das hier ist äquivalent zu gewissen Einstellungen in der
! /usr/local/etc/fonts/local.conf, aber ich habe vergessen, welches von beiden
! wann Priorität hat.
Xft.antialias: true
Xft.dpi: 116
Xft.autohint: false
Xft.hinting: false
!none, slight, medium, or full:
!Xft.hintstyle: hintslight
!none, default, light, legacy:
Xft.lcdfilter: lcddefault
!unknown, none, rgb, bgr, vrgb, vbgr:
Xft.rgba: rgb
! Die folgenden Angaben stehen eigentlich in ~/XTerm, so daß sie immer
! berücksichtigt werden, auch wenn das xterm auf ein anderes Display kommt,
! d. h. wenn ich mich von remote eingeloggt habe.
!
! Siehe auch man 3 Xaw.
!
! *** Scrollbar & Menu ***
XTerm.VT100.ScrollBar: true
XTerm.VT100.Scrollbar.Foreground: NavajoWhite3
XTerm.VT100.Scrollbar.Background: black
XTerm.VT100.Scrollbar.BorderColor: sienna
!Also: backgroundPixmap and borderPixmap or both: Pixmap
!What is insensitiveBorder(Insensitive), a pixmap?
!Better use Thickness and Length instead of Width and Height.
!Default for the following 4: 14 1 14 7
!XTerm.VT100.Scrollbar.Width: 13
!XTerm.VT100.Scrollbar.BorderWidth: 3 doesn't work
XTerm.VT100.Scrollbar.Thickness: 13
XTerm.VT100.Scrollbar.MinimumThumb: 15
XTerm.VT100.Scrollbar.Thumb: hlines2
XTerm.VT100.JumpScroll: false
!XTerm.VT100.MultiScroll: true
!XTerm.VT100.AwaitInput: true
!(to make Xaw3d arrow scrollbars work)
!
! *** Colors ***
XTerm.VT100*color4: blue2
XTerm.VT100*color8: gray70
XTerm.VT100*color12: rgb:5c/5c/ff
!!XTerm.VT100.boldColors: false
XTerm.VT100.Foreground: darkslategrey
XTerm.VT100.Background: white
XTerm.VT100.CursorColor: red
!XTerm.VT100.BorderColor: DarkGoldenrod
XTerm.VT100.PointerColor: brown4
XTerm.VT100.pointerColorBackground: orange
XTerm.VT100.ReverseVideo: true
!
! *** Fonts ***
XTerm.VT100.RenderFont: false
XTerm.VT100.ShowMissingGlyphs: true
XTerm.VT100.FontWarnings: 2
XTerm*XimFont: fixed
!
! *** Keyboard and Characters ***
XTerm.VT100.ScrollCond: true
XTerm.MenuLocale: de_DE.ISO8859-1
XTerm*LocaleFilter: /usr/local/bin/luit
XTerm.TtyModes: rprnt ^l
! Termcap is totally broken since FreeBSD 9.0.
!XTerm.VT100.AllowC1Printable: true
XTerm.VT100.Locale: medium
XTerm.VT100.CharClass: 33:48,36-38:48,40-43:48,45-58:48,61:48,63-95:48,97-126:48,160-170:48,174-179:48,181-186:48,188-255:48
! 33-126:33,46-57:48,64-122:48
XTerm.VT100.CutNewline: false
XTerm.VT100.KeyboardType: tcap
XTerm.VT100.PtyInitialErase: false
!XTerm.VT100.BackarrowKeyIsErase: true
!XTerm.VT100.BackarrowKey: false
!XTerm.VT100.DeleteIsDEL: false
!XTerm.VT100.AltIsNotMeta: false
!XTerm.VT100.MetaSendsEscape: true
!XTerm.VT100.EightBitInput: true
!XTerm.VT100.EightBitOutput: true
!XTerm.VT100.AllowTcapOps: true
XTerm.VT100.TcapFunctionKeys: true
XTerm.VT100.OldXtermFKeys: true
XTerm.VT100.AppcursorDefault: false
XTerm.VT100.AppkeypadDefault: false
XTerm.VT100.Translations: #override\n\
<Key>Scroll_Lock: set-scroll-on-tty-output(toggle)\n\
<Key>Pause: interpret("\033[2J\033[H")\n\
Ctrl<Key>BackSpace: string(0x17)\n\
~Shift<Key>Print: string(0x1B)string("[1~")\n\
Shift<Key>Print: string(0x1B)string("[4~")\n\
<Key>XF86AudioPrev: set-altscreen(off)\n\
<Key>XF86AudioNext: set-altscreen(on)\n
! Ctrl<Key>Delete: string(0x1B)string("d")\n
!
! *** Further ***
XTerm.TermName: xterm-xfree86
XTerm.ZIconBeep: 100
!XTerm.VT100.AllowSendEvents: true
XTerm.VT100.DecTerminalID: vt220
XTerm.VT100.C132: true
XTerm.VT100.BorderWidth: 1
XTerm.VT100.ReverseWrap: true
!XTerm.VT100.SaveLines: 1000
XTerm.VT100.AllowWindowOps: false
# Check system messages
msgs -f
# Allow terminal messages
mesg y
VENDOR=intel
OSTYPE=FreeBSD
MACHTYPE=i386
CPUTYPE=pentium4m
GS_FONTPATH=/usr/local/share/ghostscript/fonts:/usr/local/share/fonts/cmpsfont/afm:/usr/local/share/fonts/amspsfont/type1:/usr/local/lib/X11/fonts/webfonts:/usr/local/lib/X11/fonts/TTF:/usr/local/lib/X11/fonts/TrueType:/usr/local/lib/X11/fonts/OTF:/usr/local/lib/X11/fonts/Type1:/usr/local/lib/X11/fonts/bitstream-vera:/usr/local/lib/X11/fonts/dejavu:/usr/local/lib/X11/fonts/freefont-ttf:/usr/local/lib/X11/fonts/gentium:/usr/local/lib/X11/fonts/gentium-basic:/usr/local/lib/X11/fonts/linuxlibertine:/usr/local/lib/X11/fonts/ubuntu-font:/usr/local/lib/X11/fonts/junicode:/usr/local/lib/X11/fonts/code2001:/usr/local/lib/X11/fonts/Droid:/usr/local/lib/X11/fonts/Roboto:/usr/local/lib/X11/fonts/moveable-type-fonts:/usr/local/lib/X11/fonts/stix:/usr/local/share/fonts/cantarell:/usr/local/share/fonts/Kindle
export VENDOR OSTYPE MACHTYPE CPUTYPE GS_FONTPATH
test -z "$BROWSER" -o `id -u` = 0 && export BROWSER=/usr/local/bin/w3m
#DISABLE_IMSETTINGS=yes
#XMODIFIERS="@im=local"
#GTK_IM_MODULE=cedilla
#QT_IM_MODULE=xim
#QT_IM_SWITCHER=imsw-multi
#export DISABLE_IMSETTINGS XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER
# Folgende Liste von Umgebungsvariablen steht eigentlich in meiner
# /etc/login.conf, aber ich füge sie mal hier ein:
FTP_LOGIN=anonymous
FTP_PASSIVE_MODE=YES
HTTP_AUTH="basic:*"
HTTP_REFERER=auto
BLOCKSIZE=K
VISUAL=vi
PAGER=less
MORE="-c -e -i -j3 -q"
LESS="-c -e -i -j3 -M -q"
PERLDOC_PAGER="less -R"
LIBRARY_PATH=/usr/local/lib
CPATH=/usr/local/include
FIGURINEDIR=/usr/local/share/doc/figurine
GZIP=-9
LIBXCB_ALLOW_SLOPPY_LOCK=1
CHARSET=iso-8859-1
G_BROKEN_FILENAMES=1
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin:/usr/local/kde4/bin
export FTP_LOGIN FTP_PASSIVE_MODE HTTP_AUTH HTTP_REFERER BLOCKSIZE VISUAL
export PAGER MORE LESS PERLDOC_PAGER LIBRARY_PATH CPATH FIGURINEDIR GZIP
export LIBXCB_ALLOW_SLOPPY_LOCK CHARSET G_BROKEN_FILENAMES PATH
# Ab hier ist es jetzt spezifisch für den Normaluser:
# Strings sortieren und Zahlen ausgeben bitte nicht nach deutschen Regeln
LC_COLLATE=POSIX
LC_NUMERIC=POSIX
LSCOLORS=CxDxBxBxHxbxbxHeHeGaGx
export LC_COLLATE LC_NUMERIC LSCOLORS
# aktuelles Verzeichnis in den Pfad
#expr ":$PATH:" : '.*:\.\?:' >/dev/null || export PATH=$PATH:
[[ ":$PATH:" == *:?(\.):* ]] || export PATH=$PATH:
[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips
# Die eine Sache hier ist jetzt spezifisch für root. Weil root die tcsh
# verwendet, paßt es bzgl. Syntax nicht zum Rest dieses Files, und sein
# File heißt außerdem nicht ".profile", sondern ".login".
if (! $?DISPLAY) then
ps | grep -q /usr/local/bin/X\ :0 && setenv DISPLAY :0
endif
# .kshrc - korn shell startup file
#
# This file will be used if the shell is invoked for interactive use and
# the environment variable ENV is set to this file.
#
# see also ksh93(1), environ(7).
#
# Individual history file
HISTFILE=~/.ksh_$$
# Enable the builtin emacs(1) command line editor in sh(1),
# e.g. C-a -> beginning-of-line.
set -C -o emacs -o multiline
# some useful aliases
alias 132="echo -en '\033[?3h'"
alias 80="echo -en '\033[?3l'"
alias back="cd -"
alias l="ls -GFC" ll="ls -GlF" la="ls -GAFC" lla="ls -GAlF"
alias dl="CLICOLOR_FORCE=1 ls -GAlF | grep '\/$'"
#alias cd="cd -P"
alias cd0="cd -P ."
alias cp="/bin/cp -p"
alias mv="/bin/mv -i"
alias which="whence -v"
alias whereis="whereis -x"
#alias kcl='find . -depth 1 -name .ksh_\* -mtime +1 -delete'
alias kcl="find .ksh_+([0-9]) -prune -atime +1 -type f -print -delete"
if [[ "$LC_TIME$LC_ALL$LANG" == de* ]]
then alias today='CLICOLOR_FORCE=1 ls -GAlt | grep "`date +\"%e %b\"`...:"'
else alias today='CLICOLOR_FORCE=1 ls -GAlt | grep "`date +\"%b %e\"`...:"'
fi
alias nedit='XLIB_SKIP_ARGB_VISUALS=1 /usr/local/bin/nedit'
alias ncl='nedit-client -tabbed -ask'
alias pine='LANG=de_DE.UTF-8 /usr/local/bin/xterm -u8 -fn -*-teletext-*-r-*-*-20-*-*-*-*-*-*-* -fb -*-teletext-*-i-*-*-20-*-*-*-*-*-*-* -e alpine'
alias druck='gs -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 540" -sIjsParams="Quality:Quality=0,Quality:ColorMode=0,Quality:PenSet=0" -dNOPAUSE -dBATCH -sDEFAULTPAPERSIZE=a4 -sOutputFile=/dev/lpt0'
alias dviHP='dvips -P deskjet -u /usr/local/share/texmf-var/fonts/map/dvips/updmap/psfonts_pk.map'
alias dvifolie='dvips -h mirr.hd'
#alias KP='xmodmap -e "keycode 91 = KP_Delete period KP_Separator"'
unalias r
# address a running opera instance: oc http://www.google.de/
oc() { opera -remote "openURL($1,new-page)";}
# xterm window title
titel() { echo -n "\033]0;$*\033\\";}
# last modified N files: llast -5 *.pdf
llast() { if [ "$1" -lt 0 2>/dev/null ]; then h=$1; shift; else h=-10; fi
CLICOLOR_FORCE=1 /bin/ls -GAlFt "$@" | head $h;}
# an alternative to "du": summe *.jpg
summe() { /bin/ls -nl "$@" |
sed "s/^............. *[0-9]* *[0-9]* *\([0-9]*\).*/-\1/" |
paste -s - | bc | cut -c 2-;}
# prompt
PS1='${PWD/#?(\/usr)\/home\/ichselber/\~}$\ '
# search path for cd(1)
CDPATH=.:$HOME
if [[ -o interactive ]]; then
# The following is remotely related to a script posted by Cyrille Lefevre in
# fr.comp.os.unix, message-ID 45dcde5b$1@news.stben.net
comp=(
ednum=
edchar=
tmp=
typeset -A map
)
# This function performs the storing and replacing of keyboard input.
function comp_emacs {
# for debugging
#printf "%q|%q|%q\n" "${comp.ednum}" "${comp.edchar}" "${.sh.edchar}">/dev/pts/2
# temporary variable for short-time savings
comp.tmp=
# consider what we received
case "${.sh.edchar}" in
# if there is Esc plus one digit, this will be a numeric parameter
$'\E'[0-9])
comp.tmp=${comp.ednum}
# beep if we replace a previous numeric parameter
[[ -n ${comp.tmp} && -z ${comp.edchar} ]] && comp.tmp=$'\cG'
# store the new parameter
comp.ednum=${.sh.edchar}
# execute whatever was stored before (or the above beep)
.sh.edchar=${comp.tmp}${comp.edchar}
comp.edchar=
return
;;
# a single digit has three possibilities
[0-9])
if [[ -n ${comp.edchar} ]]; then
# 1) it will prolong a stored escape sequence
comp.edchar=${comp.edchar}${.sh.edchar}
.sh.edchar=; return
elif [[ -n ${comp.ednum} ]]; then
# 2) it will prolong a stored numeric parameter
comp.ednum=${comp.ednum}${.sh.edchar}
.sh.edchar=; return
# 3) it will not get any special treatment, just stay in .sh.edchar
fi
;;
# if there is a beginning escape sequence like Esc[7;
$'\E['+([0-9])\;)
comp.tmp=${comp.edchar}
# store the new sequence
comp.edchar=${.sh.edchar}
if [[ -n ${comp.tmp} ]]; then
# execute what was stored before
.sh.edchar=${comp.ednum}${comp.tmp}
comp.ednum=
else
# dont't execute the actual sequence yet
.sh.edchar=
fi
return
;;
# if a character that concludes a complex escape sequence, one of ~ABCD, ar-
# rives and we have a partial escape sequence stored, we must look if there
# exists a mapping
[~A-D])
[[ -n ${comp.edchar} ]] && comp.tmp=${comp.map[${comp.edchar}${.sh.edchar}]}
;;
esac
# if there hasn't been found a mapping (maybe not even an escape sequence),
# we look for a mapping of the actual .sh.edchar only
if [[ -z ${comp.tmp} ]]; then
comp.tmp=${comp.map[${.sh.edchar}]}
# if still empty, comp.tmp will be the actual .sh.edchar, not mapped
[[ -z ${comp.tmp} ]] && comp.tmp=${.sh.edchar}
# the previously stored character(s) must also be executed
comp.tmp=${comp.edchar}${comp.tmp}
# (should we catch the case that the mapping results in a single EOF?)
fi
# and numeric parameter must be included too; so we execute everything now!
.sh.edchar=${comp.ednum}${comp.tmp}
comp.edchar=
comp.ednum=
return
}
# Here we switch the keyboard input to go through our function.
# You can switch this off again with "trap - KEYBD".
trap comp_emacs KEYBD
# This is a convenience function to administrate the associative array in which
# the keyboard mapping is stored. You needn't use it but can also assign array
# elements manually: comp.map["~"]="tilde"
function keybind {
typeset c= act=a
while getopts pu c; do act=${c}; done
shift OPTIND-1
case ${act} in
a)
while (( $# > 1 )); do
comp.map["$1"]="$2"
shift 2
done
;;
p)
for c in ${!comp.map[@]}; do
printf "%-8q => %q\n" "${c}" "${comp.map[${c}]}"
done
;;
u)
if (( $# > 0 )); then
for c; do
#unset ${comp.map[$(printf "${c}")]}
unset "${comp.map[${c}]}" # oder mit inneren \"
done
else
unset comp.map
typeset -A comp.map
fi
;;
esac
}
keybind '\' $'\\ \cH' # \: suppress special functionality of \
keybind $'\cY' $'\cU' # ^Y: kill line
keybind $'\E[1;5D' $'\Eb' $'\E[1;5C' $'\Ef' # ^Left/^Right: back/forward word
keybind $'\E[1;5A' $'\E[A' # ^Up: search back history
keybind $'\E[A' $'\cP' # Up: history back (no search)
if [[ :`stty -g` == *:erase=8:*erase2=[!7]* ]]
then keybind $'\c?' $'\cD' # DEL: delete-forward
else keybind $'\E[3~' $'\cD'
fi
keybind $'\E[3;5~' $'\cK' # ^DEL: delete to EOL
keybind $'\E[3;2~' $'\Ed' $'\E[3;3~' $'\Ed' # Shift/Alt DEL: forward-delete word
keybind $'\027' $'\Eh' # ^W: backward-delete word
#keybind $'\E[H' schon da # Home: beginning of line
keybind $'\E[F' $'\E[Y' # End: end of line
keybind $'\E[1~' $'\cAless \cM' # Print: output file with less
keybind $'\E[4~' $'\cA\Edless\cM' # Shift Print: substitute less for word1
# The last 2 require special keyboard translation for your terminal:
# XTerm.VT100.Translations: #override\n\
# ~Shift<Key>Print: string(0x1B)string("[1~")\n\
# Shift<Key>Print: string(0x1B)string("[4~")\n
fi # interactive
# Ach ja, die tcsh vom ollen root hat noch ein paar Parameter; die sollten
# wiederum nicht in dieser Datei stehen, sondern in der .cshrc:
set echo_style = both
set pushdtohome = 1
set nonomatch = 1
set rmstar = 1
if ($?prompt) then
# an interactive shell
# set prompt = '%/%{\e]0;%}%l%{\a%}# '
# if ($term =~ cons*) set prompt='%/# '
set prompt = '%/# '
#set mail = (/var/mail/$USER)
set filec
set history = 100
set savehist = 100
set color = ls-F
set colorcat = 1
set listjobs = long
set noclobber = 1
set wordchars = '_$'
if ( $?tcsh ) then
bindkey "^?" delete-char
bindkey "^W" backward-delete-word
endif
endif
Die KornShell von Morris I. Bolsky und David G. Korn von Hanser Fachbuchverlag (1991)
Das betrifft natürlich auch meine Konfiguration, denn ich verwende die "echte" Korn-Shell.Die ksh ist vom OpenBSD Team angepasst worden, daher evtl. nicht 1:1 umsetzbar
Wir verwenden essentielle Cookies, damit diese Website funktioniert, und optionale Cookies, um den Komfort bei der Nutzung zu verbessern.
Siehe weitere Informationen und konfiguriere deine Einstellungen