Good French punctuation using GNU screen

Index, feed.

[ Date | 2008-12-10 19:42 -0500 ]
[ Mod. | 2009-01-20 01:40 -0500 ]

Recently, I enriched my .screenrc with a few key bindings that make it a lot easier to follow the rules for proper French typography:

## redefining Ctrl-space would shadow Emacs' binding; that would be bad.
# bindkey ^  digraph '  '
bindkey ^ ^  digraph '  '
bindkey «» eval "digraph '<<'" "digraph '  '" "digraph '  '" \
    "digraph '>>'" "stuff '^[OD'" "stuff '^[OD'"
bindkey ?? eval "digraph '  '" "stuff '?'"
bindkey !! eval "digraph '  '" "stuff '!'"
bindkey :: eval "digraph '  '" "stuff ':'"
bindkey ;; eval "digraph '  '" "stuff ';'"
bindkey HH eval "digraph '  '" "stuff 'h'" "digraph '  '"

(Where ^[ is the actual escape character, and the line split on a backslash is actually a single line.)

With these rules:

The only annoying part is that being able to type !! and :: can be useful in some programming languages: one must type these combinations slowly to have them displayed literally.

www.kurokatta.org


www.kurokatta.org

Quick links:

Photos
Montréal
Oregon
Paris
Camp info 2007
Camp Faécum 2007
--more--
Doc
Jussieu
Japanese adjectives
Muttrc
Bcc
Montréal
Couleurs LTP
French English words
Petites arnaques
--more--
Hacks
Statmail
DSC-W17 patch
Scarab: dictionnaire de Scrabble
Sigpue
Recipes
Omelette soufflée au sirop d'érable
Camembert fondu au sirop d'érable
La Mona de Tata Zineb
Cake aux bananes, au beurre de cacahuètes et aux pépites de chocolat
*