GNU Screen statusbar on top

I was wondering if I could move the "statusbar" i screen to be at the top of the terminal? Instead of having it at the bottom. I mean there are only two useful placements of this statusbar. It feels like one should be able to move it...
But from what I've come across so far it doesn't look promising. The following mailing-list post is the closest I've got to an answer (not good enough):
http://www.mail-archive.com/screen-user … 00384.html
Anyone?
(As a side note: The reason i want the screen statusbar (which shows the windows as well as the current active window) at the top is because it makes more sense in my setup. My wm have it's list of applications at the top of the screen/monitor/display/whatever. Firefox have it's tabs at the top of its window, and so does vim (and probably more applications). I figured out that the "navigation system" is more visually organized if all applications follows the same "positioning-convention". Consider the following hierachy finally leading to a tab in vim: X application (terminal with screen) > Screen window (vim) > Tab in vim. Everything is aligned in a logical/hirachical order close together at the top region of my computer screen. I hope you get the picture.)

Hmm... I think it may be working as it should... But it's not what i expected. The status messages from screen aka. hardstatus will end up on top of the terminal.
To use the correct screen terminology it is the "caption" line i want at the top. I.e. the bar with my screen windows listed.
Edit: As a side note I can add that you can't have the hardstatus always visible at the top. Only messages (that will be overlayed) can be shown. For a always visible hardstatus line the "alwayslastline" option is to be used and there is no way to make it static at the top of the terminal that I know of.
Last edited by rubaka (2009-09-10 23:35:39)

