Initial commit

This commit is contained in:
Némunaire 2012-11-22 01:08:53 +01:00
commit c7497d689a
31 changed files with 2149 additions and 0 deletions

24
.Xdefaults Normal file
View File

@ -0,0 +1,24 @@
URxvt.geometry: 102x30
URxvt.background: #000000
URxvt.foreground: #ffffff
URxvt.reverseVideo: false
URxvt.tintColor: #ffffff
URxvt.scrollBar: false
URxvt.saveLines: 4096
URxvt.cursorColor: #00ff00
URxvt.cursorBlink: true
URxvt.colorBD: white
URxvt.depth: 32
URxvt.font: xft:Deja Vu Sans Mono:pixelsize=11:antialias=true
URxvt.boldFont: xft:Deja Vu Sans Mono:pixelsize=11:antialias=true:bold
URxvt.italicFont: xft:Deja Vu Sans Mono:pixelsize=11:antialias=true:italic
URxvt.boldItalicFont: xft:Deja Vu Sans Mono:pixelsize=11:antialias=true:italic:bold
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: firefox
URxvt.matcher.button: 2
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
URxvt.visualBell: false
URxvt.urgentOnBell: true

27
.bash_aliases Normal file
View File

@ -0,0 +1,27 @@
alias ed='ed -p "ed> "'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias l='ls -F'
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -a'
alias lla='ls -lha'
alias emacs='emacs -nw'
alias ssh-add='ssh-add -t 10000'
alias rdesktop='rdesktop -k us-intl'
alias ss='if [ "$TERM" = "rxvt-unicode-256color" ]; then TERM=rxvt-unicode; fi; screen -S nemumain -D -R -c ~/.screenstart; exit'
alias addspamer='~/scripts/addSpamer'
alias soutenance='~/scripts/soutenance.sh'
alias conv2047='~/scripts/conv2047-0.1.pl'
alias findh='find ./'
alias findf='findh -type f'
alias findd='findh -type d'
alias c='var=$(cal -m); echo "${var/$(date +%-d)/$(echo -e "\033[1;31m$(date +%-d)\033[0m")}"'
alias clean="rm *~ *.toc *.out *.aux \\#*\\#"
alias mirror="wget --mirror --no-parent"
alias transmission-remote-cli='~/.transmission-remote-cli'

7
.bash_logout Normal file
View File

@ -0,0 +1,7 @@
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi

23
.bash_profile Normal file
View File

@ -0,0 +1,23 @@
. $HOME/.bashrc
#screen -wipe
#if [ -n "$SSH_CLIENT" ]
#then
# transmission-remote -as
# screen -S remote -D -RR -c .screenstart
# transmission-remote -AS
# exit
#el
if [ `tty` == /dev/tty1 ]
then
# export scrln=`screen -ls | wc -l`
# if [ $scrln -eq 2 ]
# then
# screen -S remote -d -m -c .screenstart
# fi
startx
clear
exit
fi

76
.bashrc Normal file
View File

@ -0,0 +1,76 @@
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
export CC=gcc
#export CFLAGS="-Wall -W -Werror -pedantic -ansi"
export EDITOR="emacs"
# don't put duplicate lines in the history. See bash(1) for more options
# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
# ... or force ignoredups and ignorespace
export HISTCONTROL=ignoreboth
export LANG=fr_FR.UTF-8
export MALLOC_CHECK_=3
export NNTPSERVER='news.epita.fr'
export PAGER="most"
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# append to the history file, don't overwrite it
shopt -s histappend
# Interdire l'écrasement de fichier avec >
set -C
PS1=""
case "$HOSTNAME" in
meret)
PS_COLOR=37
;;
nout)
PS_COLOR=36
;;
aton|bastet)
PS_COLOR=35
;;
khonsou)
PS_COLOR=34
;;
ptah|pc-mercie_d)
PS_COLOR=33
;;
sekhmet)
PS1="$PS1[\t] "
PS_COLOR=32
;;
*)
PS_COLOR=30
;;
esac
if [ "$USER" == "root" ]; then
PS1=$PS1"\[\e[04;31m\]\u\[\e[00m\]"
else
PS1=$PS1"\u"
fi
PS1=$PS1'@\[\e[$PS_COLOR;01m\]\h\[\e[00m\]:\[\e[01;34m\]\W\[\e[00m\]'
PS1=$PS1'\[`if [ $? -eq 0 ]; then echo -ne "\033[0;32m"; else echo -ne "\033[0;31m"; fi`\]'
PS1=$PS1'\$\[\033[0m\] '
#Agent SSH
if [ ! -f /tmp/ssh-agent.profile ]; then
ssh-agent > /tmp/ssh-agent.profile
chmod 400 /tmp/ssh-agent.profile
fi
source /tmp/ssh-agent.profile > /dev/null
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
if [ -f ~/.my_bashrc ]; then
. ~/.my_bashrc
fi

1
.emacs.d Submodule

@ -0,0 +1 @@
Subproject commit 99e3df82b7141a45624f2427d444e72137fe079d

21
.gitconfig Normal file
View File

@ -0,0 +1,21 @@
[color]
diff = auto
status = auto
branch = auto
[user]
name = Némunaire
email = nemunaire@pomail.fr
[alias]
a = add
c = commit -a
k = checkout
ci = commit
ca = commit --amend
co = checkout
st = status
br = branch
graph = log --graph --oneline --branches --all
[core]
editor = emacs -nw
excludesfile = ~/.gitignore
autocrlf = input

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*~
*.swp
.DS_Store
*.tmproj
tmtags

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule ".emacs.d"]
path = .emacs.d
url = git://git.nemunai.re/emacs.git

15
.hgrc Normal file
View File

@ -0,0 +1,15 @@
[ui]
username = Némunaire <nemunaire@pomail.fr>
verbose = True
[merge-tools]
diff.binary = diff
diff.args = $local $other
[merge-patterns]
*.c = diff
[extensions]
hgext.record =
hgext.graphlog =
hgext.mq =

5
.mailcap Normal file
View File

@ -0,0 +1,5 @@
application/msword; antiword '%s'; copiousoutput; description=Word Document;
nametemplate=%s.doc
application/pdf; pdftotext '%s' -; copiousoutput; description=PDF Document;
nametemplate=%s.pdf
text/html; lynx %s

169
.muttrc Normal file
View File

