From 1326b9b57e53f03dce3aa4fa9db9f28c9b91a9ee Mon Sep 17 00:00:00 2001 From: PHO Date: Sun, 7 Dec 2008 23:23:23 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_Xdefaults | 7 +++++++ dot-files/_w3m/keymap | 1 + dot-files/_w3m/mailcap | 1 + tools/import.pl | 4 ++++ tools/list-files.pl | 8 +++++++- 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 dot-files/_Xdefaults create mode 100644 dot-files/_w3m/keymap create mode 100644 dot-files/_w3m/mailcap diff --git a/dot-files/_Xdefaults b/dot-files/_Xdefaults new file mode 100644 index 0000000..b7889dc --- /dev/null +++ b/dot-files/_Xdefaults @@ -0,0 +1,7 @@ +emacs*Background: DarkSlateGray +emacs*Foreground: Wheat +emacs*pointerColor: Orchid +emacs*cursorColor: Orchid +emacs*bitmapIcon: on +emacs*font: fixed +emacs.geometry: 80x25 diff --git a/dot-files/_w3m/keymap b/dot-files/_w3m/keymap new file mode 100644 index 0000000..6a7d8a7 --- /dev/null +++ b/dot-files/_w3m/keymap @@ -0,0 +1 @@ +keymap C CHARSET diff --git a/dot-files/_w3m/mailcap b/dot-files/_w3m/mailcap new file mode 100644 index 0000000..21603a6 --- /dev/null +++ b/dot-files/_w3m/mailcap @@ -0,0 +1 @@ +application/xhtml+xml; cat %s; x-htmloutput diff --git a/tools/import.pl b/tools/import.pl index b722db1..c1bacae 100644 --- a/tools/import.pl +++ b/tools/import.pl @@ -5,6 +5,7 @@ use lib 'tools'; require 'utils.pl'; use File::Spec; use File::Copy; +use File::Path; sub main { my @args = @_; @@ -15,6 +16,9 @@ sub main { my $saved = rel2saved($rel); print "Copying $abs to $saved...\n"; + my @path = File::Spec->splitdir($saved); + pop @path; + mkpath(File::Spec->catdir(@path)); copy($abs, $saved) or die $!; } } diff --git a/tools/list-files.pl b/tools/list-files.pl index c736839..2059c9e 100644 --- a/tools/list-files.pl +++ b/tools/list-files.pl @@ -95,7 +95,8 @@ __DATA__ .mplayer/DVDKeys* .mplayer/skins* .nautilus -.navi2ch +.navi2ch/*.net +.navi2ch/*.com .nh-todo .pan .projects.ede @@ -113,6 +114,11 @@ __DATA__ .uim.d .unison .viminfo +.w3m/bookmark.bak.html +.w3m/config +.w3m/*arrived +.w3m/*cookie +.w3m/*sessions .xchat2* .zcomp* .zfunc -- 2.40.0