--- /dev/null
+#! /bin/bash
+
+set -e
+set -u
+set -E
+
+# (C) 2011 Joerg Jaspert <joerg@debian.org>
+# GPLv2, no later
+
+LC_ALL=C
+export LC_ALL=C
+
+function dofslist () {
+ case "$1" in
+ *.lzma) ZCAT="lzma -dc" ;;
+ *.xz) ZCAT="xz -dc" ;;
+ *.bz2) ZCAT="bzip2 -dc";;
+ *.gz) ZCAT="gzip -dc" ;;
+ *.z) ZCAT="gzip -dc" ;;
+ *.Z) ZCAT="gzip -dc" ;;
+ *) ZCAT="cat" ;;
+ esac
+
+ $ZCAT "$1" | tar tvvf - |
+ while read MODE OWNER SIZE DATE TIME NAME LINK; do
+ # Filter out directories. They would be empty anyways
+ if [[ ${MODE} =~ ^d.* ]]; then
+ continue
+ fi
+ OUTLINE="${MODE}" # permission string
+ OUTLINE="${OUTLINE} 1" # number of links. definitely wrong right now
+ OUTLINE="${OUTLINE} ${OWNER%%/*}" # file owner
+ OUTLINE="${OUTLINE} ${OWNER##*/}" # file group
+ OUTLINE="${OUTLINE} ${SIZE}" # file size
+ if [[ ${DATE} =~ ([0-9]{4})-([0-9]{2})-([0-9]{2}) ]]; then
+ DATE="${BASH_REMATCH[2]}-${BASH_REMATCH[3]}-${BASH_REMATCH[1]}"
+ fi
+ OUTLINE="${OUTLINE} ${DATE} ${TIME}" # file date/time
+# NAME=${NAME#*/}
+ OUTLINE="${OUTLINE} ${NAME//\//\\}" # filename
+ OUTLINE="${OUTLINE} " # filepath
+
+ if [[ "${LINK}" =~ "^->.*" ]]; then
+ OUTLINE="${OUTLINE} ${LINK}"
+ fi
+ echo ${OUTLINE}
+ done
+}
+
+function docopyout () {
+ case "$2" in
+ *.lzma) ZCAT="lzma -dc" ;;
+ *.xz) ZCAT="xz -dc" ;;
+ *.bz2) ZCAT="bzip2 -dc";;
+ *.gz) ZCAT="gzip -dc" ;;
+ *.z) ZCAT="gzip -dc" ;;
+ *.Z) ZCAT="gzip -dc" ;;
+ *) ZCAT="cat" ;;
+ esac
+ NAME=${3//\\/\/}
+ $ZCAT "$2" | tar -xO "$NAME" > "$4"
+}
+
+case "$1" in
+ list)
+ dofslist "$2" | sort -k 8;
+ exit 0
+ ;;
+ copyout)
+ docopyout "$@"
+ exit 0
+ ;;
+esac
+exit 1
--- /dev/null
+[skin]
+ description=Solarized skin by OK100
+
+[Lines]
+ horiz=─
+ vert=│
+ lefttop=┌
+ righttop=┐
+ leftbottom=└
+ rightbottom=┘
+ topmiddle=─
+ bottommiddle=─
+ leftmiddle=├
+ rightmiddle=┤
+ cross=┼
+ dhoriz=─
+ dvert=│
+ dlefttop=┌
+ drighttop=┐
+ dleftbottom=└
+ drightbottom=┘
+ dtopmiddle=─
+ dbottommiddle=─
+ dleftmiddle=├
+ drightmiddle=┤
+
+[core]
+ _default_=brightgreen;default
+ selected=black;brown
+ marked=red;default
+ markselect=red;brown
+ gauge=white;brightgreen
+ input=brightcyan;black
+ inputunchanged=brightgreen;black
+ inputmark=cyan;black
+ disabled=gray;lightgray
+ reverse=brightcyan;default
+ commandlinemark=black;lightgray
+ header=brightgreen;default
+ inputhistory=
+ commandhistory=
+
+[dialog]
+ _default_=brightgreen;default
+ dfocus=black;brown
+ dhotnormal=brightcyan;default
+ dhotfocus=black;brown
+ dtitle=brightcyan;default
+
+[error]
+ _default_=red;default
+ errdfocus=black;brown
+ errdhotnormal=brightred;default
+ errdtitle=brightred;default
+ errdhotfocus=black;brown
+
+[filehighlight]
+ directory=blue;
+ executable=cyan;
+ symlink=brightblue;
+ stalelink=brightred;
+ device=brightmagenta;
+ special=brightgreen;
+ core=red;
+ temp=brightgreen;
+ archive=brightmagenta;
+ doc=brown;
+ source=cyan;
+ media=magenta;
+ graph=green;
+ database=brightred;
+ other=brightblue;
+
+[menu]
+ _default_=brightbrown;black
+ menuhot=brightcyan;black
+ menusel=black;brown
+ menuhotsel=black;brown
+ menuinactive=black;black
+
+[buttonbar]
+ hotkey=brightcyan;black
+ button=brightbrown;black
+
+[statusbar]
+ _default_=brightbrown;black
+
+[help]
+ _default_=brightgreen;default
+ helpitalic=green;default
+ helpbold=brown;default
+ helplink=blue;default
+ helpslink=black;brown
+ helptitle=brightcyan;default
+
+[editor]
+ _default_=lightgray;blue
+ editbold=yellow;brightgreen
+ editmarked=black;cyan
+ editwhitespace=brightblue;blue
+ editlinestate=white;cyan
+ bookmark=white;red
+ bookmarkfound=black;green
+ editrightmargin=brightblue;black
+
+[viewer]
+ viewbold=yellow;default
+ viewunderline=brightred;default
+ viewselected=yellow;cyan
+
+[diffviewer]
+ added=white;green
+ changedline=blue;cyan
+ changednew=red;cyan
+ changed=white;cyan
+ removed=white;red
+ folder=blue;black
+ error=red;white
+
+[popupmenu]
+ _default_=brightgreen;default
+ menusel=black;brown
+ menutitle=brightcyan;default
+
+[widget-common]
+ sort-sign-up = '
+ sort-sign-down = ,
--- /dev/null
+
+[Midnight-Commander]
+show_backups=1
+kilobyte_si=0
+show_dot_files=1
+verbose=1
+mark_moves_down=1
+pause_after_run=1
+shell_patterns=1
+auto_save_setup=1
+auto_menu=0
+use_internal_view=1
+use_internal_edit=1
+clear_before_exec=1
+mix_all_files=0
+fast_reload=0
+fast_reload_msg_shown=0
+confirm_delete=1
+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
+use_8th_bit_as_meta=0
+confirm_view_dir=0
+mouse_move_pages=1
+mouse_move_pages_viewer=1
+mouse_close_dialog=0
+fast_refresh=0
+navigate_with_arrows=1
+drop_menus=0
+wrap_mode=1
+old_esc_mode=0
+cd_symlinks=1
+show_all_if_ambiguous=0
+max_dirt_limit=10
+torben_fj_mode=0
+use_file_to_guess_type=1
+alternate_plus_minus=0
+only_leading_plus_minus=1
+show_output_starts_shell=0
+panel_scroll_pages=1
+xtree_mode=0
+num_history_items_recorded=60
+file_op_compute_totals=1
+vfs_timeout=60
+ftpfs_directory_timeout=900
+use_netrc=1
+ftpfs_retry_seconds=30
+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=1
+fish_directory_timeout=900
+editor_tab_spacing=8
+editor_word_wrap_line_length=72
+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_auto_para_formatting=0
+editor_option_typewriter_wrap=0
+editor_edit_confirm_save=1
+editor_syntax_highlighting=1
+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=solarized
+keymap=mc.keymap
+
+filepos_max_saved_entries=1024
+
+auto_save_setup_panels=1
+
+[Layout]
+equal_split=1
+first_panel_size=59
+message_visible=1
+keybar_visible=1
+xterm_title=1
+output_lines=0
+command_prompt=1
+menubar_visible=1
+show_mini_info=1
+permission_mode=0
+filetype_mode=1
+free_space=1
+
+[Misc]
+ftp_proxy_host=gate
+ftpfs_password=anonymous@
+display_codepage=ASCII
+source_codepage=Other_8_bit
+
+
+[Colors]
+base_color=lightgray,green:normal=green,default:selected=white,gray:marked=yellow,default:markselect=yellow,gray:directory=blue,default:executable=brightgreen,default:link=cyan,default:device=brightmagenta,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=white,gray:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=green,gray:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=gray,blue:stalelink=red,default
+rxvt-unicode=
+color_terminals=
+
+screen-bce=
+
+linux=
+
+rxvt=
+
+screen=
+
+[FindFile]
+ignore_dirs=
+file_case_sens=true
+file_shell_pattern=true
+file_find_recurs=true
+file_skip_hidden=false
+file_all_charsets=false
+content_case_sens=true
+content_regexp=false
+content_first_hit=false
+content_whole_words=false
+content_all_charsets=false
+
+[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