@ -0,0 +1,169 @@
set mbox_type=Maildir
set folder="~/.mail"
set mask="!^\\.[^.]"
set record="+.Sent"
set postponed="+.Drafts"
set spoolfile="~/.mail"
# Set the desired default "from" address for both header From and envelope-from
set reverse_name
set from="nemunaire@pomail.fr"
alternates ".+@mercier.pm|.+@pomail.fr|.+@p0m.fr|.+@nemunai.re"
set realname="Pierre-Olivier Mercier"
set hostname="pomail.fr"
set envelope_from=yes
set use_domain=no
set alias_file= ~/.mutt/aliases
set sort_alias= alias
set reverse_alias=yes
source $alias_file
source ~/.mutt/mls
# set up the sidebar
set sidebar_width=25
set sidebar_visible=yes
set sidebar_sort=yes
mailboxes ! `echo -n "+ "; find ~/.mail -maxdepth 1 -type d -name ".*" -printf "+'%f' "`
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
macro compose A "<attach-message>?" "attach message(s) to this message"
#
set header_cache = ~/.mutt/cache
set header_cache_pagesize = 32768
set maildir_header_cache_verify = no
# locales FR pour les nom des jours et mois
set locale="fr_FR"
set date_format="%A %d %b %Y à %H:%M:%S (%Z)"
set attribution="Le %d, %n a écrit :"
set forward_format="Fwd: %s"
set forward_quote
# Header stuff
#ignore "Authentication-Results:"
#ignore "DomainKey-Signature:"
#ignore "DKIM-Signature:"
hdr_order Date From To Cc User-Agent
ignore *
unignore from: date subject to cc mail-followup-to
unignore x-mailing-list: posted-to:
unignore x-mailer: x-url reply-to
unignore user-agent:
# For better looks
#set arrow_cursor
#set folder_format="%t%N %-30.30f %8s"
#set index_format="%4C %Z %{%b %d} %-31.31F %N (%4c) %s"
set beep_new
set menu_scroll
set smart_wrap = yes
set markers = no # don't put '+' at the beginning of wrapped lines
set pager_index_lines = 7 # how large is the index window?
set sort = 'threads'
set sort_aux=date-received
set sort_browser=date
# My Editor
set editor='emacsclient -nw'
set charset="utf-8"
set pager_stop
# =====================================================================
# Normal colors
# =====================================================================
color normal white black
color message white black
color hdrdefault cyan black
color attachment yellow black
color status brightblack cyan
color tilde brightblue default # ``~'' used to pad blank lines
color tree brightwhite default # thread tree in the index menu
color body brightblue default "(git|ftp|http)s?://[^ ]+" # point out URLs
color body brightblue default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
# =====================================================================
# Index
# =====================================================================
# Messages already replied to in cyan
color index cyan black "~Q"
# Unread messages in yellow
color index brightyellow black "~N"
color index brightyellow black "~O"
# Deleted messages in a dark color
color index blue black "~D"
# Flagged messages in red
color index brightred black "~F"
# =====================================================================
# Header
# =====================================================================
# Color information about the sender
color header brightcyan black "From: "
color header brightcyan black "Subject: "
color header brightcyan black "date: "
# =====================================================================
# Body
# =====================================================================
# Color the first levels of quoted text
color quoted green black
color quoted1 cyan black
color quoted2 green black
color quoted3 cyan black
# Sidebar colors
color sidebar_new yellow default
bind index,pager \CP sidebar-scroll-up
#bind index,pager \CI sidebar-scroll-down
bind index,pager \CO sidebar-open
bind index,pager i sidebar-next
macro index,pager I '<sidebar-next><sidebar-next><sidebar-next><sidebar-next><sidebar-next><sidebar-next><sidebar-next><sidebar-next><sidebar-next><sidebar-next>'
bind index,pager o sidebar-open
bind index,pager p sidebar-prev
macro index,pager P '<sidebar-prev><sidebar-prev><sidebar-prev><sidebar-prev><sidebar-prev><sidebar-prev><sidebar-prev><sidebar-prev><sidebar-prev><sidebar-prev>'
# b toggles sidebar visibility
macro index,pager b '<enter-command>toggle sidebar_visible<enter>'
# Remap bounce-message function to "B"
bind index B bounce-message
bind index,pager \e<tab> next-unread-mailbox
# GnuPG output
#
# Make if very obvious there is a bad signature!
color body black red "BAD signature .*$"
# Tag a good signature
color body brightgreen black "Good signature .*$"
# Inform the signature can't be verified
color body brightred black "Can't check signature: public key not found"
color body brightred black "WARNING: .*!"
color body brightred black "some signal caught ... exiting"
#Messages
color error brightwhite red # error messages
color message brightblack green # status messages

52
.procmailrc Normal file
View File

@ -0,0 +1,52 @@
VERBOSE=no
SHELL=/bin/sh
SED=/bin/sed
PATH=/usr/local/bin:/usr/bin:/bin
MAILDIR=/home/nemunaire/.mail
DEFAULT=$MAILDIR/
ORGMAIL=$MAILDIR/
JUNK=$MAILDIR/Junk/
LOGFILE=$MAILDIR/procmail.log
PMDIR=$HOME/.procmail
MAR=$PMDIR/mark_as_read
INCLUDERC=$PMDIR/rc.spam
INCLUDERC=$PMDIR/rc.groupe
INCLUDERC=$PMDIR/rc.duplicate
INCLUDERC=$PMDIR/rc.nagios
INCLUDERC=$PMDIR/rc.backup
#INCLUDERC=$PMDIR/rc.corrections
:0 hfw
SUBJECT=| formail -xSubject:
INCLUDERC=$PMDIR/rc.system
#INCLUDERC=$PMDIR/rc.priority
INCLUDERC=$PMDIR/rc.common
INCLUDERC=$PMDIR/rc.amis
INCLUDERC=$PMDIR/rc.website
INCLUDERC=$PMDIR/rc.epita
INCLUDERC=$PMDIR/rc.projects
INCLUDERC=$PMDIR/rc.newslettre
INCLUDERC=$PMDIR/rc.list
INCLUDERC=$PMDIR/rc.notify
INCLUDERC=$PMDIR/rc.old
INCLUDERC=$PMDIR/rc.pubs
INCLUDERC=$PMDIR/rc.send

161
.rdesktop/keymaps/common Normal file
View File

@ -0,0 +1,161 @@
include modifiers
#
# Top row
#
1 0x2
2 0x3
3 0x4
4 0x5
5 0x6
6 0x7
7 0x8
8 0x9
9 0xa
0 0xb
BackSpace 0xe
#
# QWERTY first row
#
Tab 0xf localstate
ISO_Left_Tab 0xf shift
q 0x10 addupper
w 0x11 addupper
e 0x12 addupper
r 0x13 addupper
t 0x14 addupper
y 0x15 addupper
u 0x16 addupper
i 0x17 addupper
o 0x18 addupper
p 0x19 addupper
#
# QWERTY second row
#
a 0x1e addupper
s 0x1f addupper
d 0x20 addupper
f 0x21 addupper
g 0x22 addupper
h 0x23 addupper
j 0x24 addupper
k 0x25 addupper
l 0x26 addupper
Return 0x1c localstate
#
# QWERTY third row
#
z 0x2c addupper
x 0x2d addupper
c 0x2e addupper
v 0x2f addupper
b 0x30 addupper
n 0x31 addupper
m 0x32 addupper
space 0x39 localstate
less 0x56
greater 0x56 shift
bar 0x56 altgr
brokenbar 0x56 shift altgr
#
# Esc and Function keys
#
Escape 0x1 localstate
F1 0x3b localstate
F2 0x3c localstate
F3 0x3d localstate
F4 0x3e localstate
F5 0x3f localstate
F6 0x40 localstate
F7 0x41 localstate
F8 0x42 localstate
F9 0x43 localstate
F10 0x44 localstate
F11 0x57 localstate
SunF36 0x57 localstate
F12 0x58 localstate
SunF37 0x58 localstate
# Printscreen, Scrollock and Pause
# Printscreen really requires four scancodes (0xe0, 0x2a, 0xe0, 0x37),
# but (0xe0, 0x37) seems to work.
Print 0xb7 localstate
Sys_Req 0xb7 localstate
Execute 0xb7 localstate
F22 0xb7 localstate
Scroll_Lock 0x46
F23 0x46
#
# Insert - PgDown
#
Insert 0xd2 localstate
Delete 0xd3 localstate
Home 0xc7 localstate
End 0xcf localstate
Page_Up 0xc9 localstate
Page_Down 0xd1 localstate
#
# Arrow keys
#
Left 0xcb localstate
Up 0xc8 localstate
Down 0xd0 localstate
Right 0xcd localstate
#
# Numpad
#
Num_Lock 0x45
KP_Divide 0xb5
KP_Multiply 0x37
KP_Subtract 0x4a
KP_Add 0x4e
KP_Enter 0x9c
KP_Decimal 0x53 numlock
KP_Separator 0x53 numlock
KP_Delete 0x53
KP_0 0x52 numlock
KP_Insert 0x52
KP_1 0x4f numlock
KP_End 0x4f
KP_2 0x50 numlock
KP_Down 0x50
KP_3 0x51 numlock
KP_Next 0x51
KP_4 0x4b numlock
KP_Left 0x4b
KP_5 0x4c numlock
KP_Begin 0x4c
KP_6 0x4d numlock
KP_Right 0x4d
KP_7 0x47 numlock
KP_Home 0x47
KP_8 0x48 numlock
KP_Up 0x48
KP_9 0x49 numlock
KP_Prior 0x49
#
# Inhibited keys
#
Caps_Lock 0x0 inhibit
Multi_key 0x0 inhibit

