'TIPs'에 해당되는 글 45건

  1. 2014.08.05 [LINUX] burn a DVD ISO
  2. 2013.03.04 [Linux] Emacs tomorrow theme
  3. 2013.03.04 [Linux] gnome-terminal 256 color 사용
  4. 2011.10.18 [Linux] CPU 관련 정보 보기
  5. 2011.10.13 [Mac] Mac USB to Serial (RS232)
  6. 2011.07.28 Ubuntu에서 패키지 잠그기/풀기
  7. 2011.07.28 http proxy 사용
  8. 2011.07.27 [MAC] 맥에서 USB에 부팅가능한 이미지 만들기 (bootable USB stick) 1
  9. 2010.11.24 [Emacs] 실행 패스(exec-path) 설정
  10. 2010.08.24 [EMACS] Macro Record and Play
  11. 2010.07.30 [Windows] Keyboard type 3로 변경
  12. 2010.06.16 [MAC] Mac OS X 10.2 이후에서의 Local Hosts File 위치
  13. 2010.03.25 Emacs Javascript
  14. 2010.03.25 Gitosis를 이용한 Git server 설치
  15. 2010.02.13 Ubuntu 9.10 에서 JDK 5 설치
  16. 2010.01.21 emacs & cscope
  17. 2009.11.30 Ubuntu Packages
  18. 2009.11.02 Windows7 System 예약 파티션 없이 설치
  19. 2009.11.01 Keycode remapping
  20. 2009.10.31 Trac + SVN 설치
  21. 2009.10.28 [Linux] ps STATE CODES
  22. 2009.09.11 Firefox 다운로드 후 바이러스 검사 비활성화
  23. 2009.09.10 같은 종류의 프로그램을 하나의 단추로 표시
  24. 2009.08.12 Cygwin 한글 설정
  25. 2009.07.01 Emacs에서 ^M 제거
  26. 2009.06.08 Firefox 에서 스크롤 양 조절
  27. 2009.04.02 patch 파일 적용.
  28. 2009.03.22 Emacs command 1
  29. 2009.03.07 DUMPBIN
  30. 2009.02.28 Windows Contents Capturing using WM_PRINT Message

[LINUX] burn a DVD ISO

TIPs 2014. 8. 5. 16:26


# wodim --devices

# wodim -v dev=/dev/sg1 speed=4 -eject /path/to/file.iso


:

[Linux] Emacs tomorrow theme

TIPs 2013. 3. 4. 18:03

링크:

https://github.com/chriskempson/tomorrow-theme/tree/master/GNU%20Emacs

https://code.google.com/p/princess-alist/source/browse/trunk/home/xiaogaozi/.emacs.d/site-lisp/color-theme-tomorrow.el?r=123

color-theme-tomorrow.el


(setq load-path (cons (expand-file-name "~/.emacs.d") load-path))

(load-library "color-theme-tomorrow")

(color-theme-tomorrow-night)


현재 터미널이 256 칼라가 아니라면

$ tput colors

8

256 color 설정

export TERM="xterm-256color"


:

[Linux] gnome-terminal 256 color 사용

TIPs 2013. 3. 4. 17:46


export TERM="xterm-256color"


:

[Linux] CPU 관련 정보 보기

TIPs 2011. 10. 18. 08:10
1. cat /proc/cpuinfo
2. lscpu
3. /sys/devices/system/cpu/cpuN 밑의 정보 보기
4. dmesg 에서 보기
:

[Mac] Mac USB to Serial (RS232)

TIPs 2011. 10. 13. 18:27
Driver Download : http://www.ftdichip.com/FTDrivers.htm

확인 : ls /dev/tty.*

연결 : screen /dev/tty.usbserial-xxxxx 115200
 
:

Ubuntu에서 패키지 잠그기/풀기

TIPs 2011. 7. 28. 14:38
원문 : http://nice295.egloos.com/1305825

1. Hold

# echo -e "package hold" | dpkg --set-selections


2.  Unhold

# echo -e "package unhold" | dpkg --set-selections


3. 확인 

#dpkg --get-selections | grep hold

 
:

http proxy 사용

TIPs 2011. 7. 28. 14:26
원문 : http://nice295.egloos.com/1305825

1. .bashrc에 아래 추가

