Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I use the builtin prompts that come with zsh. In particular, this setup works well for me:
    autoload -U promptinit ; promptinit
    prompt bart
    • Oh, no, adam1 for me all the way. :) If you need the time and date, just drop this into your .screenrc: (You use screen, right?)
      hardstatus alwayslastline "%-w%{.wB}%n %t%{-}%+w %=%{.w} %H: %l %{-}%d/%m %c"
      • Don’t use hardstatus, use caption.

        hardstatus can be affected using escape sequences from within a screen window (so you don’t want it as the bottom line), but it can passed through to the title of an xterm if you set your .screenrc up correctly (so you want something else to set up the bottom line).

        Try this:

        caption always '%-w%{.wB}%n %t%{-}%+w %=%{.w} %H: %l %{-}%d/%m %c'
        termcapinfo xterm*|rxvt* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' # pass hardstatus thru to xterm