From 36a937505caed61652428539d767dc0701e4a4ce Mon Sep 17 00:00:00 2001 From: fm Date: Wed, 14 Mar 2012 10:30:20 +0100 Subject: [PATCH] Import from compactor --- .stuff/.bash_profile | 2 - .stuff/.bashrc | 215 --- .stuff/.cshrc | 139 -- .stuff/.dircolors | 108 -- .stuff/.inputrc | 54 - .stuff/.toolchainrc | 0 .stuff/.vim/after/syntax/lua.vim | 2 - .stuff/.vim/ftdetect/mediawiki.vim | 5 - .stuff/.vim/ftplugin/mediawiki.vim | 21 - .stuff/.vim/macros/less.vim | 249 ---- .stuff/.vim/macros/srcmgr.vim | 116 -- .stuff/.vim/plugin/increment.vim | 173 --- .stuff/.vim/plugin/increment.vim.orig | 150 --- .stuff/.vim/plugin/jdocConvert.vim | 90 -- .stuff/.vim/plugin/svncommand.vim | 1162 ----------------- .stuff/.vim/plugin/utils.vim | 258 ---- .stuff/.vim/pyclewn.vim | 23 - .stuff/.vim/scripts.vim | 7 - .stuff/.vim/spell/en.latin1.add | 17 - .stuff/.vim/spell/en.latin1.add.spl | Bin 250 -> 0 bytes .stuff/.vim/syntax/dbgvar.vim | 26 - .stuff/.vim/syntax/mediawiki.vim | 292 ----- .stuff/.vim/syntax/svn.vim | 57 - .stuff/.vim/syntax/svnlog.vim | 93 -- .stuff/.vim/syntax/syncolor.vim | 32 - .stuff/.vimrc | 408 ------ .stuff/.vimrc.priv | 173 --- .stuff/.vimrc.syntax | 26 - .stuff/bin/AUconsole | 8 - .stuff/bin/Glimpse | 20 - .stuff/bin/Make | 2 - .stuff/bin/MkIndex | 45 - .stuff/bin/Mkp | 8 - .stuff/bin/WheelEmulation | 7 - .stuff/bin/ampbackup | 27 - .stuff/bin/amppath | 11 - .stuff/bin/dn | 78 -- .stuff/bin/doze | 14 - .stuff/bin/drange | 2 - .stuff/bin/hexdmp | 12 - .stuff/bin/ie6 | 3 - .stuff/bin/keyrenew | 20 - .stuff/bin/lua-agent | 4 - .stuff/bin/measure2date | 2 - .stuff/bin/openUrl | 3 - .stuff/bin/prnt | 3 - .stuff/bin/setTbird | 3 - .stuff/bin/unbind-ultranav-touchpad | 20 - .stuff/bin/upd-ssh-boxlists | 65 - .stuff/bin/valgdb | 2 - .stuff/bin/valgrups | 2 - .stuff/bin/vi | 1 - .stuff/bin/view | 1 - .stuff/bin/virep | 60 - .stuff/bin/xfce4 | 2 - libuevent/Makefile => Makefile | 0 libuevent/libuevent.c => libuevent.c | 0 libuevent/libuevent.h => libuevent.h | 0 libuevent/llist.h => llist.h | 0 nmeamux/Makefile | 28 - nmeamux/pak-inf | 1 - nmeamux/pak-tasks | 35 - nmeamux/root/etc/cron.daily/dyndns-update | 9 - nmeamux/root/etc/cron.daily/nmemamux-restart | 3 - .../root/etc/hotplug.d/usbtty/usbtty.hotplug | 45 - nmeamux/root/etc/init.d/S15modules | 48 - nmeamux/root/etc/init.d/S16coldplug | 49 - nmeamux/root/etc/init.d/S975nmeamux | 6 - nmeamux/root/etc/mdev.conf | 2 - nmeamux/root/usr/bin/nmeamux | 607 --------- nmeamux/root/usr/bin/rfcomm | Bin 22664 -> 0 bytes libuevent/test.c => test.c | 0 72 files changed, 5156 deletions(-) delete mode 100644 .stuff/.bash_profile delete mode 100644 .stuff/.bashrc delete mode 100644 .stuff/.cshrc delete mode 100644 .stuff/.dircolors delete mode 100644 .stuff/.inputrc delete mode 100644 .stuff/.toolchainrc delete mode 100644 .stuff/.vim/after/syntax/lua.vim delete mode 100644 .stuff/.vim/ftdetect/mediawiki.vim delete mode 100644 .stuff/.vim/ftplugin/mediawiki.vim delete mode 100644 .stuff/.vim/macros/less.vim delete mode 100644 .stuff/.vim/macros/srcmgr.vim delete mode 100644 .stuff/.vim/plugin/increment.vim delete mode 100644 .stuff/.vim/plugin/increment.vim.orig delete mode 100644 .stuff/.vim/plugin/jdocConvert.vim delete mode 100644 .stuff/.vim/plugin/svncommand.vim delete mode 100644 .stuff/.vim/plugin/utils.vim delete mode 100644 .stuff/.vim/pyclewn.vim delete mode 100644 .stuff/.vim/scripts.vim delete mode 100644 .stuff/.vim/spell/en.latin1.add delete mode 100644 .stuff/.vim/spell/en.latin1.add.spl delete mode 100644 .stuff/.vim/syntax/dbgvar.vim delete mode 100644 .stuff/.vim/syntax/mediawiki.vim delete mode 100644 .stuff/.vim/syntax/svn.vim delete mode 100644 .stuff/.vim/syntax/svnlog.vim delete mode 100644 .stuff/.vim/syntax/syncolor.vim delete mode 100755 .stuff/.vimrc delete mode 100644 .stuff/.vimrc.priv delete mode 100644 .stuff/.vimrc.syntax delete mode 100755 .stuff/bin/AUconsole delete mode 100755 .stuff/bin/Glimpse delete mode 100755 .stuff/bin/Make delete mode 100755 .stuff/bin/MkIndex delete mode 100755 .stuff/bin/Mkp delete mode 100755 .stuff/bin/WheelEmulation delete mode 100755 .stuff/bin/ampbackup delete mode 100755 .stuff/bin/amppath delete mode 100755 .stuff/bin/dn delete mode 100755 .stuff/bin/doze delete mode 100755 .stuff/bin/drange delete mode 100644 .stuff/bin/hexdmp delete mode 100755 .stuff/bin/ie6 delete mode 100755 .stuff/bin/keyrenew delete mode 100755 .stuff/bin/lua-agent delete mode 100755 .stuff/bin/measure2date delete mode 100755 .stuff/bin/openUrl delete mode 100755 .stuff/bin/prnt delete mode 100755 .stuff/bin/setTbird delete mode 100755 .stuff/bin/unbind-ultranav-touchpad delete mode 100755 .stuff/bin/upd-ssh-boxlists delete mode 100755 .stuff/bin/valgdb delete mode 100755 .stuff/bin/valgrups delete mode 120000 .stuff/bin/vi delete mode 120000 .stuff/bin/view delete mode 100755 .stuff/bin/virep delete mode 100755 .stuff/bin/xfce4 rename libuevent/Makefile => Makefile (100%) rename libuevent/libuevent.c => libuevent.c (100%) rename libuevent/libuevent.h => libuevent.h (100%) rename libuevent/llist.h => llist.h (100%) delete mode 100644 nmeamux/Makefile delete mode 100644 nmeamux/pak-inf delete mode 100644 nmeamux/pak-tasks delete mode 100755 nmeamux/root/etc/cron.daily/dyndns-update delete mode 100755 nmeamux/root/etc/cron.daily/nmemamux-restart delete mode 100755 nmeamux/root/etc/hotplug.d/usbtty/usbtty.hotplug delete mode 100755 nmeamux/root/etc/init.d/S15modules delete mode 100755 nmeamux/root/etc/init.d/S16coldplug delete mode 100755 nmeamux/root/etc/init.d/S975nmeamux delete mode 100644 nmeamux/root/etc/mdev.conf delete mode 100755 nmeamux/root/usr/bin/nmeamux delete mode 100755 nmeamux/root/usr/bin/rfcomm rename libuevent/test.c => test.c (100%) diff --git a/.stuff/.bash_profile b/.stuff/.bash_profile deleted file mode 100644 index 3ee72b9..0000000 --- a/.stuff/.bash_profile +++ /dev/null @@ -1,2 +0,0 @@ -PATH=~/bin:/usr/local/bin:$PATH -. $HOME/.bashrc diff --git a/.stuff/.bashrc b/.stuff/.bashrc deleted file mode 100644 index 293afeb..0000000 --- a/.stuff/.bashrc +++ /dev/null @@ -1,215 +0,0 @@ -[ -n "$DISPLAY" ] && export TERM=xterm-color -SHELL=$BASH - -if [ -n "$PS1" ] ;then - [[ $0 != -* && $- != *l* ]] && . /etc/profile - [[ $BASH_COMPLETION ]] || . /etc/bash_completion - #. /etc/profile - - for p in ~/bin /usr/local/bin ;do - [[ $PATH != *${p}:* ]] && PATH=${p}:$PATH ;done - export SVN_EDITOR=vi - HISTCONTROL=ignoredups - IGNOREEOF=3 - HISTSIZE=2000 - HISTFILESIZE=50000 - - __col() { - [[ $TERM == xterm* || $TERM == linux ]] && echo -n '\[\e[3'${1}'m\]' - } - PS1="[$(__col 1)\h $(__col 2)\W$(__col 3)\$(exitrep)$(__col 9)]\\\$ " - eval `dircolors ~/.dircolors` - - [ -f /etc/rc.d/functions ] && USECOLOR=yes source /etc/rc.d/functions - - alias mark='echo -e "\n\n\n\n ${C_H2}---- `date` ----${C_CLEAR}\n\n\n\n"' - alias l=' less' - alias m=' mark' - alias df=' df -k' - alias ll=' ls -la' - alias ls=' ls --color=auto' - alias where='type -a' - alias grep='grep --color=auto' - alias svnhead="svnlog --limit=20" - alias sort='LC_ALL=C sort' - - export SVN=svn+ssh://ampsvn/srv/ampemb - svnlast() { if [[ $# -ge 1 ]] ;then svnlog -p -l 25 "$@" ;else svnlog -p -a $USER -l 25 ;fi; } - svnminfo() { svn mergeinfo $SVN/trunk/embedded \ - --show-revs ${@:-eligible} | \ - xargs -i svnlog '-{}' svn+ssh://ampsvn/srv/ampemb/trunk/embedded; } - - svnst() { svn st "$@" | grep -v '^[X?]'; } - hgst() { hg st "$@" | grep -v '^[X?]'; } - lth() { ls -lat "$@" | head -20; } - alias open='kfmclient exec' - url() { kfmclient openURL "$*"; } - vimless() { vim --cmd 'let no_plugin_maps = 1 | let load_less = 1' \ - --cmd 'set readonly noswapfile' \ - -c 'set mouse=a' \ - -c 'runtime macros/less.vim' "${@:--}"; } - p() { "$@" | less;} - v() { if [[ $# -eq 1 && -e $1 ]] ;then vimless $1 ;else "$@" | vimless ;fi } - vis() { vi +set\ hlsearch $(which "$@"); } - _txt() { eval "file $*" | grep -w text | cut -d: -f1; } - vif() { vi -c set\ hlsearch "+/$*/" $(egrep -l "$*" $(_txt \*)); } - vdiff() { vi -g -f -d --cmd 'set columns=164' -c 'normal =' "$@"; } - mt() { xterm +tb -e sh -c "while multitail $@; do : ;done"; } - ToAURoot() { tar zcf - $2 | command ssh $1 tar zxvf - -C /flash/root/; } - Trace() { amp-backtrace.lua "$@" | less +/'ERROR=>' --jump-target=.5; } - psman() { man -aW "$@" | xargs zcat | groff -man -Tps -P-pa4 \ - | psnup -pa4 -2 -d1 | less;} - f() { awk -v N="$*" 'BEGIN {split(N, Nr, / |,/)} - {for (n in Nr) {printf("%s%s", (n>1) ? " " : "", $Nr[n])}; print ""}'; } - e() { lua -e "print($*)"; } - - __h() - { - local -a C - local -i I - local N - eval $(grep "$@" ~/.bash_history | uniq | command tail -10 | tac \ - | awk '{print "C[" I++ "]=\047" gensub("\047", "\047\\\\\047\047", "g", $0) "\047"}') - if [[ ${#C[@]} > 0 ]] ;then - for ((I=0; I<${#C[@]}; I++ )) ;do echo "$I: ${C[$I]}" > /dev/tty ;done - read -n 1 -p "Select command: " N /dev/tty - if [[ $N = [0-9] && ${#C[$N]} > 0 ]] ;then - echo " ... Running [$N]" >/dev/tty - echo "${C[$N]}" - else - echo '' >/dev/tty - fi - fi - } - h() { - local ___Very_UnL1leLy_7ar=$(__h "$@") - history -s $___Very_UnL1leLy_7ar - eval $___Very_UnL1leLy_7ar - } - alias hi="history|tail" - - case $TERM in - sun-cmd) stln() { printf "\033]l %s \033" "$*"; } ; itit() { :; } - ;; - xterm*) stln() { printf "\033]2;%s\007" "$*" ; } - itit() { printf "\033]1;%s\007" "$*" ; } - ;; - *) stln() { :; } ; itit() { :; } - ;; - esac - HostnTty=`uname -n | tr '[a-z]' '[A-Z]'`:`tty | cut -c9-` - Tty=`tty | cut -c10-` - stdir() { - local p=${PWD/$AMPROOT/@} - if [[ $p = @/* ]] ;then Path=${p:2}; else Path=""; fi - local p=${p/$HOME/\~} - local V='' - stln "-- $HostnTty ${TOOLCHAIN_PS1_LABEL/#tt/[tt${TARGET_PLATFORM/#V26/26}] }- $p --" - itit "$Tty - $(sed 's/\([a-zA-Z]\)[a-zA-Z]*/\1/g' <<< ${AMPROOT##*/}) - ${p##*/}" - } - - sshwrap() { - local Cmd Host CmdU - Cmd=$1 ; shift - Host=$(command ssh -o 'ProxyCommand=echo %h >/dev/fd/9' -o ControlPath=none "$@" 9>&1 2>&-) - CmdU=$(tr a-z A-Z <<<$Cmd) - itit "$Tty - $CmdU $Host" - command $Cmd "$@" - } - ssh() { sshwrap ssh "$@"; } - aussh() { sshwrap aussh "$@"; } - au-sshgw() { sshwrap au-sshgw "$@"; } - tail() { itit "$Tty - TAIL $@" ; command tail "$@"; } - cu() { itit "$Tty - CU $@" ; command cu "$@"; } - locate() - { - if [[ $# == 1 ]] ;then - command locate -b "$@" - else - command locate "$@" - fi - } - - timerep() { - local timeRep=$TIMESHOW ; [[ $timeRep ]] || timeRep=$TIMEREPORT - [[ ! -n $timeRep ]] && return - times > /tmp/.time$$ - local no timeStart cmd timeNow - timeNow=$(< /tmp/.time$$) - HISTTIMEFORMAT="%s " history 1 > /tmp/.time$$ - read no timeStart cmd < /tmp/.time$$ - if [[ -n $_timeprev ]] ;then - echo $_timeprev $timeNow | tr ms ' ' | awk ' - { - usrPrev = $5*60 + $6 - sysPrev = $7*60 + $8 - usrCur = $13*60 + $14 - sysCur = $15*60 + $16 - total = (usrCur + sysCur) - (usrPrev + sysPrev) - if (total >= timeRep) { - printf("%.3fu %.3fs %d:%02d %.1f%%\n", - usrCur - usrPrev, sysCur - sysPrev, - duration / 60, duration % 60, total / duration * 100.0) - } - }' timeRep=$timeRep duration=$(( $(date +%s) - $timeStart )) - fi - _timeprev=$timeNow - unset TIMESHOW - rm -f /tmp/.time$$ - } - TIMEREPORT=1 - tim() { TIMESHOW=0 ; "$@"; } - - exitrep() { - declare -a P=( ${PIPESTATUS[@]} ) - local Last=$((${#P[*]} - 1)) - [[ ${P[$Last]} -ne 0 ]] && echo " E:${P[$Last]}" - } - - profile_check() { - local curtime=$(stat -c %y $HOME/.bashrc) - if [[ $_profile_time && $_profile_time != $curtime ]] ;then - source $HOME/.bashrc - fi - _profile_time=$curtime - } - - PROMPT_COMMAND='history -a; stdir; timerep; profile_check' - if [[ -d ~/.keychain && "$UID" -ne 0 ]] ;then - #keychain --quiet ~/.ssh/id_dsa --timeout 1440 # 24 hours. - keychain --quiet ~/.ssh/id_dsa - . ~/.keychain/`uname -n`-sh - fi - - if [[ -f /opt/toolchain/toolchain-setup ]] ;then - tt() { unset TOOLCHAIN_HOME ;. /opt/toolchain/toolchain-setup>/dev/null; } - untt() { unset CROSS_COMPILE ARCH TOOLCHAIN_PS1_LABEL - unalias make; } - tt; untt - fi - - amptree() { - if [ $# -eq 0 ] ;then echo $AMPROOT ; return ;fi - if [ $1 == --completions ] ;then - ( cd ~/amplex ; ls -1d */arm9 ) | cut -d/ -f1 | grep "^$3" - return - fi - local noCD="" - if [[ $1 == --nocd ]] ;then noCD=1; shift; fi - AMPROOT=~/amplex/$1 - CDPATH="" - for d in ~ $AMPROOT/{,arm9,arm9/agentframework/{,agents,libs},arm9/apps/{,drivers},arm9/utils,arm9/drivers} ~/{amplex,releases,src,abs,abs2} ;do - CDPATH=$CDPATH:$d - done - export LUA_CPATH=";;$AMPROOT/arm9/agentframework/lua/?.so" - if [[ ! -n $noCD ]] ;then - echo $AMPROOT/arm9 - cd $AMPROOT/arm9 - fi - } - complete -C 'amptree --completions' amptree - amptree --nocd embedded - complete -F _command -o filenames p v - complete -c vis env where -fi -# vim: set sw=3 sts=3 et: diff --git a/.stuff/.cshrc b/.stuff/.cshrc deleted file mode 100644 index 78a238e..0000000 --- a/.stuff/.cshrc +++ /dev/null @@ -1,139 +0,0 @@ -# @(#)cshrc 1.11 89/11/29 SMI -umask 2 -set path = ( ~/bin /usr/local/bin $path ) -if ( $?prompt ) then - # source /etc/CciCshEnv - #foreach l ( "` env - PATH=/bin sh -c '. /etc/profile; env' | awk -f ~/.envtocsh`" ) - # eval "$l" - #end - set HostnTty = `uname -n | tr '[a-z]' '[A-Z]'` - set HostnTty = "$HostnTty":`tty | cut -c9-` - set cdpath = ( /var/abs/* ~ ) - if (`tty` !~ /dev/pts/*) then - set term = `tset -Q -` >&/dev/null - else if ( ! $?TERM) then - set term = vt100 - endif - eval `dircolors -c ~/.dircolors` - alias h history - alias more less - alias m more - alias df 'df -k' - alias ll 'ls -la' - alias ls 'ls --color=auto' - alias grep 'grep --color=auto' - alias lth 'ls -lat \!* | head -20' - alias open 'kfmclient exec' - alias url 'kfmclient openURL "\!:*"' - alias l less - alias p '\!* | l' - alias v '\!* | vi - +set\ nomodified' - alias vis 'vi +set\ hlsearch `/usr/bin/which \!*`' - alias vif 'vi -c set\ hlsearch +/\!*/ `egrep -l \!* *`' - alias prnt 'enscript -2 -r -j' - alias vdiff "vi -g -f -d --cmd 'set columns=164' -c 'normal =' \!:*" - alias mt 'xterm +tb -e sh -c "while multitail \!* ; do : ;done"' - alias ToAURoot 'tar zcf - \!:2 | ssh \!:1 tar zxvf - -C /flash/root/' - alias psman 'man -aW \!* | xargs zcat | groff -man -Tps -P-pa4 | psnup -pa4 -2 -d1 | less ' - alias autunnel 'ssh -L 22000:localhost:20532 -t ssh@gatekeeper ssh -p22\!:1 -L20532:localhost:22 root@localhost' - alias aetunnel 'ssh -L 22000:localhost:20532 -t amplex@172.23.0.230 ssh -L20532:localhost:22 root@\!:1' - - if ( $TERM == sun-cmd ) then - alias stln 'printf "\033]l %s \033\" \!*' - else if ( $TERM =~ xterm* ) then - alias stln 'printf "\033]2;%s\007\033]1;%s\007" \!* "$HostnTty"' - alias xtitle 'printf "\033]2;%s\007\033]1;%s\007" \!:1 \!:1' - printf "\033]1;%s\007" "$HostnTty" - else - alias stln 'echo "\!*" >/dev/null' - endif - alias stdir 'stln "-- $HostnTty - `/bin/pwd | sed s,^$HOME,~,` --"' - alias cd 'set old="$cwd"; chdir \!:*; stdir' - alias back 'set tmp="$cwd"; chdir "$old"; set old="$tmp" ; stdir' - alias cb back - - set history=200 - if ($?tcsh) then - setenv SHELL /bin/sh - set autolist - set visiblebell - set time = 2 - set histdup = prev - set printexitvalue - set ignoreeof = 2 - set echo_style = both - set matchbeep=nomatch - set color=ls-F - unset autologout - #bindkey -v - #bindkey  vi-cmd-mode - bindkey -e - bindkey [1\;2~ complete-word-fwd - bindkey [1\;6~ complete-word-back - bindkey [1\;4~ complete-word-raw - bindkey [1~ complete-word-fwd - bindkey ' ' magic-space - bindkey -b ^W backward-delete-word - bindkey -b ^G list-glob - bindkey -b M-G expand-glob - bindkey -b M-P dabbrev-expand - bindkey -k up history-search-backward - bindkey -k down history-search-forward - bindkey -b ^A spell-word - bindkey -b ^P dabbrev-expand - bindkey -b ^N normalize-path - bindkey -b ^K normalize-command - - alias _col ': \!:1' - - if ( $term =~ xterm* ) alias _col 'echo -n "%{^[[3\!:1m%}"' - if ($uid > 0) then - set prompt="`_col 1`%m`_col 9`.%h.`_col 2`%c`_col 9`> " - else - set prompt="`_col 1`%m`_col 9`.%h.`_col 2`%c`_col 9`# " - endif - - # Esoteric - complete find 'n/-fstype/(nfs ufs)/' 'n/-name/f/' \ - 'n/-type/(c b d f p l s)/' 'n/-user/u/' 'n/-exec/c/' \ - 'n/-ok/c/' 'n/-cpio/f/' 'n/-ncpio/f/' 'n/-newer/f/' \ - 'c/-/(fstype name perm prune type user nouser \ - group nogroup size inum atime mtime ctime exec \ - ok print ls cpio ncpio newer xdev depth)/' \ - 'n/*/d/' - complete dd 'c/conv=/(ascii ebcdic ibm block lcase ucase swab \ - noerror notrunc sync)/' \ - 'c/if=/f/' 'c/of=/f/' \ - 'p/*/(if of ibs obs bs cbs files skip iseek \ - oseek seek count conv)/=/' - - complete set 'p/1/s/' - complete setenv 'p/1/e/' - complete unset 'p/1/s/' - complete unsetenv 'p/1/e/' - complete vis 'p/1/c/' - complete p 'p/1/c/' - complete v 'p/1/c/' - complete man 'p/1/c/' - complete sudo 'p/1/c/' - complete Su 'p/1/c/' - complete alias 'p/1/a/' - complete unalias 'p/1/a/' - complete bindkey 'p/1/()' 'p/2/b/' - complete complete 'p/1/c/' - complete uncomplete 'p/1/C/' - complete which 'p/*/c/' - complete where 'p/*/c/' - complete cd 'p/1/d/' - endif - if ( "$USER" != "root" ) then - keychain --quiet ~/.ssh/id_dsa --timeout 1440 # 24 hours. - source ~/.keychain/`uname -n`-csh - endif - alias tt 'source ~/.cshrc.tt' - alias amptree 'setenv AMPROOT \!:1; set cdpath = ( ~ ~/{amplex,releases,src,abs,abs2} \!:1/{,arm9,arm9/agentframework/{,agents,libs},arm9/apps/{,drivers},arm9/utils,arm9/drivers} )' - amptree ~/amplex/embedded_ampcom - setenv SVN_EDITOR vi - - cd . -endif diff --git a/.stuff/.dircolors b/.stuff/.dircolors deleted file mode 100644 index e100738..0000000 --- a/.stuff/.dircolors +++ /dev/null @@ -1,108 +0,0 @@ -# Configuration file for dircolors, a utility to help you set the -# LS_COLORS environment variable used by GNU ls with the --color option. - -# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the -# slackware version of dircolors) are recognized but ignored. - -# Below, there should be one TERM entry for each termtype that is colorizable -TERM linux -TERM linux-c -TERM mach-color -TERM console -TERM con132x25 -TERM con132x30 -TERM con132x43 -TERM con132x60 -TERM con80x25 -TERM con80x28 -TERM con80x30 -TERM con80x43 -TERM con80x50 -TERM con80x60 -TERM dtterm -TERM xterm -TERM xterm-color -TERM xterm-16color -TERM xterm-debian -TERM rxvt -TERM screen -TERM screen-w -TERM vt100 -TERM Eterm - -# Below are the color init strings for the basic file types. A color init -# string consists of one or more of the following numeric codes: -# Attribute codes: -# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed -# Text color codes: -# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white -# Background color codes: -# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white -NORMAL 00 # global default, although everything should be something. -FILE 00 # normal file -DIR 34 # directory -LINK 36 # symbolic link. (If you set this to 'target' instead of a - # numerical value, the color is as for the file pointed to.) -FIFO 40;33 # pipe -SOCK 04;35 # socket -DOOR 04;35 # door -BLK 33;04 # block device driver -CHR 33;04 # character device driver -ORPHAN 40;31;01 # symlink to nonexistent file - -# This is for files with execute permission: -EXEC 32 - -# List any file extensions like '.gz' or '.tar' that you would like ls -# to colorize below. Put the extension, a space, and the color init string. -# (and any comments you want to add after a '#') - -# If you use DOS-style suffixes, you may want to uncomment the following: -#.cmd 01;32 # executables (green) -#.exe 01;32 -#.com 01;32 -#.btm 01;32 -#.bat 01;32 - -.tar 31 # archives or compressed (red) -.tgz 31 -.arj 31 -.taz 31 -.lzh 31 -.zip 31 -.z 31 -.Z 31 -.gz 31 -.bz2 31 -.deb 31 -.rpm 31 -.jar 31 - -# image formats -.jpg 35 -.jpeg 35 -.gif 35 -.bmp 35 -.pbm 35 -.pgm 35 -.ppm 35 -.tga 35 -.xbm 35 -.xpm 35 -.tif 35 -.tiff 35 -.png 35 -.mov 35 -.mpg 35 -.mpeg 35 -.avi 35 -.fli 35 -.gl 35 -.dl 35 -.xcf 35 -.xwd 35 - -# audio formats -.ogg 35 -.mp3 35 -.wav 35 diff --git a/.stuff/.inputrc b/.stuff/.inputrc deleted file mode 100644 index e1cb5f7..0000000 --- a/.stuff/.inputrc +++ /dev/null @@ -1,54 +0,0 @@ - -# Readline settings -set bell-style visible -set show-all-if-ambiguous on -set visible-stats on -set input-meta on -set convert-meta off -set output-meta on -set expand-tilde on -set completion-ignore-case on -set completion-query-items 10000 - -# Bindings - make it somewhat more like tcsh -"\C-r": redraw-current-line -"\C-d": delete-char-or-list - -# Menu completion on Shift-TAB go back with Shift-F1 -"\e[Z": menu-complete -"\e[1;2~": menu-complete -"\eO2P": "\e-\e[Z" - -# More line editing -$if Bash -" ": magic-space -$endif -"\d": forward-backward-delete-char -"\C-h": backward-delete-char -"\C-x\C-h": backward-kill-line -"\C-x\C-s": reverse-search-history -"\C-x\C-f": forward-search-history -"\C-s": reverse-search-history -"\C-w": unix-filename-rubout -"\ew": unix-word-rubout -"\eu": undo - -# CTRL Arrow up and down searches for what is typed so far -"\e[1;3A": history-search-backward -"\e[1;3B": history-search-forward -"\e[1;5A": history-search-backward -"\e[1;5B": history-search-forward - -"\e[1;3D": backward-char -"\e[1;3C": forward-char -"\e[D": backward-char -"\e[C": forward-char - -# Misc -"\C-xsk": dump-functions -# At least Rdlf has it -"\C-xsh": dump-history - -"\C-xkr": kill-region -"\C-xcr": copy-region-as-kill - diff --git a/.stuff/.toolchainrc b/.stuff/.toolchainrc deleted file mode 100644 index e69de29..0000000 diff --git a/.stuff/.vim/after/syntax/lua.vim b/.stuff/.vim/after/syntax/lua.vim deleted file mode 100644 index 73d90f0..0000000 --- a/.stuff/.vim/after/syntax/lua.vim +++ /dev/null @@ -1,2 +0,0 @@ - -exe 'syn match luaOperator /||/' diff --git a/.stuff/.vim/ftdetect/mediawiki.vim b/.stuff/.vim/ftdetect/mediawiki.vim deleted file mode 100644 index f7c7152..0000000 --- a/.stuff/.vim/ftdetect/mediawiki.vim +++ /dev/null @@ -1,5 +0,0 @@ -augroup filetypedetect -au BufNewFile,BufRead *.mwiki setfiletype mediawiki -augroup END - - diff --git a/.stuff/.vim/ftplugin/mediawiki.vim b/.stuff/.vim/ftplugin/mediawiki.vim deleted file mode 100644 index ee82e4f..0000000 --- a/.stuff/.vim/ftplugin/mediawiki.vim +++ /dev/null @@ -1,21 +0,0 @@ -setlocal encoding=utf-8 -setlocal textwidth=0 -setlocal linebreak -setlocal matchpairs+=<:> -setlocal showbreak=+\ -nnoremap k gk -nnoremap j gj -nnoremap gk -nnoremap gj -nnoremap 0 g0 -nnoremap ^ g^ -nnoremap $ g$ -inoremap gk -inoremap gj -vnoremap k gk -vnoremap j gj -vnoremap gk -vnoremap gj -vnoremap 0 g0 -vnoremap ^ g^ -vnoremap $ g$ diff --git a/.stuff/.vim/macros/less.vim b/.stuff/.vim/macros/less.vim deleted file mode 100644 index 8eb435c..0000000 --- a/.stuff/.vim/macros/less.vim +++ /dev/null @@ -1,249 +0,0 @@ -" Vim script to work like "less" -" Maintainer: Bram Moolenaar -" Last Change: 2006 Dec 05 - -" Avoid loading this file twice, allow the user to define his own script. -if exists("loaded_less") - finish -endif -let loaded_less = 1 - -" If not reading from stdin, skip files that can't be read. -" Exit if there is no file at all. -if argc() > 0 - let s:i = 0 - while 1 - if filereadable(argv(s:i)) - if s:i != 0 - sleep 3 - endif - break - endif - if isdirectory(argv(s:i)) - echomsg "Skipping directory " . argv(s:i) - elseif getftime(argv(s:i)) < 0 - echomsg "Skipping non-existing file " . argv(s:i) - else - echomsg "Skipping unreadable file " . argv(s:i) - endif - echo "\n" - let s:i = s:i + 1 - if s:i == argc() - quit - endif - next - endwhile -endif - -set nocp -syntax on -set so=0 -set hlsearch -set incsearch -nohlsearch -" Don't remember file names and positions -set viminfo= -set nows -" Inhibit screen updates while searching -let s:lz = &lz -set lz - -" Used after each command: put cursor at end and display position -if &wrap - noremap L L0:redraw:file - au VimEnter * normal! L0 -else - noremap L Lg0:redraw:file - au VimEnter * normal! Lg0 -endif - -" When reading from stdin don't consider the file modified. -au VimEnter * set nomod - -" Can't modify the text -set noma - -" Give help -noremap h :call Help() -map H h -fun! s:Help() - echo " One page forward b One page backward" - echo "d Half a page forward u Half a page backward" - echo " One line forward k One line backward" - echo "G End of file g Start of file" - echo "N% percentage in file" - echo "\n" - echo "/pattern Search for pattern ?pattern Search backward for pattern" - echo "n next pattern match N Previous pattern match" - echo "\n" - echo ":n Next file :p Previous file" - echo "\n" - echo "q Quit v Edit file" - let i = input("Hit Enter to continue") -endfun - -" Scroll one page forward -noremap