manac ham chơi

27 August, 2006

screen

Filed under: linux-unix — manac @ 4:13 pm

.screenrc(etc/screenrc)

hardstatus on
hardstatus alwayslastline
hardstatus string “%{.1099} %-w%{.bg}%n %t%{-}%+w %=%H %c:%s”

# Do not use xterms alternate window buffer (add lines to scrollback bfr)
 termcapinfo xterm|xterms|xs ti=E7E[?47l
Fix backspace:
 bindkey -d kb stuff ^H

Fix scroll
termcapinfo xterm|xterms|xs|rxvt ti@:te@

or 'Ctrl-A Esc', when not use press 'Esc'

———————————————————-
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #

### Created by Brad Sims 25/06/2004

### I got tired of .screenrc’s on the internet being so
### poorly commented… So being a good GNUbie I took matters
### into my own hands; and wrote this dotfile.

# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #

## Explanation of hardstatus line ##

# Ignore the ‘ marks if you use these examples for yourself

# Note that if you want to use the color brown under konsole
# You actually use bright yellow (%{Y}).

# Note the embeded space after the colon, I feel
# it just looks nicer with a blank between the
# text and console edge:
# ‘%{=b}%{G} Screens: ‘

# This prints the window listing in blue:
# ‘%{b}%w’

# This right-aligns what follows:
# ‘%=’

# This displays the time (hours and minutes) in 12hr format
# and adds an AM/PM flag, in bold green:
# ‘%{G}%C%A’

# This displays the day of the week:
# ‘%D’

#This displays the date in Mon/day/year format:
# and again I embeded a space to give me one space
# between the text and console edge:
# ‘%M/%d/%Y ‘

# The resultsing command give you a status line that
# looks like this:
# | Screens: 0* bash 5:30PM Fri, Jun/25/2004 |
# (The pipes indicate the edges of the xterm/console).

# Green text, time, and date; windows in blue:
hardstatus alwayslastline “%{=b}%{G} Screen(s): %{b}%w %=%{kG}%C%A %D, %M/%d/%Y ”

# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #

## Some general options ##

# Turn off start message:
startup_message off

# Set messages timeout to one second:
msgwait 1

# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #

## Keybindings ##

# bind to detach screen from this terminal
# bind to kill current session
# bind to create a new screen
# bind to rename an existing window
# bind to move to previous window
# bind to move to next window
bindkey -k k7 detach
bindkey -k k8 kill
# space in keyboard
bindkey -k k; screen
bindkey -k k9 title
bindkey -k F1 prev
bindkey -k F2 next

# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #

http://ubuntuforums.org/showpost.php?s=7238a557406214742e3ce6b80304e067&p=2124478&postcount=1

Advertisements

18 August, 2006

Fluxbox init file

Filed under: linux-unix — manac @ 2:49 am

session.screen0.tabs.intitlebar: true

13 August, 2006

Vi’t ta … vi’t taaa` o^ e^’ch e^’ch ( Vista OSS)

Filed under: linux-unix — manac @ 4:08 am

Tưởng cái card màn hình onboard sành điệu của mình chạy chuội chuội , èo uột XGL nên lưỡng lự không cài .Hôm này làm liều chơi 1 quả cho hoành tráng , chạy so+` mu’t ghê ^|^

Shot mấy quả chơi :

vista1

(more…)

Create a free website or blog at WordPress.com.