export http_proxy=http://<your_PROXY_SERVER>:<port>



2. /etc/apt/apt.conf에 아래 추가(다른 app를 위한 것)

Acquire::http::Proxy "http://<your_PROXY_SERVER>:<port>";


:

[MAC] 맥에서 USB에 부팅가능한 이미지 만들기 (bootable USB stick)

TIPs 2011. 7. 27. 15:35
원문 : http://renevanbelzen.wordpress.com/2009/10/14/creating-a-bootable-usb-stick-with-mac-os-x-in-10-easy-steps/

USB 삽입 후

1. USB 디바이스 이름 확인.
$ diskutil list

2. 언마운트
$ diskutil unmountDisk /dev/diskN

3. 복사
$ sudo dd if=/path/to/file.dmg of=/dev/diskN bs=1m

4. 추출
diskutil eject /dev/diskN

:

[Emacs] 실행 패스(exec-path) 설정

TIPs 2010. 11. 24. 00:05

설정값 보기

C-h v exec-path



설정 (PATH, exec-path)

(setenv "PATH" (concat (getenv "PATH") ":/opt/local/bin"))
(setq exec-path (append exec-path '("/opt/local/bin")))



General Variables 확인
M-: (info "(emacs)General Variables")
:

[EMACS] Macro Record and Play

TIPs 2010. 8. 24. 00:49
원문 : The Geek Stuff

High Level Steps to Record and Play inside Emacs
1. Start recording a macro by pressing ctrl+x (
2. Perform any actions inside the Emacs editor that you would like to record.
   
   High Level Steps for Naming and Saving emacs macro, and playing it later
   A. Press Ctrl+x Ctrl+k n
   B. Give name-of-macro, and press ENTER

3. Stop recording by pressing ctrl+x )

4. Play the last recorded macro by pressing ctrl+x e
or    
C. Run the named macro by pressing, M-x name-of-macro

:

[Windows] Keyboard type 3로 변경

TIPs 2010. 7. 30. 09:30
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters]

LayerDriver KOR= kbd101a.dll -> kbd101c.dll
OverrideKeyboardSubtype= 3 -> 5

OverrideKeyboardIdentifier --> PCAT_101CKEY
OverrideKeyboardType --> 8
:

[MAC] Mac OS X 10.2 이후에서의 Local Hosts File 위치

TIPs 2010. 6. 16. 11:47

/private/etc/hosts
:

Emacs Javascript

TIPs 2010. 3. 25. 10:50
참고 : Emacs 패키지 설치하기

download : http://www.emacswiki.org/emacs/JavaScriptMode
(setq load-path (cons (expand-file-name "~/.emacs.d") load-path))
(load-library "javascript")


:

Gitosis를 이용한 Git server 설치

TIPs 2010. 3. 25. 10:43
[Local]
: 인증키 생성 후 Server에 전달
$ ssh-keygen -t rsa

[Server]
: Local의 Admin의 계정 생성
$ sudo adduser \
    --system \
    --shell /bin/sh \
    --gecos 'git version control' \
    --group \
    --disabled-password \
    --home /var/git \
    git

: Gitosis 초기화. 여기서 rsa는 Local에서 복사한 rsa를 사용.
$ sudo -H -u git gitosis-init < /path/to/id_rsa.pub

[Local]
: 복제
$ pwd
/home/cwpark/xxx
$ git clone git@192.168.0.6:gitosis-admin.git

: 그룹 추가 (example)
[group android]
writable = android
members = newmember

newmember는 android에 writable.
gitosis.conf 에 멤버(newmember) 추가하고, 해당 멤버의 RSA얻어와 keydir/newmember.pub 로 저장

: Commit
$ git commit -a -m "comment"

: Push
$ git push



01. repo/new$ git init
02. repo/new$ git remote add origin git@192.168.0.6:android.git
03. 하나의 commit 생성
04. repo/new$ git push origin master (git push origin master:refs/heads/master)



* key 확장자 .pub 확인
* 시간 동기화 확인 : rdate -s time.bora.net

:

Ubuntu 9.10 에서 JDK 5 설치

TIPs 2010. 2. 13. 15:25
1. Repository 추가
deb http://ko.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://ko.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

2. Package install
# aptitude install sun-java5-jdk

3. Version 관리
# update-alternatives --config java
# update-alternatives --config javac

4. 환경변수 설정
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun

* sun에서 Down받아 설치하는 방법
1. jdk1.5.0_XX.bin 다운 받아 실행하여 압축 해제
2. /usr/local/jdk1.5.0_XX 로 move
3 update-alternatives --install "/usr/bin/java" "java" "/usr/local/jdk1.5.0XX/bin/java" 1
  or
  /usr/local/jdk1.5.0_XX를 Symbolic Link로 만들고 PATH에 추가 -0-

:

emacs & cscope

TIPs 2010. 1. 21. 12:05
참조 :
KLDP
http://www.cs.cmu.edu/cgi-bin/info2www?(emacs)Find%20Tag
Ubuntu forums
Blog

ETAGS

tag 생성
$ find . -name '*.[csSh]' | etags -
$ find . -name '*.cc' -or -name '*.h' | etags -

M-. TAG        Find first definition of TAG (`find-tag').
M-*            Pop back to where you previously invoked `M-.' and friends.
C-u M-.        Find next alternate definition of last tag specified.
C-u - M-.      Go back to previous tag found.
C-M-. PATTERN  Find a tag whose name matches PATTERN (`find-tag-regexp').
C-u C-M-.      Find the next tag whose name matches the last pattern used.
C-x 4 . TAG    Find first definition of TAG, but display it in another window (`find-tag-other-window').
C-x 5 . TAG    Find first definition of TAG, and create a new frame to select the buffer (`find-tag-other-frame').



CSCOPE

cscope download : http://cscope.sourceforge.net/
emacs el package load : (require ‘xcscope)
xcscope.el : /usr/share/emacs/site-lisp
Database 생성 : cscope-index-files

C-c s s     Find symbol.
C-c s d     Find global definition.
C-c s g     Find global definition (alternate binding).
C-c s G     Find global definition without prompting.
C-c s c     Find functions calling a function.
C-c s C     Find called functions (list functions called from a function).
C-c s t     Find text string.
C-c s e     Find egrep pattern.
C-c s f     Find a file.
C-c s i     Find files #including a file.

:

Ubuntu Packages

TIPs 2009. 11. 30. 09:53
Manual Pages about using GNU/Linux for development
- manpages-dev

GUI Editor for SQLitedatabase
- sqlitebrowser

:

Windows7 System 예약 파티션 없이 설치

TIPs 2009. 11. 2. 13:59
원문 : http://snoopy.textcube.com/902

윈7 파티션 선택화면에서
SHIFT + F10 (콘솔 모드로 전환)

> diskpart
> sel disk 0
> create partition primary
> exit
> exit

[새로고침]
:

Keycode remapping

TIPs 2009. 11. 1. 19:39
원문 : 키보드 리매핑하기(재설정)

[HKLM \ SYSTEM \ CurrentControlSet \ Control \ Keyboard Layout] Scancode Map

00 00 00 00     00 00 00 00 : 헤더부분. 00 8번
XX 00 00 00     .. .. .. .. : (XX : 바꿀 키값 + 1), 00 00 00
.. .. .. ..     .. .. .. .. :
.. .. .. ..     .. .. .. .. :
00 00 00 00                 : 마지막엔 항상 00 을 4번


바꿀 값은 다음과 같은 형식으로 이루어짐
01 23 ab cd : 01 23은 새로 설정할 키값.
ab cd는 고유 키값.

예) 49 E0 51 E0 : 51 E0(고유키) 자리에 PageUP(49 E0) 키 설정
예) 51 E0 4D E0 : 4D E0(고유키) 자리에 PageDown(51 E0) 키 설정

[참고]
한영 키값 : 72 00
한자 키값 : 71 00
:

Trac + SVN 설치

TIPs 2009. 10. 31. 21:16
참고 : http://kldp.org/node/84957

필요한 패키지 설치
# aptitude install trac subversion libapache2-svn libapache2-mod-python

Trac, SVN root directory 생성
# mkdir /var/svn
# mkdir /var/trac
# chown -R www-data.www-data /var/svn
# chown -R www-data.www-data /var/trac

SVN repository 생성
# svnadmin create /var/svn/<project>
# svn mkdir file://localhost/var/svn/<project>/branches -m "initial structure1"
# svn mkdir file://localhost/var/svn/<project>/tags -m "initial structure2"
# svn mkdir file://localhost/var/svn/<project>/trunk -m "initial structure3"

Track 환경 생성 및 초기화
# trac-admin /var/trac/<project> initenv

사용자 계정 생성
# htpasswd -cm /var/trac/<project>/passwd admin
# htpasswd -m  /var/trac/<project>/passwd user

아파치에 읽기, 쓰기 권한 주기
# chown -R www-data.www-data /var/trac
# chown -R www-data.www-data /var/svn

SVN, TRAC apache 설정
/etc/apache2/mods-available/dav_svn.conf
<location /svn/<project>>
	  DAV svn
	  SVNPath /var/svn/<project>
	  #SVNParentPath /var/svn
	  AuthType Basic
	  AuthName "Subversion Repository"
	  AuthUserFile /var/trac/<project>/passwd

	  <limitexcept get="" propfind="" options="" report="">
	  	       Require valid-user
	  </limitexcept>
</location>
# a2enmod dav_svn

/etc/apache2/sites-available/trac
<Location /trac/<project>>
	SetHandler mod_python
	PythonHandler trac.web.modpython_frontend
	PythonOption TracEnvParentDir /var/trac/<project>
	
	PythonOption TracEnv /var/trac/<project>
	PythonOption TracUriRoot /trac/<project>

	AuthType Basic
	AuthName "Repository"
	AuthUserFile /var/trac/<project>/passwd
	Require valid-user
</Location>

#<Location /trac/*/login>
<Location /trac/<project>/login>
	AuthType Basic
	AuthName "Repository"
	AuthUserFile /var/trac/<project>/passwd
	Require valid-user
</Location>
# a2ensite trac

/etc/init.d/apache2 restart
:

[Linux] ps STATE CODES

TIPs 2009. 10. 28. 03:57
원문 : man page

Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display to describe the state of a process.
D    Uninterruptible sleep (usually IO)
R    Running or runnable (on run queue)
S    Interruptible sleep (waiting for an event to complete)
T    Stopped, either by a job control signal or because it is being traced.
W    paging (not valid since the 2.6.xx kernel)
X    dead (should never be seen)
Z    Defunct ("zombie") process, terminated but not reaped by its parent.

For BSD formats and when the stat keyword is used, additional characters may be displayed:
<    high-priority (not nice to other users)
N    low-priority (nice to other users)
L    has pages locked into memory (for real-time and custom IO)
s    is a session leader
l    is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)
+    is in the foreground process group


:

Firefox 다운로드 후 바이러스 검사 비활성화

TIPs 2009. 9. 11. 18:26
원문 : http://kb.mozillazine.org/Browser.download.manager.scanWhenDone

Firefox에서 다운로드 후 기본설정으로 바으러스 검사를 하게 되어 있는데,

about:config 로 고급 설정 모드로 들어간 후

browser.download.manager.scanWhenDone

값을 false 로 설정 해 주면 검사를 하지 않는다.
:

같은 종류의 프로그램을 하나의 단추로 표시

TIPs 2009. 9. 10. 10:51
원문 : http://helpwithwindows.com/WindowsXP/tune-02.html

작업 표시줄에 같은 프로그램이 2개 이상 되었을 경우 무조건 그룹화 하게 하는 방법임.

1. Start the Registry Editor
2. Go to HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\
3. Right-click an empty space in the right pane and select New > DWORD Value
4. Name the new value TaskbarGroupSize
5. Double-click this new value, and enter 2 as it's Value data
6. Close the registry editor
7. Log off, or restart Windows for the changes to take effect
:

Cygwin 한글 설정

TIPs 2009. 8. 12. 22:06
.inputrc 에서
# Allow 8-bit input/output 부분에서
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
등 주석 해제. 필요한것 있으면 그 밑에도 해제

.bashrc에서
ls aliasing부분에 --show-control-char 추가

:

Emacs에서 ^M 제거

TIPs 2009. 7. 1. 13:03
M-x replace-string C-q C-m RET
:

Firefox 에서 스크롤 양 조절

TIPs 2009. 6. 8. 11:39
about:config

mousewheel.withnokey.sysnumlines 를 false로
mousewheel.withnokey.numlines 에 스크롤양 입력
:

patch 파일 적용.

TIPs 2009. 4. 2. 16:25
 -pnum  or  --strip=num

Strip the smallest prefix containing num leading slashes  from  each file  name found in the patch file.  A sequence of one or more adjacent slashes is counted as a single slash.  This controls  how  file names  found  in  the  patch file are treated, in case you keep your files in a different directory than the  person  who  sent  out  the patch.  

For example, supposing the file name in the patch file was

/u/howard/src/blurfl/blurfl.c

setting 

-p0 gives the entire file name unmodified
-p1 gives u/howard/src/blurfl/blurfl.c without the leading slash, 
-p4 gives blurfl/blurfl.c

and  not specifying -p at all just gives you blurfl.c.  Whatever you end up with is looked for either in the current  directory, or the directory specified by the -d option.

:

Emacs command

TIPs 2009. 3. 22. 01:51

원문 : http://www.cs.rutgers.edu/LCSR-Computing/some-docs/emacs-chart.html

C-SP     set-mark-command  
C-q      quoted-insert

C-a      beginning-of-line   
C-b      backward-char  

C-r      isearch-backward

C-r RET  search-backward
  
C-s      isearch-forward
    
C-s RET  search-forward

C-c      exit-recursive-edit  
C-t      transpose-chars

C-d      delete-char   
C-u      universal-argument (M-num)

C-e      end-of-line   
C-v      scroll-up

C-f      forward-char   
C-w      kill-region

C-h      help-command   
C-x      Control-X-prefix

TAB      indent-for-tab-command  
C-y      yank

LFD      newline-and-indent  
C-z      suspend-emacs

C-k      kill-line   
ESC      ESC-prefix

C-l      recenter   
C-]      abort-recursive-edit

RET      newline   
C-_      undo

C-n      next-line   
SPC .. ~        self-insert-command

C-o      open-line   
DEL      delete-backward-char

C-p      previous-line


C-h v    describe-variable  
C-h d    describe-function

C-h w    where-is   
C-h k    describe-key

C-h t    help-with-tutorial  
C-h c    describe-key-briefly

C-h s    describe-syntax  
C-h b    describe-bindings

C-h n    view-emacs-news  
C-h a    command-apropos

C-h C-n  view-emacs-news  
C-h C-d  describe-distribution

C-h m    describe-mode   
C-h C-c  describe-copying

C-h l    view-lossage   
C-h ?    help-for-help

C-h i    info    
C-h C-h  help-for-help

C-h f    describe-function


C-x C-a  add-mode-abbrev  
C-x 5    split-window-horizontally

C-x C-b  list-buffers   
C-x ;    set-comment-column

C-x C-c  save-buffers-kill-emacs 
C-x <    scroll-left

C-x C-d  list-directory   
C-x =    what-cursor-position

C-x C-e  eval-last-sexp   
C-x >    scroll-right

C-x C-f  find-file   
C-x [    backward-page

C-x C-h  inverse-add-mode-abbrev 
C-x ]    forward-page

C-x TAB  indent-rigidly   
C-x ^    enlarge-window

C-x C-l  downcase-region  
C-x `    next-error

C-x C-n  set-goal-column  
C-x a    append-to-buffer

C-x C-o  delete-blank-lines  
C-x b    switch-to-buffer

C-x C-p  mark-page   
C-x d    dired

C-x C-q  toggle-read-only  
C-x e    call-last-kbd-macro

C-x C-r  find-file-read-only  
C-x f    set-fill-column

C-x C-s  save-buffer   
C-x g    insert-register

C-x C-t  transpose-lines  
C-x h    mark-whole-buffer

C-x C-u  upcase-region   
C-x i    insert-file

C-x C-v  find-alternate-file  
C-x j    register-to-dot

C-x C-w  write-file   
C-x k    kill-buffer

C-x C-x  exchange-dot-and-mark  
C-x l    count-lines-page

C-x C-z  suspend-emacs   
C-x m    mail

C-x ESC  repeat-complex-command  
C-x n    narrow-to-region

C-x $    set-selective-display  
C-x o    other-window

C-x (    start-kbd-macro  
C-x p    narrow-to-page

C-x )    end-kbd-macro   
C-x q    kbd-macro-query

C-x +    add-global-abbrev  
C-x r    copy-rectangle-to-register

C-x -    inverse-add-global-abbrev 
C-x s    save-some-buffers

C-x .    set-fill-prefix  
C-x u    advertised-undo

C-x /    dot-to-register  
C-x w    widen

C-x 0    delete-window   
C-x x    copy-to-register

C-x 1    delete-other-windows  
C-x {    shrink-window-horizontally
C-x }    enlarge-window-horizontally
C-x 2    split-window-vertically 
C-x 4    ctl-x-4-prefix   
C-x DEL  backward-kill-sentence


ESC C-SP mark-sexp   
ESC =    count-lines-region

ESC C-a  beginning-of-defun  
ESC >    end-of-buffer

ESC C-b  backward-sexp   
ESC @    mark-word

ESC C-c  exit-recursive-edit  
ESC O    ??

ESC C-d  down-list   
ESC [    backward-paragraph

ESC C-e  end-of-defun   
ESC \    delete-horizontal-space

ESC C-f  forward-sexp   
ESC ]    forward-paragraph

ESC C-h  mark-defun   
ESC ^    delete-indentation

ESC LFD  indent-new-comment-line 
ESC a    backward-sentence

ESC C-k  kill-sexp   
ESC b    backward-word

ESC C-n  forward-list   
ESC c    capitalize-word

ESC C-o  split-line   
ESC d    kill-word

ESC C-p  backward-list   
ESC e    forward-sentence

ESC C-s  isearch-forward-regexp   
ESC C-r  isearch-backward-regexp   

ESC f    forward-word

ESC C-t  transpose-sexps  
ESC g    fill-region

ESC C-u  backward-up-list  
ESC h    mark-paragraph

ESC C-v  scroll-other-window  
ESC i    tab-to-tab-stop

ESC C-w  append-next-kill  
ESC j    indent-new-comment-line

ESC ESC  ??    
ESC k    kill-sentence

ESC C-\  indent-region   
ESC l    downcase-word

ESC SPC  just-one-space   
ESC m    back-to-indentation

ESC !    shell-command   
ESC q    fill-paragraph

ESC $    spell-word   
ESC r    move-to-window-line

ESC %    query-replace    
ESC C-%  query-replace-regexp    

ESC t    transpose-words

ESC '    abbrev-prefix-mark  
ESC u    upcase-word

ESC (    insert-parentheses  
ESC v    scroll-down

ESC )    move-past-close-and-reindent 
ESC w    copy-region-as-kill

ESC ,    tags-loop-continue  
ESC x    execute-extended-command

ESC -    negative-argument  
ESC y    yank-pop

ESC .    find-tag   
ESC z    zap-to-char

ESC 0 .. ESC 9  digit-argument  
ESC |    shell-command-on-region

ESC ;    indent-for-comment  
ESC ~    not-modified

ESC <    beginning-of-buffer  
ESC DEL  backward-kill-word


C-x 4 C-f       find-file-other-window 
C-x 4 d  dired-other-window

C-x 4 .  find-tag-other-window  
C-x 4 f  find-file-other-window

C-x 4 b  pop-to-buffer   
C-x 4 m  mail-other-window


C-x r m  set-book-mark
C-x r l  list-bookmarks
C-x r b  bookmark-jump           

 

:

DUMPBIN

TIPs 2009. 3. 7. 16:19
사용법: DUMPBIN [options] [files]

   옵션:

      /ALL
      /ARCHIVEMEMBERS
      /CLRHEADER
      /DEPENDENTS
      /DIRECTIVES
      /DISASM[:{BYTES|NOBYTES}]
      /ERRORREPORT:{NONE|PROMPT|QUEUE|SEND}
      /EXPORTS
      /FPO
      /HEADERS
      /IMPORTS[:filename]
      /LINENUMBERS
      /LINKERMEMBER[:{1|2}]
      /LOADCONFIG
      /OUT:filename
      /PDATA
      /PDBPATH[:VERBOSE]
      /RANGE:vaMin[,vaMax]
      /RAWDATA[:{NONE|1|2|4|8}[,#]]
      /RELOCATIONS
      /SECTION:name
      /SUMMARY
      /SYMBOLS
      /TLS
      /UNWINDINFO
:

Windows Contents Capturing using WM_PRINT Message

TIPs 2009. 2. 28. 18:59
: