2006-04-07 06:25:11 +02:00
|
|
|
--- _fdrc.orig Thu Mar 30 00:00:00 2006
|
|
|
|
+++ _fdrc Fri Apr 7 13:20:15 2006
|
2002-02-10 18:12:36 +01:00
|
|
|
@@ -13,2 +13,3 @@
|
|
|
|
#SORTTYPE=0
|
|
|
|
+FD_SORTTYPE=101
|
|
|
|
|
|
|
|
@@ -29,2 +30,3 @@
|
|
|
|
#SORTTREE=0
|
|
|
|
+FD_SORTTREE=1
|
|
|
|
|
2002-09-15 22:55:58 +02:00
|
|
|
@@ -35,2 +37,3 @@
|
|
|
|
#WRITEFS=0
|
|
|
|
+FD_WRITEFS=1
|
|
|
|
|
|
|
|
@@ -45,2 +48,3 @@
|
|
|
|
#INHERITCOPY=0
|
|
|
|
+FD_INHERITCOPY=1
|
|
|
|
|
2005-11-14 13:21:14 +01:00
|
|
|
@@ -62,2 +66,3 @@
|
2002-05-15 20:17:31 +02:00
|
|
|
#DEFCOLUMNS=2
|
|
|
|
+FD_DEFCOLUMNS=1
|
2002-04-15 19:55:19 +02:00
|
|
|
|
2005-11-14 13:21:14 +01:00
|
|
|
@@ -113,2 +118,3 @@
|
2002-02-10 18:12:36 +01:00
|
|
|
#ANSICOLOR=0
|
|
|
|
+FD_ANSICOLOR=1
|
|
|
|
|
2006-04-07 06:25:11 +02:00
|
|
|
@@ -226,2 +232,3 @@
|
|
|
|
#THRUARGS=0
|
|
|
|
+FD_THRUARGS=1
|
|
|
|
|
|
|
|
@@ -246,2 +253,3 @@
|
2003-03-28 11:13:10 +01:00
|
|
|
#LANGUAGE=""
|
2002-02-10 18:12:36 +01:00
|
|
|
+FD_LANGUAGE=$LANG
|
|
|
|
|
2006-04-07 06:25:11 +02:00
|
|
|
@@ -356,2 +364,3 @@
|
2002-02-10 18:12:36 +01:00
|
|
|
#PAGER=more%K
|
2002-04-15 19:55:19 +02:00
|
|
|
+FD_PAGER=${PAGER:-/usr/bin/more}%K
|
2002-02-10 18:12:36 +01:00
|
|
|
#EDITOR=vi
|
2006-04-07 06:25:11 +02:00
|
|
|
@@ -363,2 +372,38 @@
|
2002-02-10 18:12:36 +01:00
|
|
|
# launcher definition
|
|
|
|
+tar="tar"
|
2002-06-11 14:31:41 +02:00
|
|
|
+tar_format="%a %u/%g %s %m %d %t %y %f"
|
2002-02-10 18:12:36 +01:00
|
|
|
+
|
2002-09-15 22:55:58 +02:00
|
|
|
+launch "/.tar" "$tar tvf" "$tar_format"
|
|
|
|
+
|
|
|
|
+for ext in .tar.Z .taZ .TAZ; do
|
|
|
|
+ launch "$ext" "$tar Ztvf %C" "$tar_format"
|
|
|
|
+done
|
2002-02-10 18:12:36 +01:00
|
|
|
+
|
2002-09-18 20:57:53 +02:00
|
|
|
+for ext in .tar.gz .tar.z /.tgz .taz; do
|
2002-02-10 18:12:36 +01:00
|
|
|
+ launch "$ext" "$tar ztvf %C" "$tar_format"
|
|
|
|
+done
|
|
|
|
+
|
2002-09-15 22:55:58 +02:00
|
|
|
+for ext in .tar.bz2 .tbz2 /.tbz; do
|
2002-02-10 18:12:36 +01:00
|
|
|
+ launch "$ext" "$tar jtvf %C" "$tar_format"
|
|
|
|
+done
|
|
|
|
+
|
|
|
|
+launch "/.lzh" "lha -lq" "%a %u/%g %s %x %m %d %{yt} %f"
|
|
|
|
+
|
|
|
|
+for ext in /.zip /.jar; do
|
2002-09-18 20:57:53 +02:00
|
|
|
+ launch "$ext" "unzip -lqq" " %s %m-%d-%y %t %f"
|
2002-02-10 18:12:36 +01:00
|
|
|
+done
|
|
|
|
+
|
2002-09-15 22:55:58 +02:00
|
|
|
+for ext in .Z /.gz; do
|
2002-02-10 18:12:36 +01:00
|
|
|
+ launch "$ext" "zcat %C | $PAGER"
|
|
|
|
+done
|
|
|
|
+
|
2002-09-15 22:55:58 +02:00
|
|
|
+launch "/.bz2" "bzip2 -cd %C | $PAGER"
|
2002-04-15 19:55:19 +02:00
|
|
|
+
|
|
|
|
+# RCS/CVS files
|
|
|
|
+launch ",v" "rlog %C | $PAGER"
|
|
|
|
+
|
|
|
|
+# distribution files
|
2002-09-15 22:55:58 +02:00
|
|
|
+launch "/.aa" "cat %X.?? | $tar tvfz -" "$tar_format"
|
|
|
|
+arch "/.aa" "echo ERROR" "cat %X.?? | $tar zxf - %TA"
|
2002-02-10 18:12:36 +01:00
|
|
|
+
|
|
|
|
#(Default)
|
2006-04-07 06:25:11 +02:00
|
|
|
@@ -476,2 +521,39 @@
|
2002-02-10 18:12:36 +01:00
|
|
|
# archiver definition
|
|
|
|
+
|
2002-09-15 22:55:58 +02:00
|
|
|
+for ext in /.tar; do
|
|
|
|
+ arch "$ext" "$tar cf %C %T" "$tar xf %C %TA"
|
|
|
|
+done
|
2002-02-10 18:12:36 +01:00
|
|
|
+
|
2002-09-15 22:55:58 +02:00
|
|
|
+for ext in .tar.Z .taZ .TAZ; do
|
2002-02-10 18:12:36 +01:00
|
|
|
+ arch "$ext" "$tar Zcf %C %T" "$tar Zxf %C %TA"
|
|
|
|
+done
|
|
|
|
+
|
2002-09-18 20:57:53 +02:00
|
|
|
+for ext in .tar.gz .tar.z /.tgz .taz; do
|
2002-02-10 18:12:36 +01:00
|
|
|
+ arch "$ext" "$tar cf - %T | gzip -9c > %C" "$tar zxf %C %TA"
|
|
|
|
+done
|
|
|
|
+
|
2002-09-15 22:55:58 +02:00
|
|
|
+for ext in .tar.bz2 .tbz2 /.tbz; do
|
2002-02-10 18:12:36 +01:00
|
|
|
+ arch "$ext" "$tar cf - %T | bzip2 -9c > %C" "$tar jxf %C %TA"
|
|
|
|
+done
|
|
|
|
+
|
2002-05-15 20:17:31 +02:00
|
|
|
+arch ".Z" "compress %M" "uncompress %C"
|
2002-09-15 22:55:58 +02:00
|
|
|
+arch "/.gz" "gzip -9 %M" "gzip -d %C"
|
|
|
|
+arch "/.bz2" "bzip2 -9 %M" "bzip2 -d %C"
|
2002-05-15 20:17:31 +02:00
|
|
|
+
|
2002-02-10 18:12:36 +01:00
|
|
|
+arch "/.lzh" "lha aq %C %TA" "lha xq %C %TA"
|
|
|
|
+
|
|
|
|
+for ext in /.zip /.jar; do
|
2002-09-15 22:55:58 +02:00
|
|
|
+ arch "$ext" "zip -qr %C %TA" "unzip -q %C %TA"
|
2002-02-10 18:12:36 +01:00
|
|
|
+done
|
|
|
|
+
|
|
|
|
+_uuencode() {
|
|
|
|
+ uu=$1
|
|
|
|
+ shift
|
|
|
|
+ for file; do
|
|
|
|
+ uuencode $file $file >> $uu
|
|
|
|
+ done
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+arch ".uu" "_uuencode %C %TA" "uudecode -ic < %C"
|
|
|
|
+
|
|
|
|
#(Default)
|
2006-04-07 06:25:11 +02:00
|
|
|
@@ -569 +651,5 @@
|
2002-09-15 22:55:58 +02:00
|
|
|
#keymap DEL "\033[3~"
|
|
|
|
+
|
|
|
|
+if [ -f /etc/fd2rc.local ]; then
|
|
|
|
+ source /etc/fd2rc.local
|
|
|
|
+fi
|