border太扯淡/弱了

我的ebook啊,在无休无止的pending之后,来了这封邮件.. 已经快一个月没看书了,sigh

那天多应该去local store里买..

============
Dear XXXXXXX,

You recently placed Order xxxxxxxx at Borders.com, which included the purchase of the Sony Reader Digital Book PRS-505.

It has taken us longer than we would have liked to respond with an update about the status of your order, and we apologize for that. We sold out of the Sony Reader 505 and have been looking to obtain additional stock. Unfortunately, we will not receive any additional inventory.

As a result, we wanted to let you know as soon as possible that we cannot fill your order for the Sony Reader 505. You will receive another email once your order status for the Sony Reader 505 is officially updated.

If you paid using a credit card, your card will not be charged. If you paid using a gift card, a new card will be issued as a refund.

We’re sorry to disappoint you, but we thank you for shopping at Borders.com and look forward to serving you again in the future.

Sincerely,

The Borders.com Team
www.Borders.com

Cannot find terminfo entry for ‘rxvt-unicode’

It may stop us using top, screen, etc. This usually happens on server side.

The solution is to copy a terminfo file (always stays in /usr/share/terminfo/r/rxvt-unicode in local machine) to the server either the same directory or ~/.terminfo/r

Screen with Zshell

Ref: http://linuxtoy.org/docs/guide/ch33s03.html

.zshrc

#screen integration to set caption bar dynamically
function title {
if [[ $TERM == “screen” || $TERM == “screen.linux” ]]; then
# Use these two for GNU Screen:
print -nR $’\033k’$1$’\033’\\\

print -nR $’\033]0;’$2$’\a’
elif [[ $TERM == “xterm” || $TERM == “urxvt” ]]; then
# Use this one instead for XTerms:
print -nR $’\033]0;’$*$’\a’
#trap ‘echo -ne “\e]0;[email protected]$HOSTNAME: $BASH_COMMAND\007″‘ DEBUG
fi
}

#set screen title if not connected remotely
function precmd {
title “`print -Pn “%~” | sed “s:\([~/][^/]*\)/.*/:\1…:”`” “$TERM $PWD”
echo -ne ‘\033[?17;0;127c’
}

function preexec {
emulate -L zsh
local -a cmd; cmd=(${(z)1})
if [[ $cmd[1]:t == “ssh” ]]; then
title “@”$cmd[2] “$TERM $cmd”
elif [[ $cmd[1]:t == “sudo” ]]; then
title “#”$cmd[2]:t “$TERM $cmd[3,-1]”
elif [[ $cmd[1]:t == “for” ]]; then
title “()”$cmd[7] “$TERM $cmd”
elif [[ $cmd[1]:t == “svn” ]]; then
title “$cmd[1,2]” “$TERM $cmd”
else
title $cmd[1]:t “$TERM $cmd[2,-1]”
fi
}

.screenrc

hardstatus alwayslastline “%{=b}%{-b}%{R}[%{=b B}%-w%{=b BK}%>%n %t%{-}%+w%{-b}%< %=%{R}][%{-b}%{M}%m-%d %D %{G}%c%{R}]"