--- /dev/null
+# Replace default CTRL+a with CTRL+j
+escape ^Jj
+
+# By default, the first screen window is 0.
+# Change it to be 1:
+bind c screen 1
+bind ^c screen 1
+bind 0 select 10
+screen 1
+
+# Bind F11 and F12 (NOT F1 and F2) to previous and next screen window
+bindkey -k F1 prev
+bindkey -k F2 next
+
+# Turn off the welcome message
+startup_message off
+
+# Disable visual bell
+vbell off
+
+# Set scrollback buffer to 10000
+defscrollback 10000
+
+# Customize the status line
+hardstatus alwayslastline
+hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'
+
+# Use X scrolling mechanism
+# The scroll buffer of GNU Screen can be accessed with Ctrl+a [. However, this
+# is very inconvenient. To use the scroll bar of e.g. xterm or Konsole:
+termcapinfo xterm* ti@:te@
--- /dev/null
+FILESEXTRAPATHS:prepend:hvmpd := "${THISDIR}/${PN}:"
+
+SRC_URI:append:hvmpd = " \
+ file://user-screenrc \
+"
+
+do_install:append:hvmpd() {
+ install -d ${D}${ROOT_HOME}
+ install -m 644 ${WORKDIR}/user-screenrc ${D}${ROOT_HOME}/.screenrc
+}
+
+FILES:${PN}:append:hvmpd = "\
+ ${ROOT_HOME}/.screenrc \
+"