2013년 9월 13일 금요일

Setting up the color scheme of 256 colors on Vim

Put your 'My_Color_Scheme.vim' file in ~/.vim/colors/

Add the code below into your ~/.vimrc

if &term =~ "xterm"
  "256 color --
  let &t_Co=256
  " restore screen after quitting
  set t_ti=ESC7ESC[rESC[?47h t_te=ESC[?47lESC8
  if has("terminfo")
    let &t_Sf="\ESC[3%p1%dm"
    let &t_Sb="\ESC[4%p1%dm"
  else
    let &t_Sf="\ESC[3%dm"
    let &t_Sb="\ESC[4%dm"
  endif
endif

colorscheme My_Color_Scheme

learned from: http://vim.wikia.com/wiki/Using_vim_color_schemes_with_Putty, and you can also check http://www.vimninjas.com/2012/08/26/10-vim-color-schemes-you-need-to-own/

Setting up Korean (Unicode) Environment of Windows PuTTY

Go to 'Window - Translations' on Configuration Dialog and change 'Remote Character Set' to UTF-8
(This is about text stream that you get from a server; Linux/Unix machine.)

Run regedit
Go to 'HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\'
Change the value of 'FontCharSet' to 81 (or your language. 81 is for Korean, hexa)
Change the value of 'Font' to Bitstream Vera Sans Mono (or your font)
Re-run PuTTY
(This is about a font you will use in PuTTY, the font should be installed in your computer.)


learned from http://crawl.develz.org/wordpress/prettify-putty, and http://mynsh.blogspot.kr/2008/11/putty-korean-language-configuation.html

Xubuntu: Installing a Printer (Canon G3060 PIXMA)

$ sudo apt install system-config-printer Download the proper driver for linux from Canon website. Turn on the printer and set up its WiFi. C...