Package: screen
Version: 4.0.3-11+lenny1
Severity: wishlist
Hello,
Ok, let's that by the beginning.
Here is my .screenrc
//
# status
hardstatus alwayslastline "%{= Yk} %H %{= yk}%-Lw%{= kG}%50> %n%f* %t
%{-}%+Lw%< %= %{= yk} %l %{= Yk} %0c:%s %d/%m %{-}"
# add CPU idle/sustem/user/interrupt stats
backtick 100 5 5 tail -n 1 $HOME/.log
caption always '%{= kY} %200` %= %100` %='
bindkey ^[[1;5A prev
bindkey ^[[1;5B next
bindkey ^[[1;5D prev
bindkey ^[[1;5C next
bindkey ^N screen
bindkey ^[[1;2D prev
bindkey ^[[1;2C next
//end
WIth the command, one can get in the ps aux or into the playing hte information
from the stream.
[CODE]vlc -I dummy
"http://www.bbc.co.uk/worldservice/meta/tx/nb/live_ennws_au_nb.asx[/CODE]
under screen
(mplayer is not capable to play the stream)
I would be nice that in in the upper taskbar of screen, the content of bbc
news would scroll from left to right or the title of the
news / subject.
That could be cool effect, sure, and eventually for pidgin purple
Nice idea,
Best regards, screen is the best,
Yellow
here another script that put this into ./log file
//
#!/bin/sh
# /usr/bin/watch2log
# declarations
#echo "> $@ command line started. <"
MSG=$@
if [ "--set-time" = "$1" ] ; then
TODO=`cat $HOME/.watchlogrc | grep Command= | sed s/Command=//g `
echo "Time=$2" > $HOME/.watchlogrc
echo "Command=$TODO" >> $HOME/.watchlogrc
exit
fi
[ ! -f $HOME/.watchlogrc ] && echo "Time=5" > $HOME/.watchlogrc
TIMING=`cat $HOME/.watchlogrc | grep Time= | sed s/Time=//g `
if [ "--help" = "$1" ] ; then
echo "--help, or --set-time 5 (corresponding to e.g. 5 seconds), or a
command line to be done every e.g. 5 seconds"
echo "typical application : /usr/bin/watchlog 'date >
$HOME/.log-file'"
exit
fi
if [ "$MSG" = "" ] ; then
TODO=`cat $HOME/.watchlogrc | grep Command= | sed s/Command=//g `
MSG=$TODO
echo "Using the regular command or last one: $MSG"
fi
echo "Time=$TIMING" > $HOME/.watchlogrc
echo "Command=$MSG" >> $HOME/.watchlogrc
while [ 1 ] ; do
printf "*>"
bash -c " $MSG "
sleep "${TIMING}s"
done
//end
-- System Information:
Debian Release: 5.0.3
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages screen depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libncursesw5 5.7+20081213-1 shared libraries for terminal hand
ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l
screen recommends no packages.
screen suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]