changeset 9:2eceeda82a9f

from gentoo on ibook
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Sun, 16 Aug 2009 14:30:17 +0900
parents 14ed303f82b7 (current diff) 9e31f478c3eb (diff)
children 4bf4065677ef
files Xdefaults bcrc fetchmailrc muttrc procmailrc xinitrc zshrc
diffstat 8 files changed, 91 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/Xdefaults	Thu Jul 09 11:51:46 2009 +0900
+++ b/Xdefaults	Sun Aug 16 14:30:17 2009 +0900
@@ -34,9 +34,13 @@
 
 
 !! RXVT
-URxvt*font: xft:Kochi Gothic:antialias=true:size=9, \
-	xft:Dejavu Sans Mono
+URxvt*font: xft:Kochi Gothic:antialias=true:size=9
+!URxvt*font: xft:Kochi Gothic:antialias=true:size=9, \
+	!xft:Dejavu Sans Mono
+!URxvt*font: xft:Kochi Gothic:antialias=true:size=11:spacing=20, \
+	!xft:Dejavu Sans Mono
 !URxvt*font: xft:IPAGothic-14:antialias=true
+!URxvt*lineSpace: 1
 URxvt*foreground: White
 URxvt*background: Black
 URxvt*termName: xterm
@@ -47,10 +51,11 @@
 URxvt*tintColor: Green
 !!! red green blue cyan yellow magenta
 URxvt*inheritPixmap: true
-URxvt*shading: 20
+URxvt*shading: 30
+!URxvt*transparent: true
 
 URxvt.scrollstyle: next
-URxvt.scrollBar_right: true
+URxvt.scrollBar_right: false
 
 URxvt.geometry: 80x24
 
--- a/bcrc	Thu Jul 09 11:51:46 2009 +0900
+++ b/bcrc	Sun Aug 16 14:30:17 2009 +0900
@@ -13,6 +13,9 @@
 define cos(a){
 	return c(a)
 }
+define tan(a){
+	return s(a)/c(a)
+}
 define exp(a){
 	return e(a)
 }
--- a/fetchmailrc	Thu Jul 09 11:51:46 2009 +0900
+++ b/fetchmailrc	Sun Aug 16 14:30:17 2009 +0900
@@ -8,5 +8,4 @@
     protocol imap
     user "kent"
     ssl
-    keep
 
--- a/muttrc	Thu Jul 09 11:51:46 2009 +0900
+++ b/muttrc	Sun Aug 16 14:30:17 2009 +0900
@@ -1,3 +1,12 @@
+
+### tips
+# index画面で `t' でタグ付け
+# 各コマンド名の前に`tag-'をつけると、タグ付け対象全部にそれを実行
+# `;' の後にコマンドをいれても良い
+# 例: 複数のメールを別のメールボックスにコピー
+#   `t' でメールを指定
+#   `;' --> `C' でコピー先を指定
+#   `;` --> `d` で削除指定
 
 
 ### mutt-jp test
@@ -8,30 +17,35 @@
 set edit_headers=yes
 
 
-
-
 ### メールフォルダ設定
 set folder = $HOME/Mail
 set mbox_type = Maildir
 
 ### メールボックス
+# この'='は上記$folderの別名
+# muttが常に監視するボックス 別になくてもいい
 mailboxes =inbox
 mailboxes =ie-admin
 mailboxes =GCC
 mailboxes =concurrency
+mailboxes =recruit
+# oldボックス
+#mailboxes =inbox.old
+
 
 ### 送信設定
 set from = "kent@cr.ie.u-ryukyu.ac.jp"
-set realname = "kent"
-set record = "$HOME/Mail/sent"
-set postponed = "$HOME/Mail/postponed"
+set realname = "Yogi KENT"
+set record = "$folder/sent"
+set postponed = "$folder/postponed"
 set include = yes
-set smtp_url = smtp://k088511@nirai.ie.u-ryukyu.ac.jp:587/
+#set smtp_url = smtp://k088511@nirai.ie.u-ryukyu.ac.jp:587/
+set smtp_url = smtps://kent@sanya.cr.ie.u-ryukyu.ac.jp:465/
 ## 最初はmsmtpを使ってたんだけど、必要ないっぽい。smtp_urlがあればignored
 #set sendmail = "/opt/local/bin/msmtp -a nirai"
 
-set alias_file=~/Mail/aliases
-source ~/Mail/aliases
+set alias_file = $folder/aliases
+source =aliases
 set signature = "~/.signature"
 
 ### KeyBindings
@@ -48,8 +62,14 @@
 # for Index
 bind index \Cd half-down
 bind index \Cu half-up
