|
From: <mut...@us...> - 2010-03-03 05:03:56
|
Revision: 606
http://libmage.svn.sourceforge.net/libmage/?rev=606&view=rev
Author: mutanabbi
Date: 2010-03-03 05:03:44 +0000 (Wed, 03 Mar 2010)
Log Message:
-----------
Mutation to simple user ;)
Modified Paths:
--------------
gentoo-configs/mutanabbi/common/etc/paludis/repositories/gentoo.conf
gentoo-configs/mutanabbi/common/home/radja/.mc/ini
gentoo-configs/mutanabbi/common/root/.inputrc
gentoo-configs/mutanabbi/common/root/.mc/ini
gentoo-configs/mutanabbi/common/root/.vimrc
gentoo-configs/mutanabbi/common/usr/local/bin/push_hot_list.sh
Added Paths:
-----------
gentoo-configs/mutanabbi/common/home/
gentoo-configs/mutanabbi/common/home/radja/
gentoo-configs/mutanabbi/common/home/radja/.bashrc
gentoo-configs/mutanabbi/common/home/radja/.colorcvsrc
gentoo-configs/mutanabbi/common/home/radja/.cvsrc
gentoo-configs/mutanabbi/common/home/radja/.gdbinit
gentoo-configs/mutanabbi/common/home/radja/.inputrc
gentoo-configs/mutanabbi/common/home/radja/.mc/
gentoo-configs/mutanabbi/common/home/radja/.screenrc
gentoo-configs/mutanabbi/common/home/radja/.subversion/
gentoo-configs/mutanabbi/common/home/radja/.vim/
gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/
gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/cpp.snippets
gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/files.rel
gentoo-configs/mutanabbi/common/home/radja/.vimperatorrc
gentoo-configs/mutanabbi/common/home/radja/.vimrc
gentoo-configs/mutanabbi/common/home/radja/.xmonad/
gentoo-configs/mutanabbi/common/home/radja/colorapache
gentoo-configs/mutanabbi/common/home/radja/docs/
gentoo-configs/mutanabbi/common/home/radja/files.rel
gentoo-configs/mutanabbi/common/home/radja/otchet.xslt
gentoo-configs/mutanabbi/common/root/.vim/snippets/
gentoo-configs/mutanabbi/common/root/.vim/snippets/cpp.snippets
gentoo-configs/mutanabbi/common/root/.vim/snippets/files.rel
Removed Paths:
-------------
gentoo-configs/mutanabbi/common/root/.colorcvsrc
gentoo-configs/mutanabbi/common/root/.cvsrc
gentoo-configs/mutanabbi/common/root/.gdbinit
gentoo-configs/mutanabbi/common/root/.vimperatorrc
gentoo-configs/mutanabbi/common/root/.xmonad/
gentoo-configs/mutanabbi/common/root/colorapache
gentoo-configs/mutanabbi/common/root/docs/
gentoo-configs/mutanabbi/common/root/otchet.xslt
Modified: gentoo-configs/mutanabbi/common/etc/paludis/repositories/gentoo.conf
===================================================================
--- gentoo-configs/mutanabbi/common/etc/paludis/repositories/gentoo.conf 2010-03-03 04:57:24 UTC (rev 605)
+++ gentoo-configs/mutanabbi/common/etc/paludis/repositories/gentoo.conf 2010-03-03 05:03:44 UTC (rev 606)
@@ -1,6 +1,6 @@
location = /usr/portage
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/
#sync = rsync://server/gentoo-portage
-profiles = ${location}/profiles/default/linux/amd64/2008.0
+profiles = ${location}/profiles/default/linux/amd64/10.0/developer
format = ebuild
names_cache = /var/cache/paludis/names
Copied: gentoo-configs/mutanabbi/common/home/radja/.bashrc (from rev 590, gentoo-configs/mutanabbi/common/root/.bashrc)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.bashrc (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.bashrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,83 @@
+#
+# $Id: .bashrc 69 2007-01-16 02:14:55Z zaufi $
+#
+
+# Test for an interactive shell. There is no need to set anything
+# past this point for scp and rcp, and it's important to refrain from
+# outputting anything in those cases.
+if [[ $- != *i* ]] ; then
+ # Shell is non-interactive. Be done now!
+ return
+fi
+
+#
+[ -f /etc/profile ] && source /etc/profile
+[ -f ~/.profile ] && source ~/.profile
+
+export PATH=$PATH:$HOME/bin
+#export CONFIG_SITE=/usr/local/etc/config.site
+export GTK_USE_XFT=1
+export EDITOR=vim
+export GREP_COLOR=35
+export BLOCK_SIZE=human-readable
+export LESSCHARSET=utf-8
+export PALUDIS_OPTIONS="--continue-on-failure if-satisfied --dl-reinstall if-use-changed"
+
+alias du0='du -h --max-depth=0'
+alias du1='du -h --max-depth=1'
+alias make='make-wrapper'
+alias grep='grep --color=auto'
+alias cppgrep='grep --color=auto --include=*.C --include=*.c --include=*.cpp --include=*.cc --include=*.h --include=*.hh --include=*.hpp'
+#alias cppgrep='grep --color=auto --include=*.cc --include=*.hh --include=*.hpp'
+alias d='dict'
+alias p='ps xa | grep -v grep | grep '
+alias ll='ls -la --color=auto'
+alias ls='ls --color=auto'
+alias cvs='colorcvs'
+alias top='htop'
+alias oldtop='/usr/bin/top'
+alias screen='screen -U'
+alias ks='kstart konqueror'
+alias svnkwset="svn propset svn:keywords 'Id HeadURL Revision Date Author'"
+alias ctags='exuberant-ctags'
+
+#
+shopt -s cdspell
+shopt -s extglob
+shopt -s dotglob
+shopt -s cmdhist
+shopt -s no_empty_cmd_completion
+ulimit -n 8192
+
+# Midnight Commander chdir enhancement
+if [ -f /usr/share/mc/mc.gentoo ]; then
+ . /usr/share/mc/mc.gentoo
+fi
+
+# espesial konsole magic
+function set_konsole_tab_name()
+{
+ if test -n "$KONSOLE_DCOP_SESSION"; then
+ sn=`dcop $KONSOLE_DCOP_SESSION sessionName`
+ case $sn in
+ Shell* | /* | \.\.\./*)
+ cd=`pwd`
+ dn=`dirname "$cd"`
+ if test "/" = "$dn"; then
+ dn="$cd"
+ else
+ tmp=`dirname "$dn"`
+ if test "/" = "$tmp"; then
+ dn="$cd"
+ else
+ dn=".../`basename $dn`/`basename $cd`"
+ fi
+ fi
+ dcop $KONSOLE_DCOP_SESSION 'renameSession(QString)' "$dn"
+ ;;
+ *) ;;
+ esac
+ fi
+}
+PROMPT_COMMAND="set_konsole_tab_name"
+
Copied: gentoo-configs/mutanabbi/common/home/radja/.colorcvsrc (from rev 590, gentoo-configs/mutanabbi/common/root/.colorcvsrc)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.colorcvsrc (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.colorcvsrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,38 @@
+# Sample .colorcvsrc
+# These are the defaults
+
+# path to the cvs binary
+cvs: /usr/bin/cvs
+
+# Don't do color if our terminal type ($TERM) is one of these.
+# (List all terminal types on one line, seperated by whitespace.)
+nocolor: dumb
+
+# The following groups of attributes may be combined for a given color:
+#
+# clear black on_black
+# reset red on_red
+# bold green on_green
+# underline yellow on_yellow
+# underscore blue on_blue
+# blink magenta on_magenta
+# reverse cyan on_cyan
+# concealed white on_whit
+
+# colors for different types of status messages
+
+P: 01;33
+U: 01;32
+C: 01;31
+M: 01;34
+A: 00;36
+R: 00;31
+?: 01;30
+
+# this is for server messages
+server: 00;37
+
+# this is for warnings
+warning: bold cyan
+
+# arch-tag: colorcvsrc-sample
Copied: gentoo-configs/mutanabbi/common/home/radja/.cvsrc (from rev 590, gentoo-configs/mutanabbi/common/root/.cvsrc)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.cvsrc (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.cvsrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,4 @@
+cvs -z9 -q
+diff -u3 -p
+update -dP
+checkout -P
Copied: gentoo-configs/mutanabbi/common/home/radja/.gdbinit (from rev 590, gentoo-configs/mutanabbi/common/root/.gdbinit)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.gdbinit (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.gdbinit 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,578 @@
+#
+# C++ related beautifiers (optional)
+#
+
+set print pretty on
+set print object on
+set print static-members on
+set print vtbl on
+set print demangle on
+set print asm-demangle on
+set demangle-style gnu-v3
+set print sevenbit-strings off
+set overload-resolution on
+set print array on
+
+#
+# STL GDB evaluators/views/utilities
+#
+# The new GDB commands:
+# are entirely non instrumental
+# do not depend on any "inline"(s) - e.g. size(), [], etc
+# are extremely tolerant to debugger settings
+#
+# This file should be "included" in .gdbinit as following:
+# source stl-views.gdb or just paste it into your .gdbinit file
+#
+# The following STL containers are currently supported:
+#
+# std::vector<T> -- via pvector command
+# std::list<T> -- via plist command
+# std::map<T,T> -- via pmap command
+# std::multimap<T,T> -- via pmap command
+# std::set<T> -- via pset command
+# std::multiset<T> -- via pset command
+# std::deque<T> -- via pdequeue command
+# std::stack<T> -- via pstack command
+# std::queue<T> -- via pqueue command
+# std::priority_queue<T> -- via ppqueue command
+# std::bitset<n> -- via pbitset command
+# std::string -- via pstring command
+# std::widestring -- via pwstring command
+#
+# The end of this file contains (optional) C++ beautifiers
+# Make sure your debugger supports $argc
+#
+#
+# Simple GDB Macros writen by Dan Marinescu (H-PhD) - License GPL
+# Inspired by intial work of Tom Malnar,
+# Tony Novac (PhD) / Cornell / Stanford,
+# Gilad Mishne (PhD) and Many Many Others.
+# Contact: dan...@ya... (Subject: STL)
+#
+
+
+#
+# std::vector<>
+#
+
+define pvector
+ if $argc == 0
+ help pvector
+ else
+ set $size = $arg0._M_impl._M_finish - $arg0._M_impl._M_start
+ set $capacity = $arg0._M_impl._M_end_of_storage - $arg0._M_impl._M_start
+ set $size_max = $size - 1
+ end
+ if $argc == 1
+ set $i = 0
+ while $i < $size
+ printf "elem[%u]: ", $i
+ p *($arg0._M_impl._M_start + $i)
+ set $i++
+ end
+ end
+ if $argc == 2
+ set $idx = $arg1
+ if $idx < 0 || $idx > $size_max
+ printf "idx1, idx2 are not in acceptable range: [0..%u].\n", $size_max
+ else
+ printf "elem[%u]: ", $idx
+ p *($arg0._M_impl._M_start + $idx)
+ end
+ end
+ if $argc == 3
+ set $start_idx = $arg1
+ set $stop_idx = $arg2
+ if $start_idx > $stop_idx
+ set $tmp_idx = $start_idx
+ set $start_idx = $stop_idx
+ set $stop_idx = $tmp_idx
+ end
+ if $start_idx < 0 || $stop_idx < 0 || $start_idx > $size_max || $stop_idx > $size_max
+ printf "idx1, idx2 are not in acceptable range: [0..%u].\n", $size_max
+ else
+ set $i = $start_idx
+ while $i <= $stop_idx
+ printf "elem[%u]: ", $i
+ p *($arg0._M_impl._M_start + $i)
+ set $i++
+ end
+ end
+ end
+ if $argc > 0
+ printf "Vector size = %u\n", $size
+ printf "Vector capacity = %u\n", $capacity
+ printf "Element "
+ whatis $arg0._M_impl._M_start
+ end
+end
+
+document pvector
+ Prints std::vector<T> information.
+ Syntax: pvector <vector> <idx1> <idx2>
+ Note: idx, idx1 and idx2 must be in acceptable range [0..<vector>.size()-1].
+ Examples:
+ pvector v - Prints vector content, size, capacity and T typedef
+ pvector v 0 - Prints element[idx] from vector
+ pvector v 1 2 - Prints elements in range [idx1..idx2] from vector
+end
+
+
+
+#
+# std::list<>
+#
+
+define plist
+ if $argc == 0
+ help plist
+ else
+ set $head = &$arg0._M_impl._M_node
+ set $current = $arg0->_M_impl->_M_node->_M_next
+ set $size = 0
+ while $current != $head
+ if $argc == 2
+ printf "elem[%u]: ", $size
+ p *($arg1*)($current + 1)
+ end
+ if $argc == 3
+ if $size == $arg2
+ printf "elem[%u]: ", $size
+ p *($arg1*)($current + 1)
+ end
+ end
+ set $current = $current->_M_next
+ set $size++
+ end
+ printf "List size = %u \n", $size
+ if $argc == 1
+ printf "List "
+ whatis $arg0
+ printf "Use plist <variable_name> <element_type> to see the elements in the list.\n"
+ end
+ end
+end
+
+document plist
+ Prints std::list<T> information.
+ Syntax: plist <list> <T> <idx>: Prints list size, if T defined all elements or just element at idx
+ Examples:
+ plist l - prints list size and definition
+ plist l int - prints all elements and list size
+ plist l int 2 - prints the third element in the list (if exists) and list size
+end
+
+
+
+#
+# std::map and std::multimap
+#
+
+define pmap
+ if $argc == 0
+ help pmap
+ else
+ set $tree = $arg0
+ set $i = 0
+ set $node = $tree->_M_t->_M_impl->_M_header->_M_left
+ set $end = $tree->_M_t->_M_impl->_M_header
+ set $tree_size = $tree->_M_t->_M_impl->_M_node_count
+ if $argc == 1
+ printf "Map "
+ whatis $tree
+ printf "Use pmap <variable_name> <left_element_type> <right_element_type> to see the elements in the map.\n"
+ end
+ if $argc == 3
+ while $i < $tree_size
+ set $value = (void *)($node + 1)
+ printf "elem[%u]->left: ", $i
+ p *($arg1*)$value
+ set $value = $value + 4
+ printf "elem[%u]->right: ", $i
+ p *($arg2*)$value
+ if $node->_M_right != 0
+ set $node = $node->_M_right
+ while $node->_M_left != 0
+ set $node = $node->_M_left
+ end
+ else
+ set $tmp_node = $node->_M_parent
+ while $node == $tmp_node->_M_right
+ set $node = $tmp_node
+ set $tmp_node = $tmp_node->_M_parent
+ end
+ if $node->_M_right != $tmp_node
+ set $node = $tmp_node
+ end
+ end
+ set $i++
+ end
+ end
+ if $argc == 4
+ set $idx = $arg3
+ set $ElementsFound = 0
+ while $i < $tree_size
+ set $value = (void *)($node + 1)
+ if *($arg1*)$value == $idx
+ printf "elem[%u]->left: ", $i
+ p *($arg1*)$value
+ set $value = $value + 4
+ printf "elem[%u]->right: ", $i
+ p *($arg2*)$value
+ set $ElementsFound++
+ end
+ if $node->_M_right != 0
+ set $node = $node->_M_right
+ while $node->_M_left != 0
+ set $node = $node->_M_left
+ end
+ else
+ set $tmp_node = $node->_M_parent
+ while $node == $tmp_node->_M_right
+ set $node = $tmp_node
+ set $tmp_node = $tmp_node->_M_parent
+ end
+ if $node->_M_right != $tmp_node
+ set $node = $tmp_node
+ end
+ end
+ set $i++
+ end
+ printf "Number of elements found = %u\n", $ElementsFound
+ end
+ if $argc == 5
+ set $idx1 = $arg3
+ set $idx2 = $arg4
+ set $ElementsFound = 0
+ while $i < $tree_size
+ set $value = (void *)($node + 1)
+ set $valueLeft = *($arg1*)$value
+ set $valueRight = *($arg2*)($value + 4)
+ if $valueLeft == $idx1 && $valueRight == $idx2
+ printf "elem[%u]->left: ", $i
+ p $valueLeft
+ printf "elem[%u]->right: ", $i
+ p $valueRight
+ set $ElementsFound++
+ end
+ if $node->_M_right != 0
+ set $node = $node->_M_right
+ while $node->_M_left != 0
+ set $node = $node->_M_left
+ end
+ else
+ set $tmp_node = $node->_M_parent
+ while $node == $tmp_node->_M_right
+ set $node = $tmp_node
+ set $tmp_node = $tmp_node->_M_parent
+ end
+ if $node->_M_right != $tmp_node
+ set $node = $tmp_node
+ end
+ end
+ set $i++
+ end
+ printf "Number of elements found = %u\n", $ElementsFound
+ end
+ printf "Map size = %u\n", $tree_size
+ end
+end
+
+document pmap
+ Prints std::map<TLeft and TRight> or std::multimap<TLeft and TRight> information. Works for std::multimap as well.
+ Syntax: pmap <map> <TtypeLeft> <TypeRight> <valLeft> <valRight>: Prints map size, if T defined all elements or just element(s) with val(s)
+ Examples:
+ pmap m - prints map size and definition
+ pmap m int int - prints all elements and map size
+ pmap m int int 20 - prints the element(s) with left-value = 20 (if any) and map size
+ pmap m int int 20 200 - prints the element(s) with left-value = 20 and right-value = 200 (if any) and map size
+end
+
+
+
+#
+# std::set and std::multiset
+#
+
+define pset
+ if $argc == 0
+ help pset
+ else
+ set $tree = $arg0
+ set $i = 0
+ set $node = $tree->_M_t->_M_impl->_M_header->_M_left
+ set $end = $tree->_M_t->_M_impl->_M_header
+ set $tree_size = $tree->_M_t->_M_impl->_M_node_count
+ if $argc == 1
+ printf "Set "
+ whatis $tree
+ printf "Use pset <variable_name> <element_type> to see the elements in the set.\n"
+ end
+ if $argc == 2
+ while $i < $tree_size
+ set $value = (void *)($node + 1)
+ printf "elem[%u]: ", $i
+ p *($arg1*)$value
+ if $node->_M_right != 0
+ set $node = $node->_M_right
+ while $node->_M_left != 0
+ set $node = $node->_M_left
+ end
+ else
+ set $tmp_node = $node->_M_parent
+ while $node == $tmp_node->_M_right
+ set $node = $tmp_node
+ set $tmp_node = $tmp_node->_M_parent
+ end
+ if $node->_M_right != $tmp_node
+ set $node = $tmp_node
+ end
+ end
+ set $i++
+ end
+ end
+ if $argc == 3
+ set $idx = $arg2
+ set $ElementsFound = 0
+ while $i < $tree_size
+ set $value = (void *)($node + 1)
+ if *($arg1*)$value == $idx
+ printf "elem[%u]: ", $i
+ p *($arg1*)$value
+ set $ElementsFound++
+ end
+ if $node->_M_right != 0
+ set $node = $node->_M_right
+ while $node->_M_left != 0
+ set $node = $node->_M_left
+ end
+ else
+ set $tmp_node = $node->_M_parent
+ while $node == $tmp_node->_M_right
+ set $node = $tmp_node
+ set $tmp_node = $tmp_node->_M_parent
+ end
+ if $node->_M_right != $tmp_node
+ set $node = $tmp_node
+ end
+ end
+ set $i++
+ end
+ printf "Number of elements found = %u\n", $ElementsFound
+ end
+ printf "Set size = %u\n", $tree_size
+ end
+end
+
+document pset
+ Prints std::set<T> or std::multiset<T> information. Works for std::multiset as well.
+ Syntax: pset <set> <T> <val>: Prints set size, if T defined all elements or just element(s) having val
+ Examples:
+ pset s - prints set size and definition
+ pset s int - prints all elements and the size of s
+ pset s int 20 - prints the element(s) with value = 20 (if any) and the size of s
+end
+
+
+
+#
+# std::dequeue
+#
+
+define pdequeue
+ if $argc == 0
+ help pdequeue
+ else
+ set $size = 0
+ set $start_cur = $arg0._M_impl._M_start._M_cur
+ set $start_last = $arg0._M_impl._M_start._M_last
+ set $start_stop = $start_last
+ while $start_cur != $start_stop
+ p *$start_cur
+ set $start_cur++
+ set $size++
+ end
+ set $finish_first = $arg0._M_impl._M_finish._M_first
+ set $finish_cur = $arg0._M_impl._M_finish._M_cur
+ set $finish_last = $arg0._M_impl._M_finish._M_last
+ if $finish_cur < $finish_last
+ set $finish_stop = $finish_cur
+ else
+ set $finish_stop = $finish_last
+ end
+ while $finish_first != $finish_stop
+ p *$finish_first
+ set $finish_first++
+ set $size++
+ end
+ printf "Dequeue size = %u\n", $size
+ end
+end
+
+document pdequeue
+ Prints std::dequeue<T> information.
+ Syntax: pdequeue <dequeue>: Prints dequeue size, if T defined all elements
+ Deque elements are listed "left to right" (left-most stands for front and right-most stands for back)
+ Example:
+ pdequeue d - prints all elements and size of d
+end
+
+
+
+#
+# std::stack
+#
+
+define pstack
+ if $argc == 0
+ help pstack
+ else
+ set $start_cur = $arg0.c._M_impl._M_start._M_cur
+ set $finish_cur = $arg0.c._M_impl._M_finish._M_cur
+ set $size = $finish_cur - $start_cur
+ set $i = $size - 1
+ while $i >= 0
+ p *($start_cur + $i)
+ set $i--
+ end
+ printf "Stack size = %u\n", $size
+ end
+end
+
+document pstack
+ Prints std::stack<T> information.
+ Syntax: pstack <stack>: Prints all elements and size of the stack
+ Stack elements are listed "top to buttom" (top-most element is the first to come on pop)
+ Example:
+ pstack s - prints all elements and the size of s
+end
+
+
+
+#
+# std::queue
+#
+
+define pqueue
+ if $argc == 0
+ help pqueue
+ else
+ set $start_cur = $arg0.c._M_impl._M_start._M_cur
+ set $finish_cur = $arg0.c._M_impl._M_finish._M_cur
+ set $size = $finish_cur - $start_cur
+ set $i = 0
+ while $i < $size
+ p *($start_cur + $i)
+ set $i++
+ end
+ printf "Queue size = %u\n", $size
+ end
+end
+
+document pqueue
+ Prints std::queue<T> information.
+ Syntax: pqueue <queue>: Prints all elements and the size of the queue
+ Queue elements are listed "top to bottom" (top-most element is the first to come on pop)
+ Example:
+ pqueue q - prints all elements and the size of q
+end
+
+
+
+#
+# std::priority_queue
+#
+
+define ppqueue
+ if $argc == 0
+ help ppqueue
+ else
+ set $size = $arg0.c._M_impl._M_finish - $arg0.c._M_impl._M_start
+ set $capacity = $arg0.c._M_impl._M_end_of_storage - $arg0.c._M_impl._M_start
+ set $i = $size - 1
+ while $i >= 0
+ p *($arg0.c._M_impl._M_start + $i)
+ set $i--
+ end
+ printf "Priority queue size = %u\n", $size
+ printf "Priority queue capacity = %u\n", $capacity
+ end
+end
+
+document ppqueue
+ Prints std::priority_queue<T> information.
+ Syntax: ppqueue <priority_queue>: Prints all elements, size and capacity of the priority_queue
+ Priority_queue elements are listed "top to buttom" (top-most element is the first to come on pop)
+ Example:
+ ppqueue pq - prints all elements, size and capacity of pq
+end
+
+
+
+#
+# std::bitset
+#
+
+define pbitset
+ if $argc == 0
+ help pbitset
+ else
+ p /t $arg0._M_w
+ end
+end
+
+document pbitset
+ Prints std::bitset<n> information.
+ Syntax: pbitset <bitset>: Prints all bits in bitset
+ Example:
+ pbitset b - prints all bits in b
+end
+
+
+
+#
+# std::string
+#
+
+define pstring
+ if $argc == 0
+ help pstring
+ else
+ printf "String \t\t\t= \"%s\"\n", $arg0._M_data()
+ printf "String size/length \t= %u\n", $arg0._M_rep()->_M_length
+ printf "String capacity \t= %u\n", $arg0._M_rep()->_M_capacity
+ printf "String ref-count \t= %d\n", $arg0._M_rep()->_M_refcount
+ end
+end
+
+document pstring
+ Prints std::string information.
+ Syntax: pstring <string>
+ Example:
+ pstring s - Prints content, size/length, capacity and ref-count of string s
+end
+
+
+
+#
+# std::wstring
+#
+
+define pwstring
+ if $argc == 0
+ help pwstring
+ else
+ call printf("WString \t\t= \"%ls\"\n", $arg0._M_data())
+ printf "WString size/length \t= %u\n", $arg0._M_rep()->_M_length
+ printf "WString capacity \t= %u\n", $arg0._M_rep()->_M_capacity
+ printf "WString ref-count \t= %d\n", $arg0._M_rep()->_M_refcount
+ end
+end
+
+document pwstring
+ Prints std::wstring information.
+ Syntax: pwstring <wstring>
+ Example:
+ pwstring s - Prints content, size/length, capacity and ref-count of wstring s
+end
Copied: gentoo-configs/mutanabbi/common/home/radja/.inputrc (from rev 590, gentoo-configs/mutanabbi/common/root/.inputrc)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.inputrc (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.inputrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,52 @@
+$include /etc/inputrc
+set show-all-if-ambiguous on
+set visible-stats on
+
+# Return gentoo style PgUp/PgDown behaviour
+"\e[5~": history-search-backward
+"\e[6~": history-search-forward
+
+$if Bash
+
+$if mode=emacs
+
+#
+"\eOQ": "\C-a\C-]\:\C-u\C-d\C-e\C-uvim +\C-y \M-y"
+
+# Bind grep substring in all files to F3 (execute immediately)
+"\eOR": "\C-e \C-ugrep -nir \"\C-y\b\" *\n\C-y\b"
+# Shit-F3: same as above but allow to edit command line
+"\eO2R": "\C-agrep -nir \"\C-e\" *"
+
+# Bind grep substring in C/C++ files to F4 (execute immediately)
+"\eOS": "\C-e \C-ugrep -nr --include=*.{c,h,cc,hh,icc,tcc,hxx,cpp,hpp} \"\C-y\b\" *\n\C-y\b"
+# Shitf-F4: same as above but allow to edit command line
+"\eO2S": "\C-agrep -nr --include=*.{c,h,cc,hh,icc,tcc,hxx,cpp,hpp} \"\C-e\" *"
+
+# Bind grep substring in list of running processes to F7
+"\e[18~": "\C-e \C-ups ax | grep -v grep | grep "\C-y\b\"\n\C-y\b"
+
+# Bind search substring via dict to F8
+"\e[19~": "\C-e \C-udict \"\C-y\b\" | colorit -c /etc/dict/colorit.conf\n\C-y\b"
+
+# Bind alias switching for `make`
+"\e[23~": "\C-e \C-utest -n \"`alias make 2>/dev/null`\" && unalias make || alias make='make-wrapper'\n\C-y\b"
+
+# Bind `cd ..` to Crtl-Up
+"\e[1;5A": "\C-e \C-ucd ..\n\C-y\b"
+
+# Show hot dirs list (from MidnightCommander) and `pushd` into choosed. Alt-Right
+"\e[1;3C": "\C-e \C-u__=`push_hot_list.sh` && pushd $__\n\C-y\b"
+
+# popd Alt-Left
+"\e[1;3D": "\C-e \C-upopd\n\C-y\b"
+
+#Add current directory to MC's host list. Alt-Up
+"\e[1;3A": "\C-e \C-uecho \"ENTRY \\\"$PWD\\\" URL \\\"$PWD\\\"\" >> ~/.mc/hotlist\n\C-y\b"
+
+# Remove directory from MC's host list. Alt-Down
+"\e[1;3B": "\C-e \C-urm_from_hot_list.sh\n\C-y\b"
+
+$endif
+
+$endif
Modified: gentoo-configs/mutanabbi/common/home/radja/.mc/ini
===================================================================
--- gentoo-configs/mutanabbi/common/root/.mc/ini 2009-07-17 16:55:48 UTC (rev 590)
+++ gentoo-configs/mutanabbi/common/home/radja/.mc/ini 2010-03-03 05:03:44 UTC (rev 606)
@@ -1,6 +1,7 @@
[Midnight-Commander]
show_backups=1
+kilobyte_si=0
show_dot_files=1
verbose=1
mark_moves_down=1
@@ -9,7 +10,7 @@
auto_save_setup=1
auto_menu=0
use_internal_view=1
-use_internal_edit=0
+use_internal_edit=1
clear_before_exec=1
mix_all_files=0
fast_reload=0
@@ -18,6 +19,7 @@
confirm_overwrite=1
confirm_execute=0
confirm_exit=1
+confirm_directory_hotlist_delete=1
safe_delete=0
mouse_repeat_rate=100
double_click_speed=250
@@ -25,6 +27,7 @@
confirm_view_dir=0
mouse_move_pages=1
mouse_move_pages_viewer=1
+mouse_close_dialog=0
fast_refresh=0
navigate_with_arrows=0
drop_menus=0
@@ -32,7 +35,6 @@
old_esc_mode=0
cd_symlinks=1
show_all_if_ambiguous=0
-have_fast_cpu=0
max_dirt_limit=10
torben_fj_mode=0
use_file_to_guess_type=1
@@ -45,38 +47,48 @@
file_op_compute_totals=1
vfs_timeout=60
ftpfs_directory_timeout=900
-use_netrc=0
+use_netrc=1
ftpfs_retry_seconds=30
-ftpfs_always_use_proxy=1
+ftpfs_always_use_proxy=0
ftpfs_use_passive_connections=1
+ftpfs_use_passive_connections_over_proxy=0
ftpfs_use_unix_list_options=1
-ftpfs_first_cd_then_ls=0
+ftpfs_first_cd_then_ls=1
+fish_directory_timeout=900
editor_word_wrap_line_length=72
-editor_key_emulation=0
editor_tab_spacing=8
-editor_fill_tabs_with_spaces=1
+editor_fill_tabs_with_spaces=0
editor_return_does_auto_indent=1
editor_backspace_through_tabs=0
editor_fake_half_tabs=1
editor_option_save_mode=0
editor_option_save_position=1
-editor_option_backup_ext_int=-1
editor_option_auto_para_formatting=0
editor_option_typewriter_wrap=0
editor_edit_confirm_save=1
editor_syntax_highlighting=1
-nice_rotating_dash=1
-horizontal_split=0
-confirm_directory_hotlist_delete=1
-fish_directory_timeout=900
+editor_persistent_selections=1
+editor_cursor_beyond_eol=0
editor_visible_tabs=1
editor_visible_spaces=1
+editor_line_state=0
+editor_simple_statusbar=0
+editor_check_new_line=0
+nice_rotating_dash=1
+horizontal_split=0
mcview_remember_file_position=0
+auto_fill_mkdir_name=1
+reverse_files_only=1
+copymove_persistent_attr=1
+select_flags=6
editor_backup_extension=~
+skin=default
+keymap=mc.keymap
+auto_save_setup_panels=1
[Layout]
equal_split=1
-first_panel_size=90
+first_panel_size=80
message_visible=1
keybar_visible=1
xterm_title=1
@@ -86,51 +98,21 @@
show_mini_info=1
permission_mode=0
filetype_mode=1
+free_space=1
-[Dirs]
-other_dir=/boot/grub
-current_is_left=1
-other_dir=/home/radja/work/stb225/src/apps/gsui
-current_is_left=1
-
[Misc]
+ftp_proxy_host=gate
+find_ignore_dirs=
ftpfs_password=anonymous@
-ftp_proxy_host=proxy
-display_codepage=Other_8_bit
-ftp_codepage=Other_8_bit
+display_codepage=UTF-8
+source_codepage=Other_8_bit
-[New Left Panel]
-display=listing
-reverse=0
-case_sensitive=1
-sort_order=name
-list_mode=brief
-user_format=half type name | size | perm
-user_status0=half type name | size | perm
-user_status1=half type name | size | perm
-user_status2=half type name | size | perm
-user_status3=half type name | size | perm
-user_mini_status=0
-panel_display_codepage=Other_8_bit
-
-[New Right Panel]
-display=listing
-reverse=0
-case_sensitive=1
-sort_order=name
-list_mode=brief
-user_format=half type name | size | perm
-user_status0=half type name | size | perm
-user_status1=half type name | size | perm
-user_status2=half type name | size | perm
-user_status3=half type name | size | perm
-user_mini_status=0
-panel_display_codepage=Other_8_bit
-
[Colors]
-base_color=xterm=editnormal=green,black: normal=green,black: directory=,black: link=,black: statelink=,black: menu=yellow,blue: menuhot=brightred,blue: marked=,black: markselect=,blue: executable=,black: selected=white,blue: helpnormal=brightgreen,black: helplink=yellow,black: helpbold=brightred,black: helpitalic=cyan,black: dnormal=brightgreen,black: dhotnormal=brightred,black: dfocus=black,yellow: dhotfocus=black,yellow: device=,black: special=red,black: input=white,blue
+base_color=
+linux=
+color_terminals=
[Panelize]
-Find *.orig after patching=find . -name \*.orig -print
-Find SUID and SGID programs=find . \( \( -perm -04000 -a -perm +011 \) -o \( -perm -02000 -a -perm +01 \) \) -print
-Find rejects after patching=find . -name \*.rej -print
+Find *.orig after patching=find . -name \\*.orig -print
+Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm +011 \\) -o \\( -perm -02000 -a -perm +01 \\) \\) -print
+Find rejects after patching=find . -name \\*.rej -print
Copied: gentoo-configs/mutanabbi/common/home/radja/.screenrc (from rev 590, gentoo-configs/mutanabbi/common/root/.screenrc)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.screenrc (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.screenrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,10 @@
+#kill startup message
+startup_message off
+
+# define a bigger scrollback, default is 100 lines
+defscrollback 10240
+
+#It displays a status line at the bottom of the terminal which shows what window you're in and a list of the other windows.
+hardstatus alwayslastline "%{-b gk}%-w%{+b kg}%50>%n %t%{-b gk}%+w%<"
+
+defutf8 on
Added: gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/cpp.snippets
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/cpp.snippets (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/cpp.snippets 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,102 @@
+# Read File Into Vector
+snippet readfile
+ std::vector<char> v;
+ if (FILE *${2:fp} = fopen(${1:"filename"}, "r")) {
+ char buf[1024];
+ while (size_t len = fread(buf, 1, sizeof(buf), $2))
+ v.insert(v.end(), buf, buf + len);
+ fclose($2);
+ }${3}
+# std::map
+snippet map
+ std::map<${1:key}, ${2:value}> map${3};
+# std::vector
+snippet vec
+ std::vector<${1:char}> v${2};
+snippet sp
+ boost::shared_ptr<${1:type}> sp${2};
+# Namespace
+snippet ns
+ namespace ${1:`Filename('', 'my')`}
+ {
+ ${2}
+ } // $1
+# Class
+snippet class
+ /**
+ * \brief ${1:[Type brief class description here]}
+ *
+ * ${2:[More detailed description here]}
+ *
+ */
+ class ${3:`Filename('$1_t', 'name')`}
+ {
+ ${4:/* data */}
+ public:
+ $3(${5:arguments});
+ virtual ~$3();
+ };
+# Class derived from boost::noncopyable
+snippet nc
+ /**
+ * \brief ${1:[Type brief class description here]}
+ *
+ * ${2:[More detailed description here]}
+ *
+ */
+ class ${3:`Filename('$1_t', 'name')`} : boost::noncopyable
+ {
+ ${4:/* data */}
+ public:
+ $3(${5:arguments});
+ virtual ~$3();
+ };
+#for
+snippet for index cycle
+ for (${1:site_t} ${2:i} = ${3:0}; $2 < ${4:/* upper limit */}; ++$2)
+ ${5:/* body */}
+#foreach
+snippet for iterator cycle
+ for (
+ ${1:container_type}::${2:const_iterator} ${3:it} = ${4:container}.begin()
+ , last = $4.end()
+ ; $3 != last
+ ; ++$3
+ )
+ ${5:/* body */}
+#main
+snippet main
+ int main(int ${1:argc}, char* ${2:argv}[])
+ {
+ ${3:// code here}
+ return 0;
+ }
+#include
+snippet #i
+ #include <${1:iostream}>
+#unary functor
+snippet uf
+ class ${1:functor} : public std::unary_function<${2:argument}, ${3:void}>
+ {
+ public:
+ $1(${4:/* parameters */})
+ {
+ }
+ $3 operator()($2 arg) const
+ {
+ ${5:// code here}
+ }
+ };
+#binary functor
+snippet bf
+ class ${1:functor} : public std::binary_function<${2:argument}, ${3:$2}, ${4:bool}>
+ {
+ public:
+ $1(${5:/* parameters */})
+ {
+ }
+ $4 operator()($2 lhv, $3 rhv) const
+ {
+ ${6:// code here}
+ }
+ };
Added: gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/files.rel
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/files.rel (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.vim/snippets/files.rel 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1 @@
+relocate "`get_files`"
Copied: gentoo-configs/mutanabbi/common/home/radja/.vimperatorrc (from rev 590, gentoo-configs/mutanabbi/common/root/.vimperatorrc)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.vimperatorrc (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.vimperatorrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,75 @@
+set editor=kate
+
+" select next/previous tab
+map <S-Right> gt
+map <S-Left> gT
+
+" Russian enter
+map ё `
+map й q
+map ц w
+map у e
+map к r
+map е t
+map н y
+map г u
+map ш i
+map щ o
+map з p
+map х [
+map ъ ]
+map ф a
+map ы s
+map в d
+map а f
+map п g
+map р h
+map о j
+map л k
+map д l
+map ж ;
+map э '
+map я z
+map ч x
+map с c
+map м v
+map и b
+map т n
+map ь m
+map б ,
+map ю .
+map Ё ~
+map Й Q
+map Ц W
+map У E
+map К R
+map Е T
+map Н Y
+map Г U
+map Ш I
+map Щ O
+map З P
+map Х {
+map Ъ }
+map Ф A
+map Ы S
+map В D
+map А F
+map П G
+map Р H
+map О J
+map Л K
+map Д L
+map Ж :
+map Э "
+map Я Z
+map Ч X
+map С C
+map М V
+map И B
+map Т N
+map Ь M
+map Б <
+map Ю >
+
+" vim:ft=vim
Added: gentoo-configs/mutanabbi/common/home/radja/.vimrc
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/.vimrc (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/.vimrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,316 @@
+color desert
+set modeline
+set expandtab
+set softtabstop=4
+set tabstop=4
+set shiftwidth=4
+set list
+set listchars=tab:\|.,trail:.
+hi SpecialKey gui=NONE guifg=#B0B0B0
+
+"fold column
+set fdc=5
+"fold method
+set fdm=syntax
+"fold level
+set fdl=5
+"fold enable ;)
+set fen
+set wrap
+set linebreak
+
+set autowrite
+
+:let g:load_doxygen_syntax=1
+
+
+"mouse enable. You need "vim-with-x" use flag. It on +xterm_clipboard option.
+set mouse=a
+
+" автодополнение фигурной скобки (так, как я люблю :)
+imap {<CR> {<CR>}<Esc>O<Tab>
+
+
+" Some useful aliases
+:iab /*** /************************************************************
+:iab ***/ ************************************************************/
+
+" автодополнение по Control+Space
+imap <C-Space> <C-N>
+
+" 'умный' Home
+" nmap <Home> ^
+" imap <Home> <Esc>I
+
+nmap + zo
+nmap - zc
+
+function EnableLongLineHighlighting()
+ "if exists("w:m1") && exists("w:m2")
+ if exists("w:m2")
+ echo "Disable long line highlighting"
+ "call matchdelete(w:m1)
+ call matchdelete(w:m2)
+ "unlet w:m1
+ unlet w:m2
+ else
+ echo "Enable long line highlighting"
+ "au BufWinEnter *.{c,cc,cpp,h,hh,hpp}
+ "let w:m1=matchadd('Search', '\%<81v.\%>77v', -1)
+ "au BufWinEnter *.{c,cc,cpp,h,hh,hpp}
+ "let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
+ let w:m2=matchadd('Search', '\%>80v.\+', -1)
+ endif
+endfunction
+
+" вкл/выкл подсветки длинных строк
+imap <F1> <Esc>:call EnableLongLineHighlighting()<CR>a
+nmap <F1> :call EnableLongLineHighlighting()<CR>
+
+" вкл/выкл отображения номеров строк
+imap <A-F1> <Esc>:set<Space>nu!<CR>a
+nmap <A-F1> :set<Space>nu!<CR>
+
+" сохранение текущего буфера
+imap <F2> <Esc>:w<CR>a
+nmap <F2> :w<CR>
+
+" сохранение всех буферов
+imap <S-F2> <Esc>:wa<CR>a
+nmap <S-F2> :wa<CR>
+
+" список буферов
+imap <S-F3> <Esc>:buffers<CR>
+nmap <S-F3> :buffers<CR>
+
+" закрыть буфер
+imap <C-F3> <Esc>:bd<CR>a
+nmap <C-F3> :bd<CR>
+
+" открыть буфер
+imap <F3> <Esc>:e<Space>
+nmap <F3> :e<Space>
+
+" открыть буфер
+imap <F4> <Esc>:TlistToggle<CR>a
+nmap <F4> :TlistToggle<CR>
+
+" следующий буфер
+imap <F6> <Esc>:bn!<CR>a
+nmap <F6> :bn!<CR>
+
+" предыдущий буфер
+imap <F5> <Esc>:bp!<CR>a
+nmap <F5> :bp!<CR>
+
+" окно ниже и развернуть
+imap <C-F7> <Esc><C-W>j<C-W>_a
+nmap <C-F7> <C-W>j<C-W>_
+
+" окно выше и развернуть
+imap <C-F8> <Esc><C-W>k<C-W>_a
+nmap <C-F8> <C-W>k<C-W>_
+
+" окно ниже
+imap <F7> <Esc><C-W>ja
+nmap <F7> <C-W>j
+
+" окно выше
+imap <F8> <Esc><C-W>ka
+nmap <F8> <C-W>k
+
+" окно левее
+imap <S-F7> <Esc><C-W>ha
+nmap <S-F7> <C-W>h
+
+" окно правее
+imap <S-F8> <Esc><C-W>la
+nmap <S-F8> <C-W>l
+
+" окно левее
+imap <A-F7> <Esc><C-W>h<C-W>\|a
+nmap <A-F7> <C-W>h<C-W>\|
+
+" окно правее
+imap <A-F8> <Esc><C-W>l<C-W>\|a
+nmap <A-F8> <C-W>l<C-W>\|
+
+" сборка с сохранением
+imap <F9> <Esc>:wa<CR>:make<CR>
+nmap <F9> :wa<CR>:make<CR>
+
+" пересборка с сохранением
+imap <C-F9> <Esc>:wa<CR>:make<Space>clean<CR>:make<CR>
+nmap <C-F9> :wa<CR>:make<Space>clean<CR>:make<CR>
+
+" открыть окно результатов компиляции
+imap <S-F9> <Esc>:copen<CR>
+nmap <S-F9> :copen<CR>
+
+" следующая ошибка
+imap <C-F10> <Esc>:cn<CR>i
+nmap <C-F10> :cn<CR>
+
+" предыдущая ошибка
+imap <S-F10> <Esc>:cp<CR>i
+nmap <S-F10> :cp<CR>
+
+" вкл/выкл отображения найденных соответствий
+imap <C-F1> <Esc>:set<Space>hls!<CR>a
+nmap <C-F1> :set<Space>hls!<CR>
+
+" выход
+imap <F12> <Esc>:qa<CR>
+nmap <F12> :qa<CR>
+
+" навигация по табам
+imap <A-Right> <Esc>:tabnext<CR>a
+nmap <A-Right> :tabnext<CR>
+imap <A-Left> <Esc>:tabprev<CR>a
+nmap <A-Left> :tabprev<CR>
+
+"runtime! ftplugin/man.vim
+runtime! plugin/vimspell.vim
+
+" поддержка vimspell
+" setlocal spell spelllang=en,ru
+if exists("loaded_vimspell") && executable("aspell")
+ highlight SpellErrors ctermfg=red cterm=underline term=reverse
+ let spell_executable = "aspell"
+ let spell_language_list = "ru,en"
+ let spell_auto_type = "txt,mail,text"
+ let spell_guess_language_ft = "txt,mail,text"
+ let spell_insert_mode = 1
+ nmap \sr :SpellSetLanguage ru<CR>
+ nmap \se :SpellSetLanguage en<CR>
+ " vim -b : edit binary using xxd-format!
+ augroup Binary
+ au!
+ au BufReadPre *.bin let &bin=1
+ au BufReadPost *.bin if &bin | %!xxd
+ au BufReadPost *.bin set ft=xxd | endif
+ au BufWritePre *.bin if &bin | %!xxd -r
+ au BufWritePre *.bin endif
+ au BufWritePost *.bin if &bin | %!xxd
+ au BufWritePost *.bin set nomod | endif
+ augroup END
+endif
+
+runtime! plugin/a.vim
+
+if exists("loaded_alternateFile")
+ let g:alternateExtensions_h = "cc,cpp,cxx,c,C,CC"
+ let g:alternateExtensions_C = "H,h,hh"
+ let g:alternateExtensions_cc = "H,h,hh"
+ let g:alternateExtensions_hh = "cc,cpp,cxx,c,C,CC"
+
+" переключение с хедера на исходник и обратно (с вертикальным сплитом)
+ imap <F11> <Esc>:AV<CR>
+ nmap <F11> :AV<CR>
+" переключение с хедера на исходник и обратно (с горизонтальным сплитом)
+ imap <S-F11> <Esc>:AS<CR>
+ nmap <S-F11> :AS<CR>
+endif
+
+runtime! plugin/NERD_commenter.vim
+
+if exists("loaded_nerd_comments")
+ let NERDSpaceDelims = 1
+ let NERDRemoveExtraSpaces = 1
+endif
+
+function QfMakeConv()
+ let qflist = getqflist()
+ for i in qflist
+ let i.text = substitute(i.text , "\\[[^m]*m" , "" , "g")
+ let file = bufname(i.bufnr)
+ if file != -1
+ let file = substitute(file , "\\[[^m]*m" , "" , "g")
+" bd i.bufnr
+ bad file
+ let i.bufnr = bufnr(file)
+ endif
+ endfor
+endfunction
+
+au QuickfixCmdPost make call QfMakeConv()
+
+
+source $VIMRUNTIME/menu.vim
+set wildmenu
+set cpo-=<
+set wcm=<C-Z>
+map <S-F1> :emenu <C-Z>
+
+let tlist_cpp_settings = 'c++;n:namespace;d:macros;t:typedef;e:enum;s:struct;c:class;m:member;f:function;v:variable'
+let Tlist_Auto_Open = 1
+
+
+" Russian enter
+map ё `
+map й q
+map ц w
+map у e
+map к r
+map е t
+map н y
+map г u
+map ш i
+map щ o
+map з p
+map х [
+map ъ ]
+map ф a
+map ы s
+map в d
+map а f
+map п g
+map р h
+map о j
+map л k
+map д l
+map ж ;
+map э '
+map я z
+map ч x
+map с c
+map м v
+map и b
+map т n
+map ь m
+map б ,
+map ю .
+map Ё ~
+map Й Q
+map Ц W
+map У E
+map К R
+map Е T
+map Н Y
+map Г U
+map Ш I
+map Щ O
+map З P
+map Х {
+map Ъ }
+map Ф A
+map Ы S
+map В D
+map А F
+map П G
+map Р H
+map О J
+map Л K
+map Д L
+map Ж :
+map Э "
+map Я Z
+map Ч X
+map С C
+map М V
+map И B
+map Т N
+map Ь M
+map Б <
+map Ю >
+
Copied: gentoo-configs/mutanabbi/common/home/radja/colorapache (from rev 590, gentoo-configs/mutanabbi/common/root/colorapache)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/colorapache (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/colorapache 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,39 @@
+dnl /etc/dictd/colorit.conf vim:ft=m4
+dnl
+dnl Sample configuration file for colorit(1) program
+dnl
+divert(-1)
+dnl
+dnl Define some useful color variables
+dnl
+define(`black', `30')
+define(`red', `31')
+define(`green', `32')
+define(`brown', `33')
+define(`blue', `34')
+define(`magenta', `35')
+define(`cyan', `36')
+define(`gray', `37')
+define(`norm', `00')
+define(`bg', `07')
+define(`br', `01')
+define(`ul', `04')
+define(`bl', `05')
+dnl
+dnl Mark macro arguments: regexp foreground-color [background-color]
+dnl
+dnl define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[$2;4$3m"'', ``"\033[$2m"'')' `"\033[m"')
+define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[$2;4$3m"'', ``"\033[$2m"'')' `"\033[m"')
+dnl
+divert
+dnl mark(`^.*$',ul)
+dnl mark(`\{[^}]*\}', red)
+mark(`{', br)
+mark(`}', br)
+dnl mark(`([^ ]+)=', red)
+mark(`@[0-9a-fA-Fx]+', br)
+mark(`^\[[^]]*\]', blue)
+mark(`"[^"]*"', brown)
+mark(`\[notice\]',green)
+mark(`^[^:]+: ', red)
+
Added: gentoo-configs/mutanabbi/common/home/radja/files.rel
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/files.rel (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/files.rel 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1 @@
+relocate "`get_files`"
Copied: gentoo-configs/mutanabbi/common/home/radja/otchet.xslt (from rev 590, gentoo-configs/mutanabbi/common/root/otchet.xslt)
===================================================================
--- gentoo-configs/mutanabbi/common/home/radja/otchet.xslt (rev 0)
+++ gentoo-configs/mutanabbi/common/home/radja/otchet.xslt 2010-03-03 05:03:44 UTC (rev 606)
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:output method="xml" indent="yes"/>
+ <xsl:template match="/">
+ <html>
+ <head>
+ <link rel="stylesheet" href="timereport.css" type="text/css" />
+ </head>
+ <body>
+ <table>
+ <xsl:for-each select="//TR[1]/*">
+ <tr>
+ <xsl:variable name="pos" select="position()" />
+ <td> <xsl:value-of select="current()" /> </td>
+ <td> <xsl:value-of select="//TR[2]/TD[$pos]" /> </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
+
Deleted: gentoo-configs/mutanabbi/common/root/.colorcvsrc
===================================================================
--- gentoo-configs/mutanabbi/common/root/.colorcvsrc 2010-03-03 04:57:24 UTC (rev 605)
+++ gentoo-configs/mutanabbi/common/root/.colorcvsrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -1,38 +0,0 @@
-# Sample .colorcvsrc
-# These are the defaults
-
-# path to the cvs binary
-cvs: /usr/bin/cvs
-
-# Don't do color if our terminal type ($TERM) is one of these.
-# (List all terminal types on one line, seperated by whitespace.)
-nocolor: dumb
-
-# The following groups of attributes may be combined for a given color:
-#
-# clear black on_black
-# reset red on_red
-# bold green on_green
-# underline yellow on_yellow
-# underscore blue on_blue
-# blink magenta on_magenta
-# reverse cyan on_cyan
-# concealed white on_whit
-
-# colors for different types of status messages
-
-P: 01;33
-U: 01;32
-C: 01;31
-M: 01;34
-A: 00;36
-R: 00;31
-?: 01;30
-
-# this is for server messages
-server: 00;37
-
-# this is for warnings
-warning: bold cyan
-
-# arch-tag: colorcvsrc-sample
Deleted: gentoo-configs/mutanabbi/common/root/.cvsrc
===================================================================
--- gentoo-configs/mutanabbi/common/root/.cvsrc 2010-03-03 04:57:24 UTC (rev 605)
+++ gentoo-configs/mutanabbi/common/root/.cvsrc 2010-03-03 05:03:44 UTC (rev 606)
@@ -1,4 +0,0 @@
-cvs -z9 -q
-diff -u3 -p
-update -dP
-checkout -P
Deleted: gentoo-configs/mutanabbi/common/root/.gdbinit
===================================================================
--- gentoo-configs/mutanabbi/common/root/.gdbinit 2010-03-03 04:57:24 UTC (rev 605)
+++ gentoo-configs/mutanabbi/common/root/.gdbinit 2010-03-03 05:03:44 UTC (rev 606)
@@ -1,578 +0,0 @@
-#
-# C++ related beautifiers (optional)
-#
-
-set print pretty on
-set print object on
-set print static-members on
-set print vtbl on
-set print demangle on
-set print asm-demangle on
-set demangle-style gnu-v3
-set print sevenbit-strings off
-set overload-resolution on
-set print array on
-
-#
-# STL GDB evaluators/views/utilities
-#
-# The new GDB commands:
-# are entirely non instrumental
-# do not depend on any "inline"(s) - e.g. size(), [], etc
-# are extremely tolerant to debugger settings
-#
-# This file should be "included" in .gdbinit as following:
-# source stl-views.gdb or just paste it into your .gdbinit file
-#
-# The following STL containers are currently supported:
-#
-# std::vector<T> -- via pvector command
-# std::list<T> -- via plist command
-# std::map<T,T> -- via pmap command
-# std::multimap<T,T> -- via pmap command
-# std::set<T> -- via pset command
-# std::multiset<T> -- via pset command
-# std::deque<T> -- via pdequeue command
-# std::stack<T> -- via pstack command
-# std::queue<T> -- via pqueue command
-# std::priority_queue<T> -- via ppqueue command
-# std::bitset<n> -- via pbitset command
-# std::string -- via pstring command
-# std::widestring -- via pwstring command
-#
-# The end of this file contains (optional) C++ beautifiers
-# Make sure your debugger supports $argc
-#
-#
-# Simple GDB Macros writen by Dan Marinescu (H-PhD) - License GPL
-# Inspired by intial work of Tom Malnar,
-# Tony Novac (PhD) / Cornell / Stanford,
-# Gilad Mishne (PhD) and Many Many Others.
-# Contact: dan...@ya... (Subject: STL)
-#
-
-
-#
-# std::vector<>
-#
-
-define pvector
- if $argc == 0
- help pvector
- else
- set $size = $arg0._M_impl._M_finish - $arg0._M_impl._M_start
- set $capacity = $arg0._M_impl._M_end_of_storage - $arg0._M_impl._M_start
- set $size_max = $size - 1
- end
- if $argc == 1
- set $i = 0
- while $i < $size
- printf "elem[%u]: ", $i
- p *($arg0._M_impl._M_start + $i)
- set $i++
- end
- end
- if $argc == 2
- set $idx = $arg1
- if $idx < 0 || $idx > $size_max
- printf "idx1, idx2 are not in acceptable range: [0..%u].\n", $size_max
- else
- printf "elem[%u]: ", $idx
- p *($arg0._M_impl._M_start + $idx)
- end
- end
- if $argc == 3
- set $start_idx = $arg1
- set $stop_idx = $arg2
- if $start_idx > $stop_idx
- set $tmp_idx = $start_idx
- set $start_idx = $stop_idx
- set $stop_idx = $tmp_idx
- end
- if $start_idx < 0 || $stop_idx < 0 || $start_idx > $size_max || $stop_idx > $size_max
- printf "idx1, idx2 are not in acceptable range: [0..%u].\n", $size_max
- else
- set $i = $start_idx
- while $i <= $stop_idx
- printf "elem[%u]: ", $i
- p *($arg0._M_impl._M_start + $i)
- set $i++
- end
- end
- end
- if $argc > 0
- printf "Vector size = %u\n", $size
- printf "Vector capacity = %u\n", $capacity
- printf "Element "
- whatis $arg0._M_impl._M_start
- end
-end
-
-document pvector
- Prints std::vector<T> information.
- Syntax: pvector <vector> <idx1> <idx2>
- Note: idx, idx1 and idx2 must be in acceptable range [0..<vector>.size()-1].
- Examples:
- pvector v - Prints vector content, size, capacity and T typedef
- pvector v 0 - Prints element[idx] from vector
- pvector v 1 2 - Prints elements in range [idx1..idx2] from vector
-end
-
-
-
-#
-# std::list<>
-#
-
-define plist
- if $argc == 0
- help plist
- else
- set $head = &$arg0._M_impl._M_node
- set $current = $arg0->_M_impl->_M_node->_M_next
- set $size = 0
- while $current != $head
- if $argc == 2
- printf "elem[%u]: ", $size
- p *($arg1*)($current + 1)
- end
- if $argc == 3
- if $size == $arg2
- printf "elem[%u]: ", $size
- p *($arg1*)($current + 1)
- end
- end
- set $current = $current->_M_next
- set $size++
- end
- printf "List size = %u \n", $size
- if $argc == 1
- printf "List "
- whatis $arg0
- printf "Use plist <variable_name> <element_type> to see the elements in the list.\n"
- end
- end
-end
-
-document plist
- Prints std::list<T> information.
- Syntax: plist <list> <T> <idx>: Prints list size, if T defined all elements or just element at idx
- Examples:
- plist l - prints list size and definition
- plist l int - prints all elements and list size
- plist l int 2 - prints the third element in the list (if exists) and list size
-end
-
-
-
-#
-# std::map and std::multimap
-#
-
-define pmap
- if $argc == 0
- help pmap
- else
- set $tree = $arg0
- set $i = 0
- set $node = $tree->_M_t->_M_impl->_M_header->_M_left
- set $end = $tree->_M_t->_M_impl->_M_header
- set $tree_size = $tree->_M_t->_M_impl->_M_node_count
- if $argc == 1
- printf "Map "
- whatis $tree
- printf "Use pmap <variable_name> <left_element_type> <right_element_type> to see the elements in the map.\n"
- end
- if $argc == 3
- while $i < $tree_size
- set $value = (void *)($node + 1)
- printf "elem[%u]->left: ", $i
- p *($arg1*)$value
- set $value = $value + 4
- printf "elem[%u]->right: ", $i
- p *($arg2*)$value
- if $node->_M_right != 0
- set $node = $node->_M_right
- while $node->_M_left != 0
- set $node = $node->_M_left
- end
- else
- set $tmp_node = $node->_M_parent
- while $node == $tmp_node->_M_right
- set $node = $tmp_node
- set $tmp_node = $tmp_node->_M_parent
- end
- if $node->_M_right != $tmp_node
- set $node = $tmp_node
- end
- end
- set $i++
- end
- end
- if $argc == 4
- set $idx = $arg3
- set $ElementsFound = 0
- while $i < $tree_size
- set $value = (void *)($node + 1)
- if *($arg1*)$value == $idx
- printf "elem[%u]->left: ", $i
- p *($arg1*)$value
- set $value = $value + 4
- printf "elem[%u]->right: ", $i
- p *($arg2*)$value
- set $ElementsFound++
- end
- if $node->_M_right != 0
- set $node = $node->_M_right
- while $node->_M_left != 0
- set $node = $node->_M_left
- end
- else
- set $tmp_node = $node->_M_parent
- while $node == $tmp_node->_M_right
- set $node = $tmp_node
- set $tmp_node = $tmp_node->_M_parent
- end
- if $node->_M_right != $tmp_node
- set $node = $tmp_node
- end
- end
- set $i++
- end
- printf "Number of elements found = %u\n", $ElementsFound
- end
- if $argc == 5
- set $idx1 = $arg3
- set $idx2 = $arg4
- set $ElementsFound = 0
- while $i < $tree_size
- set $value = (void *)($node + 1)
- set $valueLeft = *($arg1*)$value
- set $valueRight = *($arg2*)($value + 4)
- if $valueLeft == $idx1 && $valueRight == $idx2
- printf "elem[%u]->left: ", $i
- p $valueLeft
- printf "elem[%u]->right: ", $i
- p $valueRight
- set $ElementsFound++
- end
- if $node->_M_right != 0
- set $node = $node->_M_right
- while $node->_M_left != 0
- set $node = $node->_M_left
- end
- else
- set $tmp_node = $node->_M_parent
- while $node == $tmp_node->_M_right
- set $node = $tmp_node
- set $tmp_node = $tmp_node->_M_parent
- end
- if $node->_M_right != $tmp_node
- set $node = $tmp_node
- end
- end
- set $i++
- end
- printf "Number of elements found = %u\n", $ElementsFound
- end
- printf "Map size = %u\n", $tree_size
- end
-end
-
-document pmap
- Prints std::map<TLeft and TRight> or std::multimap<TLeft and TRight> information. Works for std::multimap as well.
- Syntax: pmap <map> <TtypeLeft> <TypeRight> <valLeft> <valRight>: Prints map size, if T defined all elements or just element(s) with val(s)
- Examples:
- pmap m - prints map size and definition
- pmap m int int - prints all elements and map size
- pmap m int int 20 - prints the element(s) with left-value = 20 (if any) and map size
- pmap m int int 20 200 - prints the element(s) with left-value = 20 and right-value = 200 (if any) and map size
-end
-
-
-
-#
-# std::set and std::multiset
-#
-
-define pset
- if $argc == 0
- help pset
- else
- set $tree = $arg0
- set $i = 0
- set $node = $tree->_M_t->_M_impl->_M_header->_M_left
- set $end = $tree->_M_t->_M_impl->_M_header
- set $tree_size = $tree->_M_t->_M_impl->_M_node_count
- if $argc == 1
- printf "Set "
- whatis $tree
- printf "Use pset <variable_name> <element_type> to see the elements in the set.\n"
- end
- if $argc == 2
- while $i < $tree_size
- set $value = (void *)($node + 1)
- printf "elem[%u]: ", $i
- p *($arg1*)$value
- if $node->_M_right != 0
- set $node = $node->_M_right
- while $node->_M_left != 0
- set $node = $node->_M_left
- end
- else
- set $tmp_node = $node->_M_parent
- while $node == $tmp_node->_M_right
- set $node = $tmp_node
- set $tmp_node = $tmp_node->_M_parent
- end
- if $node->_M_right != $tmp_node
- set $node = $tmp_node
- end
- end
- set $i++
- end
- end
- if $argc == 3
- set $idx = $arg2
- set $ElementsFound = 0
- while $i < $tree_size
- set $value = (void *)($node + 1)
- if *($arg1*)$value == $idx
- printf "elem[%u]: ", $i
- p *($arg1*)$value
- set $ElementsFound++
- end
- if $node->_M_right != 0
- set $node = $node->_M_right
- while $node->_M_left != 0
- set $node = $node->_M_left
- end
- else
- set $tmp_node = $node->_M_parent
- while $node == $tmp_node->_M_right
- set $node = $tmp_node
- set $tmp_node = $tmp_node->_M_parent
- end
- if $node->_M_right != $tmp_node
- set $node = $tmp_node
- end
- end
- set $i++
- end
- printf "Number of elements found = %u\n", $ElementsFound
- end
- printf "Set size = %u\n", $tree_size
- end
-end
-
-document pset
- Prints std::set<T> or std::multiset<T> information. Works for std::multiset as well.
- Syntax: pset <set> <T> <val>: Prints set size, if T defined all elements or just element(s) having val
- Examples:
- pset s - prints set size and definition
- pset s int - prints all elements and the size of s
- pset s int 20 - prints the element(s) with value = 20 (if any) and the size of s
-end
-
-
-
-#
-# std::dequeue
-#
-
-define pdequeue
- if $argc == 0
- help pdequeue
- else
- set $size = 0
- set $start_cur = $arg0._M_impl._M_start._M_cur
- set $start_last = $arg0._M_impl._M_start._M_last
- set $start_stop = $start_last
- while $start_cur != $start_stop
- p *$start_cur
- set $start_cur++
- set $size++
- end
- set $finish_first = $arg0._M_impl._M_finish._M_first
- set $finish_cur = $arg0._M_impl._M_finish._M_cur
- set $finish_last = $arg0._M_impl._M_finish._M_last
- if $finish_cur < $finish_last
- set $finish_stop = $finish_cur
- else
- set $finish_stop = $finish_last
- end
- while $finish_first != $finish_stop
- p *$finish_first
- set $finish_first++
- set $size++
- end
- printf "Dequeue size = %u\n", $size
- end
-end
-
-document pdequeue
- Prints std::dequeue<T> information.
- Syntax: pdequeue <dequeue>: Prints dequeue size, if T defined all elements
- Deque elements are listed "left to right" (left-most stands for front and right-most stands for back)
- Example:
- pdequeue d - prints all elements and size of d
-end
-
-
-
-#
-# std::stack
-#
-
-define pstack
- if $argc == 0
- help pstack
- else
- set $start_cur = $arg0.c._M_impl._M_start._M_cur
- set $finish_cur = $arg0.c._M_impl._M_finish._M_cur
- set $size = $finish_cur - $start_cur
- set $i = $size - 1
- while $i >= 0
- p *($start_cur + $i)
- set $i--
- end
- printf "Stack size = %u\n", $size
- end
-end
-
-document pstack
- Prints std::stack<T> information.
- Syntax: pstack <stack>: Prints all elements and size of the stack
- Stack elements are listed "top to buttom" (top-most element is the first to come on pop)
- Example:
- pstack s - prints all elements and the size of s
-end
-
-
-
-#
-# std::queue
-#
-
-define pqueue
- if $argc == 0
- help pqueue
- else
- set $start_cur = $arg0.c._M_impl._M_start._M_cur
- set $finish_cur = $arg0.c._M_impl._M_finish._M_cur
- set $size = $finish_cur - $start_cur
- set $i = 0
- while $i < $size
- p *($start_cur + $i)
- set $i++
- end
- printf "Queue size = %u\n", $size
- end
-end
-
-document pqueue
- Prints std::queue<T> information.
- Syntax: pqueue <queue>: Prints all elements and the size of the queue
- Queue elements are listed "top to bottom" (top-most element is the first to come on pop)
- Example:
- pqueue q - prints all elements and the size of q
-end
-
-
-
-#
-# std::priority_queue
-#
-
-define ppqueue
- if $argc == 0
- help ppqueue
- else
- set $size = $arg0.c._M_impl._M_finish - $arg0.c._M_impl._M_start
- set $capacity = $arg0.c._M_impl._M_end_of_storage - $arg0.c._M_impl._M_start
- set $i = $size - 1
- while $i >= 0
- p *($arg0.c._M_impl._M_start + $i)
- set $i--
- end
- printf "Priority queue size = %u\n", $size
- printf "Priority queue capacity = %u\n", $capacity
- end
-end
-
-document ppqueue
- Prints std::priority_queue<T> information.
- Syntax: ppqueue <priority_queue>: Prints all elements, size and capacity of the priority_queue
- Priority_queue elements are listed "top to buttom" (top-most element is the first to come on pop)
- Example:
- ppqueue pq - prints all elements, size and capacity of pq
-end
-
-
-
-#
-# std::bitset
-#
-
-define pbitset
- if $argc == 0
- help pbitset
- else
- p /t $arg0._M_w
- end
-end
-
-document pbitset
- Prints std::bitset<n> information.
- Syntax: pbitset <bitset>: Prints all bits in bitset
- Example:
- pbitset b - prints all bits in b
-end
-
-
-
-#
-# std::string
-#
-
-define pstring
- if $argc == 0
- help pstring
- else
- printf "String \t\t\t= \"%s\"\n", $arg0._M_data()
- printf "String size/length \t= %u\n", $arg0._M_rep()->_M_length
- printf "String capacity \t= %u\n", $arg0._M_rep()->_M_capacity
- printf "String ref-count \t= %d\n", $arg0._M_rep()->_M_refcount
- end
-end
-
-document pstring
- Prints std::string information.
- Syntax: pstring <string>
- Example:
- pstring s - Prints content, size/length, capacity and ref-count of string s
-end
-
-
-
-#
-# std::wstring
-#
-
-define pwstring
- if $argc == 0
- help pwstring
- else
- call printf("WString \t\t= \"%ls\"\n", $arg0._M_data())
- printf "WString size/length \t= %u\n", $arg0._M_rep()->_M_length
- printf "WString capacity \t= %u\n", $arg0._M_rep()->_M_capacity
- printf "WString ref-count \t= %d\n", $arg0._M_rep()->_M_refcount
- end
-end
-
-document pwstring
- Prints std::wstring information.
- Syntax: pwstring <wstring>
- Example:
- pwstring s - Prints content, size/length, capacity and ref-count of wstring s
-end
Modified: gentoo-configs/mutanabbi/common/root/.inputrc
===================================================================
--- gentoo-configs/mutanabbi/common/root/.inputrc 2010-03-03 04:57:24 UTC (rev 605)
+++ gentoo-configs/mutanabbi/common/root/.inputrc 2010-03-0...
[truncated message content] |