119
.rdesktop/keymaps/en-gb Normal file
View File

@ -0,0 +1,119 @@
# generated from XKB map gb
include common
map 0x809
exclam 0x02 shift
onesuperior 0x02 altgr
exclamdown 0x02 shift altgr
quotedbl 0x03 shift
twosuperior 0x03 altgr
oneeighth 0x03 shift altgr
sterling 0x04 shift
threesuperior 0x04 altgr
dollar 0x05 shift
EuroSign 0x05 altgr
percent 0x06 shift
onehalf 0x06 altgr
threeeighths 0x06 shift altgr
asciicircum 0x07 shift
threequarters 0x07 altgr
fiveeighths 0x07 shift altgr
ampersand 0x08 shift
braceleft 0x08 altgr
seveneighths 0x08 shift altgr
asterisk 0x09 shift
bracketleft 0x09 altgr
trademark 0x09 shift altgr
parenleft 0x0a shift
bracketright 0x0a altgr
plusminus 0x0a shift altgr
parenright 0x0b shift
braceright 0x0b altgr
degree 0x0b shift altgr
minus 0x0c
underscore 0x0c shift
backslash 0x0c altgr
questiondown 0x0c shift altgr
equal 0x0d
plus 0x0d shift
dead_cedilla 0x0d altgr
dead_ogonek 0x0d shift altgr
at 0x10 altgr
Greek_OMEGA 0x10 shift altgr
lstroke 0x11 altgr
Lstroke 0x11 shift altgr
paragraph 0x13 altgr
registered 0x13 shift altgr
tslash 0x14 altgr
Tslash 0x14 shift altgr
leftarrow 0x15 altgr
yen 0x15 shift altgr
downarrow 0x16 altgr
uparrow 0x16 shift altgr
rightarrow 0x17 altgr
idotless 0x17 shift altgr
oslash 0x18 altgr
Ooblique 0x18 shift altgr
thorn 0x19 altgr
THORN 0x19 shift altgr
bracketleft 0x1a
braceleft 0x1a shift
dead_diaeresis 0x1a altgr
dead_abovering 0x1a shift altgr
bracketright 0x1b
braceright 0x1b shift
dead_tilde 0x1b altgr
dead_macron 0x1b shift altgr
ae 0x1e altgr
AE 0x1e shift altgr
ssharp 0x1f altgr
section 0x1f shift altgr
eth 0x20 altgr
ETH 0x20 shift altgr
dstroke 0x21 altgr
ordfeminine 0x21 shift altgr
eng 0x22 altgr
ENG 0x22 shift altgr
hstroke 0x23 altgr
Hstroke 0x23 shift altgr
kra 0x25 altgr
lstroke 0x26 altgr
Lstroke 0x26 shift altgr
semicolon 0x27
colon 0x27 shift
dead_acute 0x27 altgr
dead_doubleacute 0x27 shift altgr
apostrophe 0x28
at 0x28 shift
dead_circumflex 0x28 altgr
dead_caron 0x28 shift altgr
grave 0x29
notsign 0x29 shift
bar 0x29 altgr
numbersign 0x2b
asciitilde 0x2b shift
dead_grave 0x2b altgr
dead_breve 0x2b shift altgr
guillemotleft 0x2c altgr
less 0x2c shift altgr
guillemotright 0x2d altgr
greater 0x2d shift altgr
cent 0x2e altgr
copyright 0x2e shift altgr
leftdoublequotemark 0x2f altgr
rightdoublequotemark 0x30 altgr
mu 0x32 altgr
masculine 0x32 shift altgr
comma 0x33
less 0x33 shift
horizconnector 0x33 altgr
multiply 0x33 shift altgr
period 0x34
greater 0x34 shift
periodcentered 0x34 altgr
division 0x34 shift altgr
slash 0x35
question 0x35 shift
dead_belowdot 0x35 altgr
dead_abovedot 0x35 shift altgr
backslash 0x56
bar 0x56 shift

35
.rdesktop/keymaps/en-intl Normal file
View File

@ -0,0 +1,35 @@
# generated from XKB map us
include common
map 0x20409
exclam 0x02 shift
at 0x03 shift
numbersign 0x04 shift
dollar 0x05 shift
percent 0x06 shift
asciicircum 0x07 shift
ampersand 0x08 shift
asterisk 0x09 shift
parenleft 0x0a shift
parenright 0x0b shift
minus 0x0c
underscore 0x0c shift
equal 0x0d
plus 0x0d shift
bracketleft 0x1a
braceleft 0x1a shift
bracketright 0x1b
braceright 0x1b shift
semicolon 0x27
colon 0x27 shift
apostrophe 0x28
quotedbl 0x28 shift
grave 0x29
asciitilde 0x29 shift
backslash 0x2b
bar 0x2b shift
comma 0x33
less 0x33 shift
period 0x34
greater 0x34 shift
slash 0x35
question 0x35 shift

35
.rdesktop/keymaps/en-us Normal file
View File

@ -0,0 +1,35 @@
# generated from XKB map us
include common
map 0x409
exclam 0x02 shift
at 0x03 shift
numbersign 0x04 shift
dollar 0x05 shift
percent 0x06 shift
asciicircum 0x07 shift
ampersand 0x08 shift
asterisk 0x09 shift
parenleft 0x0a shift
parenright 0x0b shift
minus 0x0c
underscore 0x0c shift
equal 0x0d
plus 0x0d shift
bracketleft 0x1a
braceleft 0x1a shift
bracketright 0x1b
braceright 0x1b shift
semicolon 0x27
colon 0x27 shift
apostrophe 0x28
quotedbl 0x28 shift
grave 0x29
asciitilde 0x29 shift
backslash 0x2b
bar 0x2b shift
comma 0x33
less 0x33 shift
period 0x34
greater 0x34 shift
slash 0x35
question 0x35 shift

181
.rdesktop/keymaps/fr Normal file
View File

