diff --git a/dotfiles/screenrc b/dotfiles/screenrc index e25a1f8..eed7ab5 100644 --- a/dotfiles/screenrc +++ b/dotfiles/screenrc @@ -1,19 +1,11 @@ -escape ^]a - -#bell_msg '^GBell in window %n' - -#width 80 -#height 24 -defscrollback 1000000 - -#shell -/bin/bash - -#screen -t editor -#screen -t shell -#screen -t other -#select 1 -#select 0 - -startup_message off +vbell off +escape `` +autodetach on +altscreen on +defflow auto +defscrollback 5000 +screen -t bash 1 +#change the hardstatus settings to give an window list at the bottom of the +#screen, with the time and date and with the current window highlighted hardstatus alwayslastline -hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR} (%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}] %{=b C}[ %m/%d %c ]%{W}' +hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' diff --git a/z_myoldsettings.conf b/z_myoldsettings.conf new file mode 100644 index 0000000..d58bd18 --- /dev/null +++ b/z_myoldsettings.conf @@ -0,0 +1,22 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +# if running bash +#if [ -n "$BASH_VERSION" ]; then + ## include .bashrc if it exists + #if [ -f "$HOME/.bashrc" ]; then + #. "$HOME/.bashrc" + #fi +#fi + +## set PATH so it includes user's private bin if it exists +#if [ -d "$HOME/bin" ] ; then + #PATH="$HOME/bin:$PATH" +#fi