dot/screenrc: Screen fixing.
[profile] / dot / screenrc
1 ### -*-conf-*-
2 ###
3 ### Screen configuration.
4
5 ## Unusual escape character. C-a interferes with Emacs and Bash.
6 escape ^zz
7
8 ## Make real beeping sounds.
9 vbell off
10
11 ## Maintain a decent amount of scrool.
12 defscrollback 1000
13
14 ## Do alternate-screen switching as requested. (Screen always uses its
15 ## host's alternate-screen switching unless nobbled.)
16 altscreen on
17
18 ## Force UTF-8 now. Screen can cope with sorting out the mess.
19 defencoding utf8
20 setenv LC_CTYPE en_GB.utf8
21 setenv LESSCHARSET utf-8
22
23 ## Awful N900 hacking. The N900's keymapping is hopelessly broken: the
24 ## return key is bound to the KP_Enter keysym (and this can't be fixed
25 ## without breaking the desktop). Mostly, stuff is fine except that when
26 ## terminal clients switch to application mode, they get the `fe' sequence
27 ## ^[OM instead of ^M, which they often don't deal with well. Trap this
28 ## sequence here, and map it back to ^M.
29 bindkey -d -a -k fe stuff ^M
30
31 ## Copyright message is now boring.
32 startup_message off