@ -0,0 +1,181 @@
include common
map 0x40c
#
# Top row
#
twosuperior 0x29
notsign 0x29 altgr
ampersand 0x02
1 0x02 shift
onesuperior 0x02 altgr
exclamdown 0x02 shift altgr
eacute 0x03
2 0x03 shift
asciitilde 0x03 altgr
oneeighth 0x03 shift altgr
quotedbl 0x04
3 0x04 shift
numbersign 0x04 altgr
apostrophe 0x05
4 0x05 shift
braceleft 0x05 altgr
parenleft 0x06
5 0x06 shift
bracketleft 0x06 altgr
threeeighths 0x06 shift altgr
minus 0x07
6 0x07 shift
bar 0x07 altgr
fiveeighths 0x07 shift altgr
egrave 0x08
7 0x08 shift
grave 0x08 altgr
seveneighths 0x08 shift altgr
underscore 0x09
8 0x09 shift
backslash 0x09 altgr
trademark 0x09 shift altgr
ccedilla 0x0a
9 0x0a shift
asciicircum 0x0a altgr
plusminus 0x0a shift altgr
agrave 0x0b
0 0x0b shift
at 0x0b altgr
parenright 0x0c
degree 0x0c shift
bracketright 0x0c altgr
questiondown 0x0c shift altgr
equal 0x0d
plus 0x0d shift
braceright 0x0d altgr
dead_ogonek 0x0d shift altgr
#
# AZERTY first row
#
a 0x10 addupper
ae 0x10 altgr
AE 0x10 shift altgr
z 0x11 addupper
guillemotleft 0x11 altgr
EuroSign 0x12 altgr
paragraph 0x13 altgr
registered 0x13 shift altgr
tslash 0x14 altgr
Tslash 0x14 shift altgr
leftarrow 0x15 altgr
yen 0x15 shift altgr
downarrow 0x16 altgr
uparrow 0x16 shift altgr
rightarrow 0x17 altgr
idotless 0x17 shift altgr
oslash 0x18 altgr
Ooblique 0x18 shift altgr
thorn 0x19 altgr
THORN 0x19 shift altgr
dead_circumflex 0x1a
dead_diaeresis 0x1a shift
dead_abovering 0x1a shift altgr
dollar 0x1b
sterling 0x1b shift
currency 0x1b altgr
dead_macron 0x1b shift altgr
#
# AZERTY second row
#
q 0x1e addupper
Greek_OMEGA 0x1e shift altgr
ssharp 0x1f altgr
eth 0x20 altgr
ETH 0x20 shift altgr
dstroke 0x21 altgr
ordfeminine 0x21 shift altgr
eng 0x22 altgr
ENG 0x22 shift altgr
hstroke 0x23 altgr
Hstroke 0x23 shift altgr
kra 0x25 altgr
lstroke 0x26 altgr
Lstroke 0x26 shift altgr
m 0x27 addupper
masculine 0x27 shift altgr
ugrave 0x28
percent 0x28 shift
dead_caron 0x28 shift altgr
asterisk 0x2b
mu 0x2b shift
dead_grave 0x2b altgr
dead_breve 0x2b shift altgr
#
# AZERTY third row
#
less 0x56
greater 0x56 shift
w 0x2c addupper
guillemotright 0x2d altgr
cent 0x2e altgr
copyright 0x2e shift altgr
leftdoublequotemark 0x2f altgr
rightdoublequotemark 0x30 altgr
comma 0x32
question 0x32 shift
dead_acute 0x32 altgr
dead_doubleacute 0x32 shift altgr
semicolon 0x33
period 0x33 shift
horizconnector 0x33 altgr
multiply 0x33 shift altgr
colon 0x34
slash 0x34 shift
periodcentered 0x34 altgr
division 0x34 shift altgr
exclam 0x35
section 0x35 shift
dead_belowdot 0x35 altgr
dead_abovedot 0x35 shift altgr

View File

@ -0,0 +1,18 @@
Shift_R 0x36
Shift_L 0x2a
Alt_R 0xb8
Mode_switch 0xb8
ISO_Level3_Shift 0xb8
Alt_L 0x38
Control_R 0x9d
Control_L 0x1d
# Translate Meta, Super and Hyper to Windows keys.
# This is hardcoded. See documentation for details.
# Translate Menu to the Windows Application key.
# This one does not work either.
Menu 0xdd

1
.rdesktop/keymaps/us-intl Symbolic link
View File

@ -0,0 +1 @@
en-intl

30
.screenbots Normal file
View File

@ -0,0 +1,30 @@
# ===================================================
#
# Fichier de configuration de screen par Némunaire
#
# Dernière modification : 18/01/2012
#
# ===================================================
defutf8 on
log off
startup_message off
vbell on
# Paramètres entiers
defscrollback 0
msgminwait 0
# Coloration
sorendition rk
shell sh
escape ^Bb # Instead of Control-a, make the escape/command character be Control-b
# Écans à charger par défaut
#screen /home/nemunaire/nemubot/nemuspeak.py nemubot/speak.xml
screen
screen /home/nemunaire/nemubot/nemubot.py nemubot/bot.xml nemubot/

119
.screenmails Normal file
View File

@ -0,0 +1,119 @@
# ===================================================
#
# Fichier de configuration de screen par Némunaire
#
# Dernière modification : 21/02/2011
#
# ===================================================
# Paramètres booléens
allpartial off
altscreen off
autodetach on
crlf off
debug off
defsilence off
defutf8 on
defwrap on
hardcopy_append off
ignorecase off
log off
#nethack on
startup_message off
vbell off
# Paramètres pour les terminaux
termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
termcapinfo xterm* OL=10000
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~'
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
termcapinfo xterm ut
termcapinfo wy75-42 xo:hs@
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
# Paramètres entiers
defscrollback 0
msgminwait 0
msgwait 5
silencewait 15
# Paramètres chemins d'accès/dossiers
shell -$SHELL
#shell bash
#shell zsh
# Paramètres textuels
#mot de passe pour rattacher
password SM4CUO61TsAFs
# ============================================
# Ligne CAPTION : au dessus de la hardstatus
# ============================================
#Affiche la liste des écrans
#caption always "%{= kw}%?%-Lw%?%{+b kw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?"
#caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
caption always "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%?%{wk}%=%{gk}%c"
#caption always "%{gk}[%H] %?%{wk}%-Lw%?%{yK}%n*%f%t%?(%u)%?%?%{wk}%+Lw%?%{wk} %-= %l %{gk}%c %{yk}%d.%M%y"
#caption always "%{= kG}[%{G}%H%{g}]%{kw}[%= %{= kw}%?%-Lw%?%{r}(%{y}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{kw}]%l %{kg}%c %{ky}%d.%M%y"
# ============================================
# Ligne HARDSTATUS
# ===========================================
#hardstatus alwayslastline "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#hardstatus alwayslastline "%{+b kr}[ %H ] %{ky} Load: %l %-=%{kb} %c %d.%m.%Y"
#hardstatus alwayslastline "%{kg}[%H] %{kw} Charge : %l %{+b}%-=% %t %{ky}%d.%M%y"
hardstatus alwaysmessage
# Coloration
sorendition gK
# ==========================================
# Messages en tous genre
# ==========================================
activity "%{wr}Activité dans l'écran $%n-%t a %c:%s~%{+b}%-=% %t %d.%M%y~\a"
bell "%{wr}Avertissement dans l'écran $%n-%t a %c:%s~%{+b}%-=% %t %{ky}%d.%M%y~\a"
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
vbell_msg " *beep* "
# =========================================
# Bind !
# =========================================
escape ^Zz # Instead of Control-a, make the escape/command character be Control-b
#bind ^s
bindkey -k k1 select 0
bindkey -k k2 select 1
bindkey -k k3 select 2
bindkey -k k4 select 3
bindkey -k k5 select 4
bindkey -k k6 select 5
bindkey -k k7 select 6
bindkey -k k8 select 7
# Écans à charger par défaut
screen -t pierreo.pom mutt -c ~/.mutt/muttrc.pierreo
screen -t nemunaire mutt -c ~/.mutt/muttrc.nemunaire

126
.screenrc Normal file
View File