Similar Messages

  • Conky inside GNU/Screen session

    hi! i was looking around but found nothing similar to what i want...
    i was searching for a possibility of use conky INSIDE a terminal instead of the root window (aka "desktop") because i barely see my wallpaper, it's always covered with urxvtc sessions in dwm, so i have a detailed bottom bar inside dwm bottom bar, but i like to trim it to say audio volume + clock and have a conky or another similar program inside a gnu/screen "tab" showing my system activity, i surely want disk I/O usage and free/used space for example
    the thing with conky-cli is that it behaves like this: (not cleaning the screen with every refresh)
    [aleyscha@aleyscha 39 ~]$ conky
    5d 12h/12C | 12%/36.0C/2/140 | 552/415 | /sdb1:12G /sdd1:60G /cdrom:n/a | 90% | 0k/0k | 0/0 | 20:22 07/10/2008
    5d 12h/12C | 20%/36.0C/2/140 | 552/415 | /sdb1:12G /sdd1:60G /cdrom:n/a | 90% | 16k/7k | 0/0 | 20:22 07/10/2008
    5d 12h/12C | 11%/36.0C/1/140 | 552/415 | /sdb1:12G /sdd1:60G /cdrom:n/a | 90% | 35k/14k | 0/0 | 20:22 07/10/2008
    5d 12h/12C | 12%/36.0C/3/140 | 552/415 | /sdb1:12G /sdd1:60G /cdrom:n/a | 90% | 39k/14k | 0/0 | 20:22 07/10/2008
    ^C5d 12h/12C | 16%/36.0C/1/140 | 552/415 | /sdb1:12G /sdd1:60G /cdrom:n/a | 90% | 39k/14k | 0/0 | 20:22 07/10/2008
    Conky: received SIGINT or SIGTERM to terminate. bye!
    [aleyscha@aleyscha 40 ~]$

    LOL, DONE!!
    ${execp clear} was the answer
    here's my conky(cli) rc file (needs work... i'll stole some from your conky configs and screenshots thread, huaahahahaha)
    background no
    out_to_console yes
    update_interval 2.0
    total_run_times 0
    uppercase no
    TEXT
    ${execp clear}
    ${time %l:%M:%p}
    Uptime: $uptime
    CPU: ${cpu}% ${cpubar 5,85} Disk I/O: ${diskio}
    RAM Usage: $mem/$memmax - $memperc%
    Swap Usage: $swap/$swapmax - $swapperc%
    Net Down: ${downspeed eth0} k/s Net Up: ${upspeed eth0} k/s
    File systems:
    / ${fs_used /}/${fs_size /}${alignr}${fs_bar 5,120 /}
    /home ${fs_used /home}/${fs_size /home}${alignr}${fs_bar 5,120 /home}
    /sda1 ${fs_used /sda1}/${fs_size /sda1}${alignr}${fs_bar 5,120 /sda1}
    /sda6 ${fs_used /sda6}/${fs_size /sda6}${alignr}${fs_bar 5,120 /sda6}
    /downloads ${fs_used /downloads}/${fs_size /downloads}${alignr}${fs_bar 5,120 /downloads}
    /sdb5 ${fs_used /sdb5}/${fs_size /sdb5}${alignr}${fs_bar 5,120 /sdb5}
    /sdc1 ${fs_used /sdc1}/${fs_size /sdc1}${alignr}${fs_bar 5,120 /sdc1}
    /sdd1 ${fs_used /sdd1}/${fs_size /sdd1}${alignr}${fs_bar 5,120 /sdd1}
    Top Processes:
    Name PID CPU% MEM%
    ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    Mem usage
    ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

  • I just downloaded iOS 7, and on my home screen at the top the battery, time and service isn't showing up. How do I fix that

    I just downloaded iOS 7, and on my home screen at the top the battery, time and service isn't showing up. How do I fix that

    Hi Michellem_14,
    Have you reset or restarted your iPhone since the update?
    Hold down the home button and the power button until you see an Apple logo
    Release both buttons and the iPhone will restart.

  • Urxvt, xterm, vim, and gnu screen.

    To make this simple: all i want is 256 color support in one terminal, that will give 256 color support in vim, gnu screen, and not screw up shells i ssh into.    If I could get this working in xterm alone consider this solved.
    The more I try to fix my problem it seems the more complicated it gets.  What I want, I thought was simple:
    Now xterm seems to be the most workable solution, I guess I can give up on having clickable links, so that can go on the back burner.  But these are the problems i'm having.
    Here's the problem point by point:
    Urxvt
    $ echo $TERM
    xterm-256color
    Urxvt will run a perl script I have to display 256 colors.  Except is does not show the grayscale ramp shown here:
    VIM in urxvt does NOT show any colors.  It's all white text.
    This is my .vimrc
    $ cat .vimrc
    syntax on
    set ignorecase
    set smartcase
    set incsearch
    set hlsearch
    let g:netrw_http_cmd = "wget -q -O"
    if &t_Co == 256
    colorscheme xoria256
    else
    colorscheme desert
    endif
    in urxvt Gnu Screen
    echo $TERM
    screen-256color-bce
    the perl script does not display 256 colors like it should.
    vim in urxvt in screen again, does not show any colors. all white text.
    Xterm
    echo $TERM
    xterm
    Xterm displays the full 256 colors from the script including the grayscale ramp.
    vim in xterm displays the desert theme (i would prefer it default to the xoria256, no idea why the 256 color script works but vim doesn't see xterm as a 256 capable terminal).
    in xterm, Gnu Screen
    echo $TERM
    screen-256color-bce   ( I do not see in any file where this option is defined)
    Xterm with Gnu Screen displays the full 256 colors from the script including the grayscale ramp.
    Vim in Gnu Screen in Xterm displays 256 colors properly.
    Here is my .screenrc
    #terminfo and termcap for nice 256 color terminal
    # allow bold colors - necessary for some reason
    attrcolor b ".I"
    # tell screen how to set colors. AB = background, AF=foreground
    termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
    # erase background with current bg color
    defbce "on"
    #term xterm-256color
    term screen-256color
    startup_message off
    caption always "%{= KW}%-w%{= gW}%n %t%{-}%+w %-="
    hardstatus alwayslastline "%{= kW} %-= %{= kC}Session:%u%{= kW} %5` | %{= kC}Host:%{= kW} %H | %1` |%{= kC} MEM:%{= kW} %2`MB /%{= kC} SW: %{= kW}%3`MB | %4` %{= kR}Unread %{= kW}| %m/%d %c"
    vbell off
    #Backticks to display information in status bar
    backtick 1 60 60 /home/username/bin/get_uptime
    backtick 2 60 60 /home/username/bin/get_freemem
    backtick 3 60 60 /home/username/bin/get_freeswap
    backtick 4 60 60 /home/username/bin/get_gmail
    backtick 5 60 60 /home/username/bin/get_sessionname
    defscrollback 5000
    screen -t root 0 sudo -s
    screen -t shell 1 bash
    screen -t shell 2 bash
    screen -t shell 3 bash
    screen -t shell 4 bash
    screen -t shell 5 bash
    screen -t shell 6 bash
    screen -t shell 7 bash
    screen -t irc 8 irssi
    screen -t home 9 bash
    select 1
    here is my .Xdefaults
    !XTerm*font: -*-terminal-*-*-*-*-14-*-*-*-*-*-*-
    XTerm*font: xft:DejaVu Sans Mono:size=8
    xterm*faceName: Mono
    xterm*faceSize: 8
    XTerm*background: #191919
    XTerm*foreground: white
    XTerm*pointerColor: white
    XTerm*pointerColorBackground: black
    XTerm*cursorColor: white
    !XTerm*internalBorder: 3
    XTerm*loginShell: true
    XTerm*scrollBar: false
    XTerm*scrollKey: true
    XTerm*saveLines: 1000
    XTerm*multiClickTime: 250
    XTerm*boldColors: false
    xterm*title: xterm
    xterm*geometry: 160x25
    ! Black
    XTerm*color0: #262626
    XTerm*color8: #252525
    ! Red
    XTerm*color1: #C12121
    XTerm*color9: #E50E0E
    ! Green
    XTerm*color2: #597b20
    XTerm*color10: #89b83f
    ! Yellow
    XTerm*color3: #Ded838
    XTerm*color11: #efef60
    ! Blue
    XTerm*color4: #265997
    XTerm*color12: #3F6FD0
    ! Magenta
    XTerm*color5: #706c9a
    XTerm*color13: #826ab1
    ! Cyan
    XTerm*color6: #69a2b0
    XTerm*color14: #a1cdcd
    ! White
    XTerm*color7: #BBBBBB
    XTerm*color15: #EEEEEF
    URxvt*termName: xterm-256color
    URxvt*urlLauncher: /usr/bin/firefox
    URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
    URxvt.matcher.button: 2
    URxvt.perl-ext-common: default,matcher
    URxvt*saveLines: 4000
    URxvt*background: #191919
    URxvt*secondaryScroll: true
    URxvt*scrollBar: false
    URxvt*geometry: 150x25
    URxvt.font: xft:DejaVu Sans Mono:size=8
    URxvt.xftAntialias: true
    URxvt*foreground: white
    URxvt*pointerColor: white
    URxvt*pointerColorBackground: black
    URxvt*cursorColor: white
    !URxvt*inheritPixmap: True
    !URxvt*shading: 90
    !URxvt*tintColor: #999
    URxvt*keysym.Home: \033[1~
    URxvt*keysym.End: \033[4~
    ! Black
    URxvt*color0: #262626
    URxvt*color8: #252525
    ! Red
    URxvt*color1: #C12121
    URxvt*color9: #E50E0E
    ! Green
    URxvt*color2: #597b20
    URxvt*color10: #89b83f
    ! Yellow
    URxvt*color3: #Ded838
    URxvt*color11: #efef60
    ! Blue
    URxvt*color4: #265997
    URxvt*color12: #3F6FD0
    ! Magenta
    URxvt*color5: #706c9a
    URxvt*color13: #826ab1
    ! Cyan
    URxvt*color6: #69a2b0
    URxvt*color14: #a1cdcd
    ! White
    URxvt*color7: #BBBBBB
    URxvt*color15: #EEEEEF
    To Fix In Xterm
    -Get Vim to display 256 colors without Gnu Screen
    To Fix In Urxvt
    -Get vim to display any color, but preferably 256 colors in urxvt and urxvt with Gnu Screen.  (and yes, it's a 256 capable urxvt)
    -Get shells i SSH into to recognize the reported term variable
    To Fix In Gnu Screen
    -Make it stop reporting the term variable as screen-256color-bce without losing 256 color support as this screws up shells i ssh to.
    any help would be greatly appreciated.  I feel like a dog chasing its tail b/c when I find a fix to one problem, I end up creating 1-2 more.
    Last edited by scv5 (2009-07-31 14:11:31)

    I had similar but different issues regarding this.  Now, i have 256 color support in whatever terminal/ssh/screen session I'm in.
    The relevant config lines:
    .Xdefaults:
    XTerm*termName: xterm-256color
    URxvt*termName: rxvt-256color
    .vimrc
    " 256 colors only if you can handle it
    if $TERM =~ "-256color"
    set t_Co=256
    colorscheme zenburn
    endif
    .screenrc
    # term
    term xterm-256color
    # main options
    altscreen on
    attrcolor b ".I"
    defbce "on"
    # some termcaps
    termcapinfo xterm-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
    termcapinfo rxvt-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
    note: this setup caused an issue where background colors in mutt/htop inside screen did not extend passed the line's text.  i had to solve that via this workaround.
    Last edited by brisbin33 (2009-07-31 21:28:55)

  • My whole computer screen enlarged (desk top, and internt) how do i get it back to normal?

    my whole computer screen enlarged (desk top, and internt) how do i get it back to normal?

    Turn off Zoom from the Universal Access and Keyboard & Mouse panes of System Preferences.
    (59703)

  • Gnu Screen theme cycle with keybinding

    A guy at work did this and shared with me, so i thought I'd continue spreadin the love.    If you have multiple gnu screen sessions going at once, wouldn't it be nice to visually tell them apart without spending time to read the session name of each or trying to see what was going on within each?   
    The best way would be to color code the caption and hardlinestatus lines and be able to easily select a "color" per screen session and that's what he and I did.  Using C-g, we/you can easily cycle through various "themes".   This could also be useful if you wanted to cycle through mutiple hardstatus lines that displayed different information too if that's the route you'd like to go.   Anyways here it goes:
    #terminfo and termcap for nice 256 color terminal
    # allow bold colors - necessary for some reason
    attrcolor b ".I"
    # tell screen how to set colors. AB = background, AF=foreground
    termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
    # erase background with current bg color
    defbce "on"
    startup_message off
    bindkey ^G screen screen_theme.sh
    caption always "%{= KW}%-w%{= gW}%n %t%{-}%+w %-="
    hardstatus alwayslastline "%{= kW} %-= %{= kG}Session:%u%{= kW} %5` | %{= kG}Host:%{= kW} %H | %{= kG} MEM:%{= kW} %2`MB |%{= kG} SW: %{= kW}%3`MB | %{= kG}Unread: %{= kW} %4` | %m/%d %C %A"
    vbell off
    #Backticks to display information in status bar
    backtick 1 60 60 $HOME/bin/get_uptime
    backtick 2 60 60 $HOME/bin/get_freemem
    backtick 3 60 60 $HOME/bin/get_freeswap
    backtick 4 60 60 $HOME/bin/get_gmail
    backtick 5 60 60 $HOME/bin/get_sessionname
    defscrollback 5000
    screen -t root 0 sudo -s
    screen -t shell 1 bash
    screen -t shell 2 bash
    screen -t shell 3 bash 
    screen -t shell 4 bash
    screen -t shell 5 bash   
    screen -t shell 6  bash 
    screen -t shell 7  bash 
    screen -M  -t irc 8 irssi
    screen -t home 9 ssh home
    select 1
    This script resides in ~/bin which is in my path.  screen_theme.sh:
    #!/bin/bash
    INDEXFILE="$HOME/bin/themes/theme_index"
    # if this is the first time then set
    # the index to 0
    if [[ ! -e $INDEXFILE ]]
    then
    echo 0 > $INDEXFILE
    fi
    THEMENO=`cat $INDEXFILE`
    THEMEMAX=5
    if [[ $THEMENO -eq $THEMEMAX ]]
    then
    THEMENO=0
    else
    THEMENO=`expr $THEMENO + 1`
    fi
    echo $THEMENO > $INDEXFILE
    THEMEFILE=$HOME/bin/themes/theme${THEMENO}
    if [[ -e $THEMEFILE ]]
    then
    bash $THEMEFILE $STY
    else
    # reset the index back to zero if broken
    echo 0 > $INDEXFILE
    fi
    then I created a directory ~/bin/themes.  Within that directory I have the following files:
    $ ls themes/
    theme0 theme1 theme2 theme3 theme4 theme5 theme_index
    Each theme file is another color theme, the index just holds a count of the number of themes.
    An example of theme0  ( remember when doing yours to escape your backticks, otherwise it'll break).
    #!/bin/bash
    # yellow
    SESSION=$1
    screen -S $SESSION -X caption always "%{= KW}%-w%{= yk}%n %t%{-}%+w %-="
    screen -S $SESSION -X hardstatus alwayslastline "%{= kW} %-= %{= ky}Session: %u%{= kW}%5\` | %{= ky}Host:%{= kW} %H | %{= ky} MEM:%{= kW} %2\`MB |%{= ky} SW: %{= kW}%3\`MB | %{= ky}Unread: %{= kW}%4\` | %m/%d %c"
    Here's how my screen started:
    http://tuxtraining.com/images/screen1.png
    After C-g
    http://tuxtraining.com/images/screen2.png
    After C-g again
    http://tuxtraining.com/images/screen3.png
    and so on.
    Last edited by scv5 (2009-10-12 16:38:51)

    thayer wrote:
    steve___ wrote:
    Lich wrote:... useless for most of us as we only use one screen session normally.
    How do you know this?
    Just a guess, but doesn't that sort of defeat the purpose of a multiplexer?  I mean it's like running 20 instances of firefox instead of using a single firefox window with 20 tabs.  I'm sure some folks prefer the former, but I think it's safe to say the majority use the latter method.
    Sort of, I find screen becomes difficult to manage once we're talking more than the original 0-9 windows and you have to C-a-##, there's also the issue of screenspace.  With firefox i can list my tabs vertically giving me a lot more room to manage my tabs, screen doesn't have that option, so they go horizontally.    If i name all my tabs after the IP or name of the machine theiy are logged into, approach 15-20 windows really creaps on the screenspace.
    So typically what i do is have four shells open (grouped together or done in something like terminotor, or tabbed in flux or pekwm) each with 0-9 shells a piece, each session organized into type of servers.   So the upper left may be the email systems i support, the uppser right screen session may hold all the shell of our public facing web environment, bottom left is my local box, bottom right being misc boxes (dns servers, nis/ldap servers, various developement boxes..)  you get the hint.
    take into consideration i get one of these going per monitor that gives me approximately 80 shells, which is quite unmanagable in one screen session if you ask me.

  • GNU Screen mouse scrolling shows only empty lines

    Hi,
    I've got a problem with using my mouse wheel to scroll in GNU Screen.
    This is the content of my .screenrc:
    defscrollback 10000
    hardstatus off
    termcapinfo xterm* ti@:te@
    altscreen on
    With this settings, It kinda works: I can scroll up, but instead of showing the previous output, I just shows blank lines.
    I can actually scroll up by entering Screen's copy mode using CTRL-A ESC and then using the Arrow-keys or PageUp.
    Furthermore, if I then scroll with my mouse wheel, I can also scroll the lines that were displayed in copy mode, but if I try to scroll further than I scrolled in copy mode, I still see blank lines.
    Thanks in advance!

    hume's doona wrote:
    Are you configuring for the nvidia card?
    #sudo nvidia-settings
    and set it to twin view in the gui?
    No I think the problem is more basic than that...he's trying to use an ATi card and an Nvidia card simultaneously.  Something that I don't think will work.
    It also dependent on what drivers he is trying to use, as the (new) Nvidia proprietary driver only supports GeForce4 series chips and up...and the OP has an even older card than that.  The legacy Nvidia-96.xx driver does support his chipset, but 96.xx does not work with Xorg1.8 last I knew. see: http://www.archlinux.org/news/502/
    Twinview does not exist in the Nouveau drivers, so one has to use xrandr: http://wiki.archlinux.org/index.php/Nouveau
    Last edited by Skripka (2010-08-14 14:16:25)

  • GNU Screen prints back garbage?

    So. I've noticed an odd thing happening. Eventually, while running GNU Screen, lynx will start spitting out garbage characters at me. It usually starts with lynx, and then spreads to my other programs. http://homepage.mac.com/jamesebailey/screen_garbage.png is a picture of irssi with the garbage. I've only just started using screen, and I don't have the problem when I log in remotely, but only on my local login. I guess I could just SSH into my home computer while sitting in front of it, but that just seems silly, and there's got to be an explanation and solution for this, other than just working around it.
    Maybe not.

    Yeah, I know a couple of ways of getting it to do that, unfortunately, I've done none. Usually, I just switch back to a screen and see garbage. Moments later, all of my screens have garbage. Usually quitting the program and then quitting terminal gets rid of it, I'm just wondering if anyone knows what causes it and how to prevent it.

  • Using "Window" (Super_L) key as escape in GNU Screen

    I've been trying to map the Windows key (to the left of the space bar) to be the escape key in GNU Screen (as opposed to ^A) with no luck. xev gives me that it generates keycode 133 and its keysym is "Super_L" so its definitely recognized by the system, but I don't know what I can write in my .screenrc to be able to use it as an escape key. I've tried googling how to do it, but the solution another person found didn't work for me (use xmodmap to map keycode 133 to something else - like F13, and then get the literal value in vim by pressing ctrl+v and the key (it generated ^[[3~ or something similar) and then putting that in the .screenrc file).
    Has anyone else solved this?

    I believe you can use the xmodmap method, although it may cause you some problems.  Try this:
    $ xmodmap -e "keycode 133 = F19"
    then put the following line in your .screenrc:
    bindkey -k F9 command
    Note the difference between using 'F19' for xmodmap and using 'F9' in the bindkey command.  This is due to bindkey using the termcap database for specifing keys.  The main problem here, as far as I can tell, is that the termcap database doesn't have any notion of the "Super_L" or "Super_R" keys, thus you have to do this strange xmodmap assignment of keycode 133 to some key that bindkey can recognize.  This will work even if your keyboard doesn't have an F19 key as my example shows.  Of course, you don't have to use function key F19; you can use any key on your keyboard.  The important thing to remember is that the bindkey command in your .screenrc file uses the termcap database (see man termcap) to determine what key to use, and the xmodmap command uses some other mechanism. You have to understand how to specify the keys for each case.
    Other possibilities:
    xmodmap -e "keycode 133 =  F1"  <==>  bindkey -k k1 command
    xmodmap -e "keycode 133 =  F2"  <==>  bindkey -k k2 command
    xmodmap -e "keycode 133 =  F3"  <==>  bindkey -k k3 command
    xmodmap -e "keycode 133 =  F9"  <==>  bindkey -k k9 command
    xmodmap -e "keycode 133 = F10"  <==>  bindkey -k k; command
    xmodmap -e "keycode 133 = F11"  <==>  bindkey -k F1 command
    etc.
    This could cause a problem if some other application you use (like your window manager or desktop environment) uses 'Super_L' for something.  I really don't understand exactly how all this works so I don't know how you could fix a conflict like that.
    Finally, when you remap 'keycode 133' to some other key, then pressing that key will now generate some character. Pressing the windows key when not in screen, at least on my system, caused a '~' to be printed.  I don't know how you would get rid of this.

  • GNU Screen Scroll problem

    Hello everyone, I'm a new member in the Arch community and I'm enjoying myself a lot by using this distribution.
    the problem I'm having is that I can't seem to get the mouse scrollwheel to scroll upwards in GNU Screen running in a Terminator emulator once the terminal is filled.
    I have searched a bit and found that I should put something like this in my ~/.screenrc
    terminfo xterm* ti@:te@
    I have changed the xterm* to terminator* to match my emulator, my full .screenrc is as follows
    bind c screen 1
    bind ^c screen 1
    bind 0 select 10
    screen 1
    term screen-256color
    hardstatus alwayslastline '%{= g}[ %{G}%H %{g}][%= %{= w}%?%-Lw%?%{= R}%n*%f %t%?%{= R}(%u)%?%{= w}%+Lw%?%= %{= g}][%{B}%Y-%m-%d%{g}]'
    startup_message off
    terminfo terminator* ti@:te@
    vbell off
    altscreen on
    defscrollback 5000
    When I first open screen I can scroll up and down using the mouse wheel, but once the terminal gets filled all the way, the mouse wheel starts to show the command history instead of scrolling, which is a pretty odd behavior in my point of view.
    Anyone knows why is that happening?

    geekinthesticks wrote:I think I am missing something obvious and simple, but can't see what it is!
    They're called code tags
    I can't help with the problem directly, but those who can will probably be more inclined to do so if you include file contents of command output in [ code ] ... [ /code ] tags to keep it clean and readable.

  • Keeping video podcast screen always on top?

    ok, so i click on the video podcast in itunes and it opens in a new screen,
    i want to know if there is anyway to always keep that new video podcast screen always on top of mys desktop.
    i usually have at least 5 or more apps open and i am going between them all the time,
    i'd love to be able to keep a video podcast always on top in one corner...
    help?

    Use something like NicePlayer or BitPlayer. Both have the ability to keep the window on top (called floating window in BitPlayer).
    NicePlayer – http://www.macupdate.com/info.php/id/15136
    BitPlayer – http://www.macupdate.com/info.php/id/11459

  • GNU Screen and framebuffer (uvesafb)

    Hello,
    I am using arch linux without X. I have installed a framebuffer (uvesafb) and
    am using GNU screen to multitask. I have seen that the screen cannot use a
    frame buffer as when a try to use fbi I get this output:
    ioctl VT_GETSTATE: Invalid argument (not a linux console?)
    But when I use mplayer it seems to work fine. The vidoes play fine (although
    there is some flickering and the size is a bit small) and w3m seems to display
    the pictures properly inline too. Which means that screen can use a framebuffer.
    So my question is how do I use fbi and fbgrab (or fbshot) in screen. Is there a way
    for screen to communicate directly with the frame buffer?

    Moyamo wrote:Is there any other terminal multiplexer that can support a framebuffer besides screen?
    Tmux. I've been using it successfully for quite a while.

  • Gnu Screen and 10.5

    So, does anyone else have problems with Gnu Screen and OSX 10.5? If I use the box-shipped version, my PATH is completely ignored, and it doesn't understand deflogin or login in my .screenrc file.
    If I use the macports version, I get UTMP problems and unless I manually create /var/run/utmp, eventually /etc/sudoers and passwd gets updated, and UID 501 is no longer in the passwd file!

    That's actually not screen's fault.
    When bash starts, it will read either .profile_bash or .bashrc but not both, depending whether it is a shell process or subprocess.
    On X-window based systems, one of these (I can never remember which) gets read when the root window starts, and then the other gets read when every sub-process starts. On OS X this approach breaks down.
    There is a slightly different bug I have been seeing, and I think it is due to multi-threading. Basically the screen session starts before the $PATH gets entries like /sw/bin or /opt/local/bin set. I never figured out how, but my hackish workaround is simply to start screen and then invoke the process I want, rather than to do it all in one command. (This gets annoying if you are writing shell scripts that invoke screen).

  • GNU screen, spawn windows and issue specific command to each

    Hello folks.
    I want gnu screen to spawn some windows, let's say, so I've put these lines in .screenrc:
    screen -t foo
    screen -t bar
    now I'd like to change the directories for foo and bar. I've tried multiple commands like:
    screen -X at foo screen -X stuff 'cd /tmp^M'
    screen -X at bar screen -X stuff 'cd ~/projects^M'
    and some other variations. At best, it gives the error message: "key: screen: invalid option -X .", at worst it doesn't start at all.
    Regards.

    problem solved. for others in need, put in .screenrc:
    screen -t foo
    at foo stuff 'cd /tmp^M'
    where "^M" is generated by pressing sequentially ctrl+v,ctrl+m

  • The screen on the top gets distorted and then goes back normal like every 15mins

    the screen on the top gets distorted and then goes back normal like every 15mins

    try a pram reset,
    Mac OS X 10.7 Help
    Reset your computer’s PRAM
    A small amount of your computer’s memory, called “parameter random-access memory” or PRAM, stores certain settings in a location that Mac OS X can access quickly. The particular settings that are stored depend on your type of Mac and the types of devices connected to it. The settings include your designated startup disk, display resolution, speaker volume, and other information.
    Note: To print these instructions, open theHelp Viewer’s Action pop-up menu (looks like a gear) and choosePrint.
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Immediately press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.Continue holding the keys down until the computer restarts, and you hear the startup sound for the second time.
    Release the keys.
    Resetting PRAM may change some system settings and preferences. Use System Preferences to restore your settings.
    Open
    AppleSupport article: Resetting your Mac’s PRAM and NVRAM
    AppleSupport article: Mac OS X: What’s stored in PRAM?
    Keywords: khelp kmosx7

Maybe you are looking for

  • Cannot get maile connection to server failed

    followed the instructions for icloud set up in apple support for ipad and iphone even deleted the account and then set the account up with the correct ID and password.  I do use a different ID  than my apple ID for my icloud account.  I use my me.com

  • Restored apps not showing in Application Manager

    I did a partial restore using the Nokia Suite, selecting only the "Device settings an applications" content (I wanted to restore a theme that I wasn't able to download again without purchasing a second time). The restoral was successful and I have th

  • Numbers not appearing

    I have set up a 10 by 12 grid on my dashboard. When I preview the flash file, the numbers in some of the cells disappear. They reappear when I click on the cell and adjust the number upwards. Any ideas for a fix or can anyone recall an earlier post t

  • UGRENT: Lightroom mobile comments backed up?

    I updated lightroom today.  I went to sync mobile and it said that it could not syn and instructions to delete sync data.  Not thinking I deleted data.  I have images with comments from client that are now gone.  Is there any way to recover the comme

  • Attention to mark a. williams

    Hi mark, I am working as oracle developer in abank turkey.We are using oracle forms&reports in our application.I should write a thesis to become specialist in the bank.In my applications i want to do forms in oracle also in .net.How can i create the