chiark / gitweb /
dot/ipython-config.py: Hedge against the necessary modules not being there.
[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 13
f8a53502
MW
14## Snooping.
15defmonitor on
16defsilence on
17activity ""
18bell_msg ""
19
2ccc0259
MW
20## Do alternate-screen switching as requested. (Screen always uses its
21## host's alternate-screen switching unless nobbled.)
22altscreen on
23
22837450
MW
24## Don't try to do flow control using XON/XOFF characters. It messes stuff
25## up and is generally annoying.
26defflow off
27
2ccc0259 28## Force UTF-8 now. Screen can cope with sorting out the mess.
9f0b54fb
MW
29defencoding utf8
30setenv LC_CTYPE en_GB.utf8
f7cc3bf8 31setenv LESSCHARSET utf-8
2ccc0259
MW
32
33## Awful N900 hacking. The N900's keymapping is hopelessly broken: the
34## return key is bound to the KP_Enter keysym (and this can't be fixed
35## without breaking the desktop). Mostly, stuff is fine except that when
36## terminal clients switch to application mode, they get the `fe' sequence
37## ^[OM instead of ^M, which they often don't deal with well. Trap this
38## sequence here, and map it back to ^M.
39bindkey -d -a -k fe stuff ^M
40
41## Copyright message is now boring.
42startup_message off
f0ef025e
MW
43
44## Caption and status lines.
f0ef025e 45caption splitonly "%{=br Cb}%?%F%{Yr}%?%3n %t%=%? [%h]%?"
f8a53502
MW
46hardstatus alwayslastline "%{= bC}%-Lw%{+b .Y}%n %t%{-}%+Lw%=%?%E* %?%?%P[] %?%H %Y-%m-%d %c:%s"
47rendition monitor + .R
48rendition bell +b .R
49rendition silence + .g
80a93752
MW
50
51## Arrange for windows whose processes fail to hang around so I can see what
52## happened to them. The manual says I should use `defzombie' here, but
53## screen doesn't seem to understand that.
54zombie qr onerror