@ -0,0 +1,126 @@
# ===================================================
#
# Fichier de configuration de screen par Némunaire
#
# Dernière modification : 06/11/2010
#
# ===================================================
# Paramètres booléens
allpartial off
altscreen off
autodetach on
crlf off
debug off
defsilence off
defutf8 on
defwrap on
hardcopy_append off
ignorecase off
log off
startup_message off
vbell off
# Paramètres pour les terminaux
term screen-256color
termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
termcapinfo xterm* OL=10000
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~'
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
termcapinfo xterm ut
termcapinfo wy75-42 xo:hs@
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
# Paramètres entiers
defscrollback 2048
msgminwait 0
msgwait 5
silencewait 15
# Paramètres chemins d'accès/dossiers
#shell -$SHELL
shell bash
#shell zsh
# Paramètres textuels
#mot de passe pour rattacher
password SM4CUO61TsAFs
# ============================================
# Ligne CAPTION : au dessus de la hardstatus
# ============================================
#Affiche la liste des écrans
#caption always "%{= kw}%?%-Lw%?%{+b kw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?"
#caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#caption always "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%?%{wk}%=%{gk}%c"
#caption always "%{gk}[%H] %?%{wk}%-Lw%?%{yK}%n*%f%t%?(%u)%?%?%{wk}%+Lw%?%{wk} %-= %l %{gk}%c %{yk}%d.%M%y"
caption always "%{= kC}[%{C}%H%{c}]%{kw}[%= %{= kw}%?%-Lw%?%{r}(%{y}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{kw}]%l %{kg}%c %{ky}%d.%M%y"
# ============================================
# Ligne HARDSTATUS
# ===========================================
#hardstatus alwayslastline "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#hardstatus alwayslastline "%{+b kr}[ %H ] %{ky} Load: %l %-=%{kb} %c %d.%m.%Y"
#hardstatus alwayslastline "%{kg}[%H] %{kw} Charge : %l %{+b}%-=% %t %{ky}%d.%M%y"
hardstatus alwaysmessage
# Coloration
sorendition wk
# ==========================================
# Messages en tous genre
# ==========================================
activity "%{wr}Activite dans l'ecran $%n-%t a %c:%s~%{+b}%-=% %t %d.%M%y"
bell "%{wr}Avertissement dans l'ecran $%n-%t a %c:%s~%{+b}%-=% %t %{ky}%d.%M%y"
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
vbell_msg " *beep* "
# =========================================
# Bind !
# =========================================
bind s
bind ` select 0
bind F screen -t FTP ncftp
bind G screen -t DDG links www.duckduckgo.com
bind P paste .
bind ! screen -t sekhmet ssh sekhmet.pa
bind @ screen -t Lab ssh lab
#bindkey -k k1 select 0
#bindkey -k k2 select 1
#bindkey -k k3 select 2
#bindkey -k k4 select 3
#bindkey -k k5 select 4
#bindkey -k k6 select 5
#bindkey -k k7 select 6
#bindkey -k k8 select 7
#bindkey -k k9 select 8
#bindkey -k k; select 9
# Écans à charger par défaut
#screen

135
.screenstart Normal file
View File

@ -0,0 +1,135 @@
# ===================================================
#
# Fichier de configuration de screen par Némunaire
#
# Dernière modification : 06/11/2010
#
# ===================================================
# Paramètres booléens
allpartial off
altscreen off
autodetach on
crlf off
debug off
defsilence off
defutf8 on
defwrap on
hardcopy_append off
ignorecase off
log off
startup_message off
vbell off
# Paramètres pour les terminaux
term screen-256color
termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
termcapinfo xterm* OL=10000
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~'
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
termcapinfo xterm ut
termcapinfo wy75-42 xo:hs@
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
# Paramètres entiers
defscrollback 2048
msgminwait 0
msgwait 5
silencewait 15
# Paramètres chemins d'accès/dossiers
#shell -$SHELL
shell bash
#shell zsh
# Paramètres textuels
#mot de passe pour rattacher
password SM4CUO61TsAFs
# ============================================
# Ligne CAPTION : au dessus de la hardstatus
# ============================================
#Affiche la liste des écrans
#caption always "%{= kw}%?%-Lw%?%{+b kw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?"
#caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#caption always "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%?%{wk}%=%{gk}%c"
#caption always "%{gk}[%H] %?%{wk}%-Lw%?%{yK}%n*%f%t%?(%u)%?%?%{wk}%+Lw%?%{wk} %-= %l %{gk}%c %{yk}%d.%M%y"
caption always "%{= kC}[%{C}%H%{c}]%{kw}[%= %{= kw}%?%-Lw%?%{r}(%{y}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{kw}]%l %{kg}%c %{ky}%d.%M%y"
# ============================================
# Ligne HARDSTATUS
# ===========================================
#hardstatus alwayslastline "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#hardstatus alwayslastline "%{+b kr}[ %H ] %{ky} Load: %l %-=%{kb} %c %d.%m.%Y"
#hardstatus alwayslastline "%{kg}[%H] %{kw} Charge : %l %{+b}%-=% %t %{ky}%d.%M%y"
hardstatus alwaysmessage
# Coloration
sorendition wk
# ==========================================
# Messages en tous genre
# ==========================================
activity "%{wr}Activite dans l'ecran $%n-%t a %c:%s~%{+b}%-=% %t %d.%M%y"
bell "%{wr}Avertissement dans l'ecran $%n-%t a %c:%s~%{+b}%-=% %t %{ky}%d.%M%y"
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
vbell_msg " *beep* "
# =========================================
# Bind !
# =========================================
bind s
bind ` select 0
bind F screen -t FTP ncftp
bind G screen -t DDG links www.duckduckgo.com
bind P paste .
bind ! screen -t sekhmet ssh sekhmet.pa
bind @ screen -t Lab ssh lab
#bindkey -k k1 select 0
#bindkey -k k2 select 1
#bindkey -k k3 select 2
#bindkey -k k4 select 3
#bindkey -k k5 select 4
#bindkey -k k6 select 5
#bindkey -k k7 select 6
#bindkey -k k8 select 7
#bindkey -k k9 select 8
#bindkey -k k; select 9
# Écans à charger par défaut
#screen -t Finch finch
screen -t Chat weechat-curses
screen -t News slrn
screen -t Mails mutt
screen -t ToDo /home/nemunaire/.ikog.py
#screen -t Chat screen -m -c /home/nemunaire/.screenchat
#screen -t RSS newsbeuter -r
#screen -t nemubot screen -rd nemubots
#screen -t Torrents /home/nemunaire/.transmission-remote-cli.py
screen

2
.signature Normal file
View File

@ -0,0 +1,2 @@
Pierre-Olivier "Némunaire" Mercier
Épita 2014

547
.slrnrc Normal file
View File

