bin/mdw-build: Hack the Debian version number when doing test builds.
[profile] / dot / screenrc
CommitLineData
2ccc0259
MW
1### -*-conf-*-
2###
3### Screen configuration.
4
5## Unusual escape character. C-a interferes with Emacs and Bash.
f617db13 6escape ^zz
2ccc0259
MW
7
8## Make real beeping sounds.
f617db13 9vbell off
2ccc0259
MW
10
11## Maintain a decent amount of scrool.
f617db13 12defscrollback 1000
2ccc0259
MW
13
14## Do alternate-screen switching as requested. (Screen always uses its
15## host's alternate-screen switching unless nobbled.)
16altscreen on
17
22837450
MW
18## Don't try to do flow control using XON/XOFF characters. It messes stuff
19## up and is generally annoying.
20defflow off
21
2ccc0259 22## Force UTF-8 now. Screen can cope with sorting out the mess.
9f0b54fb
MW
23defencoding utf8
24setenv LC_CTYPE en_GB.utf8
f7cc3bf8 25setenv LESSCHARSET utf-8
2ccc0259
MW
26
27## Awful N900 hacking. The N900's keymapping is hopelessly broken: the
28## return key is bound to the KP_Enter keysym (and this can't be fixed
29## without breaking the desktop). Mostly, stuff is fine except that when
30## terminal clients switch to application mode, they get the `fe' sequence
31## ^[OM instead of ^M, which they often don't deal with well. Trap this
32## sequence here, and map it back to ^M.
33bindkey -d -a -k fe stuff ^M
34
35## Copyright message is now boring.
36startup_message off
f0ef025e
MW
37
38## Caption and status lines.
39shelltitle ]|bash:
40caption splitonly "%{=br Cb}%?%F%{Yr}%?%3n %t%=%? [%h]%?"
41hardstatus alwayslastline "%{=r Cb}%-Lw%{+b Y}%n%F %t%{-}%+Lw%=%H %Y-%m-%d %c:%s"