-#bind index < top
-#bind index > bottom
+bind index < first-entry
+bind index > last-entry
+
+### Macros
+macro generic,index G !fetchmail^m
+
+### パイプ
+set pipe_decode=yes
 
 
 ### カラー設定
--- a/procmailrc	Thu Jul 09 11:51:46 2009 +0900
+++ b/procmailrc	Sun Aug 16 14:30:17 2009 +0900
@@ -2,10 +2,32 @@
 MAILDIR=$HOME/Mail
 DEFAULT=$MAILDIR/default
 LOGFILE=$MAILDIR/procmail.log
+#LOGFILE=$HOME/procmail.log
 LOGABSTRACT=no
+VERBOSE=yes
 #JUNK=$HOME/Mail/junk
 
 
+# GCCメーリングリスト
+:0 H
+* gcc
+* gnu.org
+GCC/
+
+# 琉大情報工adminメール
+:0 H
+* admin-server@ie.u-ryukyu.ac.jp
+ie-admin/
+
+# 就活メール
+:0 H
+* ^From:.*(news2010@mail\.rikunabi\.com|CSK2010@s-hr\.jp|rjinzai@fsi\.co\.jp|aiueo@yogi\.bz|tcadmin@port\.ne\.jp|lyp2010@e2r\.jp|ctc2010-fresh@hr-efit\.net|saiyou@hitachisoft\.jp|recruit@ns-sol\.co\.jp|saiyo@unisys\.co\.jp|nintendo2010@e2r\.jp|@access-company\.com|nsso@s-hr\.jp|SCE_Recruit01@hq\.scei\.sony\.co\.jp|teiki_rq@canon\.co\.jp|nri-rc-n@nri\.co\.jp|saiyo@scs\.co\.jp|jinji@cec-ltd\.co\.jp)
+recruit/
+
+# 河野研メーリングリスト
+:0 H
+* ^To:.*(concurrency@cr.ie.u-ryukyu.ac.jp|concurrency@ie.u-ryukyu.ac.jp)
+concurrency/
 
 :0
 * .*
--- a/vimrc	Thu Jul 09 11:51:46 2009 +0900
+++ b/vimrc	Sun Aug 16 14:30:17 2009 +0900
@@ -30,8 +30,8 @@
 set formatoptions+=mB
 
 " OSX用 C&P
-map <F2> :.w !pbcopy<CR><CR>
-map <F3> :r !pbpaste<CR>
+map <F2> :w !nkf -s\|pbcopy<CR><CR>
+map <F3> :r !pbpaste \|nkf -w<CR>
 
 "文字コード
 """vimが内部で使用する文字コード
@@ -103,8 +103,8 @@
 """GLOBAL設定
 """/usr/local/share/vim/vim70/plugin/にgtags.vimをいれる
 """
-"map <C-]> :Gtags<CR>
-map <C-]> :GtagsCursor<CR>
+map <C-]> :Gtags<CR>
+"map <C-]> :GtagsCursor<CR>
 "map <C-n> :cn<CR>
 "map <C-p> :cp<CR>
 
--- a/xinitrc	Thu Jul 09 11:51:46 2009 +0900
+++ b/xinitrc	Sun Aug 16 14:30:17 2009 +0900
@@ -29,3 +29,24 @@
 #exec twm
 #xterm
 
+if [ -f "$usermodmap" ]; then
+    xmodmap "$usermodmap"
+fi
+
+# environment variable initialize
+
+export LANG=ja_JP.UTF_8
+export XMODIFIERS="@im=kinput2"
+export RXVT_SOCKET=$HOME/.rxvt_socket
+
+# start some nice programs
+
+/opt/local/bin/kinput2 -xim -canna&
+#xterm &
+#/opt/local/bin/urxvt &
+/opt/local/bin/urxvtd -q -o&
+
+# start the window manager
+exec /usr/bin/quartz-wm
+#exec wmaker
+
--- a/zshrc	Thu Jul 09 11:51:46 2009 +0900
+++ b/zshrc	Sun Aug 16 14:30:17 2009 +0900
@@ -23,7 +23,9 @@
 alias b='popd'
 alias vi='vim'
 alias sless='less -x4 -S'
+alias octave='GNUTERM=aqua /Applications/Octave.app/Contents/Resources/bin/octave'
 
+alias mail='msmtp --host=nirai.ie.u-ryukyu.ac.jp --port=587 --auth=plain --user=k088511 --from=kent@cr.ie.u-ryukyu.ac.jp'
 alias PASTE='xsel -o'
 alias COPY='xsel -i'