@ -0,0 +1,547 @@
% -*- slang -*-
%% This is a sample startup file for the slrn newsreader and meant as a
%% template for your personal startup file; it is not a full reference
%% of slrn's config options -- please see the reference manual for this.
%% The percent character is used for comments.
set spool_inn_root "/var/spool/news/slrnpull"
set spool_root "/var/spool/news/slrnpull/news"
set spool_nov_root "/var/spool/news/slrnpull/news"
set read_active 1
set use_slrnpull 1
set post_object "slrnpull"
set server_object "spool"
%
%% 1. Tell slrn about your identity (name, email address and such)
%
% The "From:" header will be generated from the following three variables.
% With the example settings, it would read "John Doe <john@doe.com>"
set username "mercie_d"
set hostname "epita.fr"
set realname "Nemunaire"
% Set this if you want replies to your articles to go to a address different
% from the one in "From:".
set replyto "Némunaire <nemunaire@pomail.fr>"
% The name of your signature file. If "", no signature is added.
set signature ".signature"
%
%% 2. Server specific settings
%
% Tell slrn which newsrc file it should use for which server.
% Note: This does *not* set the default server; you need to set the
% NNTPSERVER environment variable for this.
%server "news.doe.com" ".jnewsrc-doe"
% If a server requires authentication, add a nnrpaccess line for it.
% If you leave username and/or password empty, slrn will prompt for it.
%nnrpaccess "news.doe.com" "john" "secret"
% Some servers require authentication, but don't ask for it.
% To offer your authentication data "voluntarily", set this variable to 1.
%set force_authentication 0
% This can either be set to "nntp" (read online) or "spool" (use local spool)
%set server_object "nntp"
% This can be "nntp" (post directly to the server), "inews" (use external
% program for posting) or "slrnpull" (spool message for slrnpull to send).
%set post_object "nntp"
% Set this to zero if you want to leave Message-ID generation to your server
% or your system does not have a proper unique hostname.
%set generate_message_id 1
% If non-zero, slrn reads the active file on each startup. You might want to
% use this if your network connection is fast or the server has few groups.
%set read_active 0
% The following variables are only meaningful when using spool mode:
% Basic directory settings
%set spool_inn_root "/var/lib/news"
%set spool_root "/var/spool/news"
%set spool_nov_root "/var/spool/news/over.view"
% These are relative to spool_inn_root unless they start with "/".
%set spool_active_file "data/active"
%set spool_activetimes_file "data/active.times"
%set spool_newsgroups_file "data/newsgroups"
% This value is relative to the directories under spool_nov_root:
%set spool_nov_file ".overview"
% Whether to check for each article when reading an overview file (slower,
% but may save you from lots of "article not available" errors).
%set spool_check_up_on_nov 0
%
%% 3. Which external programs do you want to use?
%
% Note OS/2 and Win32 users:
% To separate directories you can either use a single '/' or
% double '\\'. Single backslashes are not supported. For example, use
% "C:\\home\\file.txt" or "C:/home/file.txt" but NOT "C:\home\file.txt"
% Set your favourite editor. Use %s for the file name and %d for the line
% where the cursor should be placed (usually at the beginning of the body).
%set editor_command "jed '%s' -g %d -tmp"
%set editor_command "vim -c %d '%s'"
% You can have separate commands for editing posts, mail, and score files.
%set mail_editor_command "jed '%s' -g %d -tmp --mail-mode"
%set post_editor_command "jed '%s' -g %d -tmp --mail-mode"
%set score_editor_command "jed '%s' -g %d -tmp --score-arrange-score"
% If non-zero, abort posting or email operation if the file was not modified
% by the editor.
%set abort_unmodified_edits 0
% In case we need metamail to display an article:
%set metamail_command "metamail"
% WWW browser to use. Xbrowser is used when the DISPLAY environment variable
% is set; non_Xbrowser otherwise.
%set non_Xbrowser "lynx '%s'"
%set Xbrowser "firefox '%s' &"
% Command to use for printing
% Note: On Win32, this variable defines the name of the printer queue to use.
%set printer_name "lpr -Plp"
% In case you want to use another mailer than sendmail. Be sure that it
% implements the same interface, though!
%set sendmail_command "/usr/lib/sendmail -oi -t -oem -odb"
% Set this to one if you want the "From:" header in e-mails to be generated
% from the hostname / username / realname variable.
% Note: Not all MTAs are configured to allow this.
%set generate_email_from 0
%
%% 4. Directory / file names
%
% Note: All filenames in this section are relative to HOME unless they start
% with a '/'.
% Filename where articles / email you sent are archived.
% Note: If these are unset, slrn does not keep a copy of outgoing messages.
%set save_posts "News/My_Posts"
%set save_replies "News/My_Replies"
% File where failed posts are appended. Use "" to disable saving.
%set failed_posts_file "dead.letter"
% Name of score file.
%set scorefile "News/Score"
% Name of directory where decoded files are placed.
%set decode_directory "News"
% Directory where all other files are saved.
%set save_directory "News"
% Directory where postponed articles are placed. Please make sure it exists.
%set postpone_directory "News/postponed"
% Whether to put temporary files for postings, followups and replies in the
% directory specified by the TMPDIR environment variable or /tmp.
%set use_tmpdir 0
%
%% 5. Attribution lines / custom headers
%
% This sets the attribution lines for follow-ups and replies. The following
% format specifiers are recognized:
% %d:date, %D:date (formatted), %r:real name, %R:first name,
% %f:email address, %s:subject, %m:msgid, %n:newsgroups, %%: percent
%set followup_string "On %D, %r <%f> wrote:"
%set reply_string "In %n, you wrote:"
% Custom headers to add to *new* posts
%set custom_headers "Mail-Copies-To: nobody"
% Custom headers for followup/reply/supersedes. These can use format
% specifiers as in the 'followup_string' variable.
%set followup_custom_headers "Mail-Copies-To: nobody"
%set reply_custom_headers "X-newsgroup: %n\nX-realname: %r"
%set supersedes_custom_headers "X-Superseded-Date: %d"
% This is inserted when sending email CCs of your postings.
%set cc_post_string "[This message has also been posted to %n.]"
%
%% 6. Character mapping / MIME support
%
% Character set used for the display or terminal; valid values include:
% utf8, iso-8859-1, ibm850, ibm852, koi8,
%charset display utf8
% the character set used for outgoing articles
%charset outgoing "utf8"
% If non-zero, call metamail for MIME formats slrn cannot handle.
%set use_metamail 1
%
%% 7. Some preferences for the header window (see the manual for more)
%
% These sorting methods are available:
% If 0, do not sort. If 1, perform threading. If 2, sort by subject.
% If 3, thread then sort result by subject.
% If 4, sort by score. If 5, thread then sort by score.
% If 6, sort by score and subject.
% If 7, thread, then sort by score and subject.
% If 8, sort by date with most recent first.
% If 9, thread, then sort by date with most recent first.
% If 10, sort by date with most recent last.
% If 11, thread then sort by date with most recent last.
% If 12, use the value of the custom_sort_order variable.
set sorting_method 11
% If non-zero, a header with a new subject will start a new thread.
%set new_subject_breaks_threads 0
%
%% 8. Some preferences for the article pager (see the manual for more)
%
% Which headers do you want to see by default?
% You can also match all headers starting with a given string and exclude
% specific headers by preceding them with "!" (e.g. use "X-,!X-Trace:" to
% display all the "X-"headers except "X-Trace:").
%visible_headers "From:,Subject:,Newsgroups:,Followup-To:,Reply-To:"
% If non-zero, #v+ and #v- will be interpreted as markers of verbatim lines.
%set process_verbatim_marks 1
% If non-zero, hide #v+/#v- verbatim marks.
%set hide_verbatim_marks 0
% If non-zero, hide signature in articles.
%set hide_signature 0
% If non-zero, hide PGP signature in articles.
%set hide_pgpsignature 0
% Set the starting score for an article that has headers that are invalid,
% e.g., an invalid From header.
%set invalid_header_score -1000
%
%% 9. Display / color settings
%
% If non-zero, slrn will draw the thread tree using simple ascii characters
%set simulate_graphic_chars 0
% Enable xterm/win32 mouse support: 1 to enable, 0 to disable
%set mouse 0
% Draw cursor bar ala tin instead of slrn "->" cursor?
%set display_cursor_bar 0
% Set to 1 to have slrn scroll by full page instead of by line.
%set scroll_by_page 0
% Should color be used to indicate the score of an article?
% (0) scores do not influence colors (1) scores are colored by their value
% (2) subjects are colored by score (3) both are colored by score
set color_by_score 3
% If non-zero, the subjects of unread articles are highlighted
set highlight_unread_subjects 1
% If non-zero, URLs are highlighted.
%set highlight_urls 1
% Enables blinking in monochrome mode and allows bright backgrounds in some
% color terminals:
%set use_blink 1
% This color object is only used when highlight_unread_subjects is set to 2
% (see the reference manual for details):
color unread_subject "white" "black" "bold"
mono unread_subject "bold"
% These settings are used for color terminals:
color article "lightgray" "black"
color author "magenta" "black"
color boldtext "brightblue" "black" "bold"
color box "black" "white"
color cursor "brightgreen" "black"
color date "lightgray" "black"
color description "lightgray" "black"
color error "red" "black" "blink"
color frame "yellow" "blue"
color from_myself "brightmagenta" "black" "bold"
color group "lightgray" "black" "bold"
color grouplens_display "lightgray" "black"
color header_name "green" "black" "bold"
color header_number "green" "black"
color headers "brightcyan" "black"
color neg_score "green" "black"
color pos_score "blue" "black"
color high_score "red" "black" "bold"
color italicstext "magenta" "black" "bold"
color menu "yellow" "blue"
color menu_press "lightgray" "yellow"
color message "lightgray" "black"
color normal "lightgray" "black"
color pgpsignature "lightgray" "black"
color quotes "red" "black"
color quotes1 "magenta" "black"
color quotes2 "brown" "black"
color quotes3 "brown" "black"
color quotes4 "brown" "black"
color quotes5 "brown" "black"
color quotes6 "brown" "black"
color quotes7 "brown" "black"
color response_char "green" "black" "bold"
color signature "red" "black"
color selection "yellow" "blue" "bold"
color status "yellow" "blue"
color subject "lightgray" "black"
color thread_number "lightgray" "black" "bold"
color tilde "green" "black" "bold"
color tree "red" "black" "bold"
color underlinetext "cyan" "black" "underline"
color url "white" "black" "bold"
color verbatim "green" "black"
% These attributes are for terminals that cannot display color:
mono article "none"
mono author "none"
mono boldtext "bold"
mono cursor "bold" "reverse"
mono date "none"
mono description "none"
mono error "blink"
mono frame "reverse"
mono from_myself "bold"
mono group "bold"
mono grouplens_display "none"
mono header_name "bold"
mono header_number "none"
mono headers "none"
mono high_score "bold"
mono italicstext "bold"
mono menu "reverse"
mono menu_press "none"
mono neg_score "none"
mono normal "none"
mono pgpsignature "none"
mono pos_score "reverse"
mono quotes "none"
mono quotes1 "none"
mono quotes2 "none"
mono quotes3 "none"
mono quotes4 "none"
mono quotes5 "none"
mono quotes6 "none"
mono quotes7 "none"
mono response_char "bold"
mono selection "bold"
mono signature "none"
mono status "reverse"
mono subject "none"
mono thread_number "bold"
mono tilde "bold"
mono tree "none"
mono underlinetext "underline"
mono url "bold"
mono verbatim "none"
%
%% 10. Group mode key bindings
%
% Cursor movement:
setkey group line_down "<Down>" % Go to the next group
setkey group line_down "^N"
setkey group line_up "<Up>" % Go to the previous group
setkey group line_up "^P"
setkey group page_down "^V" % Scroll to the next page
setkey group page_down "<PageDown>"
setkey group page_down "^D"
setkey group page_up "<Esc>V" % Scroll to the previous page
setkey group page_up "<PageUp>"
setkey group page_up "^U"
setkey group bob "<Esc><" % Go to the bottom of the list
setkey group bob "^K<Up>"
setkey group eob "<Esc>>" % Go to the top of the list
setkey group eob "^K<Down>"
setkey group group_search_backward "\\"% Group keyword search backward
setkey group group_search_forward "/" % Group keyword search forward
% Actions:
setkey group select_group "<Space>" % Enter the current newsgroup
setkey group select_group "<Return>"
setkey group post "P" % Post an article
setkey group post_postponed "<Esc>P" % Post or edit a postponed article
setkey group refresh_groups "G" % Get new news from server
setkey group toggle_scoring "K" % Select scoring mode
setkey group repeat_last_key "." % Repeat last key sequence
setkey group evaluate_cmd "^X<Esc>" % Read line and interpret it as S-Lang
setkey group suspend "^Z" % Suspend slrn
setkey group quit "Q" % Quit slrn
% Group management:
setkey group catchup "C" % Mark all articles as read
setkey group uncatchup "<Esc>u" % Mark all articles as unread
setkey group add_group "a" % Add a new newsgroup
setkey group subscribe "S" % Subscribe to the current newsgroup
setkey group unsubscribe "U" % Unsubscribe from the current newsgroup
setkey group move_group "m" % Move newsgroup to a different location
setkey group transpose_groups "^X^T" % Transpose position of groups
setkey group save_newsrc "X" % Force a save of the newsrc file
% Display:
setkey group toggle_group_formats "<Esc>A" % Toggle group display formats
setkey group toggle_hidden "l" % Toggle display of hidden groups
setkey group toggle_list_all "L" % Toggle listing of unsubscribed groups
setkey group redraw "^L" % Redraw the screen
setkey group redraw "^R"
setkey group help "?" % Display a help screen
%
%% 11. Article mode key bindings
%
% General movement:
setkey article next "n" % next unread article
setkey article previous "p" % previous unread article
setkey article skip_to_next_group "N" % go to the next group
setkey article skip_to_next_group "<Esc><Right>"
setkey article skip_to_previous_group "<Esc><Left>" % go to the previous group
setkey article next_high_score "!" % next article with high score
setkey article next_same_subject "=" % next article with same subject
setkey article goto_last_read "L" % go to the last read article
% Actions:
setkey article post "P" % Post a new article
setkey article post_postponed "<Esc>P" % Post/edit a postponed article
setkey article followup "f" % Post a followup
setkey article reply "r" % Reply to poster
setkey article forward "F" % Forward posting via mail
setkey article supersede "<Esc>^S" % Supersede article
setkey article cancel "<Esc>^C" % Cancel article
setkey article save "O" % Save article
setkey article pipe "|" % Pipe article
setkey article print "y" % Print article
setkey article decode ":" % Decode article
setkey article suspend "^Z" % Suspend slrn
setkey article quit "q" % Quit slrn
setkey article fast_quit "Q" % Quit slrn immediately
% Moving in the article pager:
setkey article article_line_down "<Esc><Down>" % Scroll article down one line
setkey article article_line_down "<Return>"
setkey article article_line_up "<Esc><Up>" % Scroll article up one line
setkey article article_page_down "<Space>" % Scroll article down one page
setkey article article_page_up "<Backspace>" % Scroll article up one page
setkey article article_page_up "b" % Scroll article up one page
setkey article article_eob ">" % Move to the end of the article
setkey article article_bob "<" % Move to the beginning
setkey article article_left "<Left>" % Pan article to the left
setkey article article_right "<Right>" % Pan article to the right
setkey article article_search "/" % Search forward in the article
setkey article skip_quotes "<Tab>" % Skip beyond quoted text
setkey article forward_digest "g" % Skip to next digest
% Moving in the header display:
setkey article header_line_down "<Down>" % Move to next article
setkey article header_line_down "^N"
setkey article header_line_up "<Up>" % Move to previous article
setkey article header_line_up "^P"
setkey article header_page_down "^V" % Scroll down one page
setkey article header_page_down "<PageDown>"
setkey article header_page_down "^D"
setkey article header_page_up "<Esc>V" % Scroll up one page
setkey article header_page_up "<PageUp>"
setkey article header_page_up "^U"
setkey article header_eob "<Esc>>" % Go to last article in group
setkey article header_bob "<Esc><" % Go to first article in group
setkey article goto_article "j" % Move to article (number)
setkey article author_search_forward "a" % Author search forward
setkey article author_search_backward "A" % Author search backward
setkey article subject_search_forward "s" % Subject search forward
setkey article subject_search_backward "S" % Subject search backward
% Marking as read/unread:
setkey article delete "d" % Mark article as read
setkey article undelete "u" % Mark article as unread
setkey article delete_thread "<Esc>d" % Mark (Sub-)Thread as read
setkey article catchup_all "c" % Mark all articles as read
setkey article catchup_all "<Esc>c"
setkey article catchup "<Esc>C" % Catchup (up to this article)
setkey article uncatchup_all "<Esc>u" % Mark all articles as unread
setkey article uncatchup "<Esc>U" % Uncatchup (up to this article)
setkey article expunge "x" % Remove all read articles
% Display properties:
setkey article toggle_headers "t" % Full headers (on/off)
setkey article toggle_rot13 "<Esc>R" % Toggle ROT-13 decryption
setkey article toggle_quotes "T" % Display quoted lines (on/off)
setkey article toggle_signature "\\" % Show signature (on/off)
setkey article wrap_article "W" % Wrap long lines (on/off)
setkey article show_spoilers "<Esc>?" % Reveal spoilers (on/off)
setkey article toggle_pgpsignature "]" % Show PGP signature (on/off)
setkey article toggle_verbatim_marks "[" % Show verbatim marks (on/off)
setkey article enlarge_article_window "^" % Enlarge the article window
setkey article shrink_article_window "^^" % Shrink the article window
setkey article zoom_article_window "z" % Maximize/Unmaximize article
setkey article hide_article "h" % Hide/Show the article window
setkey article browse_url "U" % Search for URL and follow it
setkey article toggle_sort "<Esc>S" % Select threading method
setkey article toggle_collapse_threads "<Esc>t" % Collapse/Uncollapse thread
setkey article toggle_header_formats "<Esc>a" % Toggle header display formats
setkey article redraw "^L" % Redraw screen
setkey article redraw "^R" % Redraw screen
setkey article help "?" % Display help screen
% Miscellaneous actions:
setkey article create_score "K" % Create a scorefile entry
setkey article view_scores "v" % Show which rules matched
setkey article locate_article "<Esc>l" % Locate article by Message-ID
setkey article get_children_headers "<Esc>^P" % Find all children
setkey article get_parent_header "<Esc>p" % Reconstruct thread
setkey article mark_spot ";" % Mark current article position
setkey article exchange_mark "," % Return to marked article
setkey article tag_header "#" % Numerically tag article
setkey article untag_headers "<Esc>#" % Remove all numerical tags
setkey article toggle_header_tag "*" % Set/remove header tag
setkey article repeat_last_key "." % Repeat last key sequence
setkey article grouplens_rate_article "0" % Rate article with grouplens
setkey article evaluate_cmd "^X<Esc>" % Interpret line as S-Lang
%
%% Command prompt key bindings
%
setkey readline bol "^A" % Beginning of line
setkey readline eol "^E" % End of line
setkey readline right "<Right>" % Move right
setkey readline left "<Left>" % Move left
setkey readline bdel "^H" % Delete backward
setkey readline bdel "^?" % Delete Backward
setkey readline del "^D" % Delete Foreword
setkey readline delbol "^U" % Delete to Beginning of line
setkey readline delbow "^W" % Delete to Beginning of word
setkey readline deleol "^K" % Delete to End of line
setkey readline trim "<Esc>/" % Trim whitespace
setkey readline quoted_insert "^Q" % Quoted insert
setkey readline complete "<Tab>" % Complete filename
setkey readline cycle " " % Cycle among filenames

10
.speak Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# on teste si la lecture est en cours, pour l'arrêter le cas échéant
if [ ! -z $(ps -A | grep espeak | awk '{ print $1 }' ) ]
then
# kill $(ps -A | grep espeak | awk '{ print $1 }' )
killall espeak
else
xclip -o | espeak -v $1 | true
fi

63
.ssh/config Normal file
View File

@ -0,0 +1,63 @@
Host *
ForwardAgent yes
Host epita
HostName ssh.epita.fr
User mercie_d
Host acu
HostName acu.epita.fr
User mercie_d
Host lab
ForwardX11 yes
ForwardX11Trusted yes
HostName acu.epita.fr
IdentityFile ~/.ssh/rack
User mercie_d
Host fonera
HostName ptah.p0m.fr
Port 6224
User root
IdentityFile ~/.ssh/fonera
Compression yes
CompressionLevel 9
LocalForward 2774 localhost:2774
LocalForward 2775 localhost:2775
LocalForward 2776 localhost:2776
LocalForward 2777 localhost:2777
LocalForward 2778 localhost:2778
LocalForward 3129 localhost:3128
LocalForward 3389 192.168.1.14:3389
LocalForward 6667 irc.supelec.rezosup.org:6667
LocalForward 8081 localhost:80
LocalForward 8082 192.168.1.1:80
LocalForward 8083 192.168.1.10:8080
LocalForward 9092 localhost:9091
Host khonsou
ForwardX11 yes
ForwardX11Trusted yes
Host GConfs
HostName web-modules.net
# Port 42
# HostName gconfs.org
# Port 42000
User gconfs
Host alwaysdata
HostName ssh.alwaysdata.com
User nemunaire
Host clement
HostName ssh.alwaysdata.com
User clement280211
Host umanstudio
HostName server.umanstudio.net
User mercie_d
Host otak
HostName 78.247.199.216
User nemunaire

22
.xinitrc Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
#export XDG_MENU_PREFIX=gnome-
#gnome-appearance-properties &
#setxkbmap -option terminate:ctrl_alt_bksp
#setxkbmap us intl
xset +dpms
if command numlockx 2> /dev/null
then
numlockx on
fi
urxvtd -q -f -o
#gnome-settings-daemon
#exec ck-launch-session enlightenment_start
exec enlightenment_start
#exec fluxbox

79
.zshrc Normal file
View File

@ -0,0 +1,79 @@
#!/bin/zsh
# Initialize colors.
autoload -U colors
colors
# Allow for functions in the prompt.
setopt PROMPT_SUBST
# completion
autoload -U compinit
compinit
# completion style improvements
zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
#zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'
# correction
setopt correctall
# prompt
autoload -U promptinit
promptinit
prompt gentoo
export HISTSIZE=2048
# ignoring of duplicates
setopt hist_ignore_all_dups
# preventing particular entry from being recorded
setopt hist_ignore_space
# extended globbing
setopt extendedglob
PS1="[%*] %B%n@%F{green}%m%k%f:%B%F{blue}%1~%b%f%k%# "
autoload -Uz vcs_info
zstyle ':vcs_info:*' stagedstr '%F{28}✔'
zstyle ':vcs_info:*' unstagedstr '%F{11}✚'
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{11}%r'
zstyle ':vcs_info:*' enable git hg svn
precmd () {
if [[ -z $(git ls-files --other --exclude-standard 2> /dev/null) ]] {
zstyle ':vcs_info:*' formats ' [%F{green}%b%c%u%F{blue}]'
} else {
zstyle ':vcs_info:*' formats ' [%F{green}%b%c%u%F{red}✖%F{blue}]'
}
vcs_info
}
RPROMPT='%F{blue}${vcs_info_msg_0_}%F{blue} %(?/%F{blue}/%F{red})%{$reset_color%}'
bindkey "\e[1~" beginning-of-line # Home
bindkey "\e[4~" end-of-line # End
bindkey "\e[5~" beginning-of-history # PageUp
bindkey "\e[6~" end-of-history # PageDown
bindkey "\e[2~" quoted-insert # Ins
bindkey "\e[3~" delete-char # Del
bindkey "\e[5C" forward-word
bindkey "\eOc" emacs-forward-word
bindkey "\e[5D" backward-word
bindkey "\eOd" emacs-backward-word
bindkey "\e\e[C" forward-word
bindkey "\e\e[D" backward-word
bindkey "\e[Z" reverse-menu-complete # Shift+Tab
# for rxvt
bindkey "\e[7~" beginning-of-line # Home
bindkey "\e[8~" end-of-line # End
# for non RH/Debian xterm, can't hurt for RH/Debian xterm
bindkey "\eOH" beginning-of-line
bindkey "\eOF" end-of-line
# for freebsd console
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line

38
install.sh Executable file
View File

@ -0,0 +1,38 @@
#!/bin/sh
if [ ${0:0:1} == "/" ]
then
SOURCE=$(dirname $0)/
else
SOURCE=$(dirname `pwd`/$0)/
fi
DESTINATION=~
cd $SOURCE
git submodule init
git submodule update
#BIN="cp -r"
BIN="ln -s"
TMPERR=`mktemp`
for f in `ls -a $SOURCE`
do
if [ "$f" != "." ] && [ "$f" != ".." ] &&
[ "$f" != ".gitmodules" ] && [ "$f" != "install.sh" ]
then
echo -ne "Installing $f ...\t"
if [ ${#f} -lt 9 ]; then echo -en "\t"; fi
if [ -L $DESTINATION/$f ]
then
echo -e "Already installed"
elif [ -e $DESTINATION/$f ]
then
echo -e "Already existing $f"
else
$BIN $SOURCE/$f $DESTINATION/$f >&2 2> $TMPERR
if [ $? == 0 ]; then echo -e "done"; else echo -e "fail"; fi
cat $TMPERR
fi
fi
done