프로그램 사용/synergy2010. 3. 20. 23:33
synergyc는 클라이언트 프로그램이다.
서버 프로그램은 좀 복잡하지만 클라이언트는 상당히 쉽게 구동이 가능하다.

아래는 리눅스 쪽 프로그램의 설명인데, 실제로 설정해야 할 것은
--name 과 필수값인 <server-addres> 두가지만 해주면 된다.

예를 들어 현재 컴퓨터의 스크린이름을 secondpc 라고 하고,
서버 아이피를 192.168.0.2 이라고 할때,

시작프로그램에
synergyc --name secondpc 192.168.10.2
라고 등록해주기만 하면된다.

$ synergyc --help
Usage: synergyc [--daemon|--no-daemon] [--debug <level>] [--display <display>] [--name <screen-name>] [--restart|--no-restart] <server-address>

Start the synergy mouse/keyboard sharing server.

  -d, --debug <level>      filter out log messages with priorty below level.
                           level may be: FATAL, ERROR, WARNING, NOTE, INFO,
                           DEBUG, DEBUG1, DEBUG2.
      --display <display>  connect to the X server at <display>
  -f, --no-daemon          run the client in the foreground.
*     --daemon             run the client as a daemon.
  -n, --name <screen-name> use screen-name instead the hostname to identify
                           ourself to the server.
  -1, --no-restart         do not try to restart the client if it fails for
                           some reason.
*     --restart            restart the client automatically if it fails.
  -h, --help               display this help and exit.
      --version            display version information and exit.

* marks defaults.

The server address is of the form: [<hostname>][:<port>].  The hostname
must be the address or hostname of the server.  The port overrides the
default port, 24800.

Where log messages go depends on the platform and whether or not the
client is running as a daemon.


'프로그램 사용 > synergy' 카테고리의 다른 글

barrier on ubuntu 22.04 실패!  (2) 2023.06.15
시너지 (Synergy) for linux  (4) 2010.01.15
시너지 (Synergy) - KVM 프로그램(?)  (4) 2009.11.13
Posted by 구차니

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

사표를 제출했었습니다.  (4) 2010.04.01
퇴근일기 - 20100331  (4) 2010.04.01
직업병 - 안구인식  (0) 2010.03.17
오늘 일이 안되는건  (2) 2010.03.10
직장일기 - 20100303  (0) 2010.03.03
Posted by 구차니
import 라는 키워드로 python에서는 모듈을 불러온다.
이녀석을 c/api에서 사용하는 방법은 크게 두가지가 있다.

하나는 문자열로 인터프리트 방식으로 import 명령을 실행하는 것과
PyRun_SimpleString("import hashlib");

다른 하나는, __main__ 모듈을 추가하고 그에 원하는 모듈을 import 하는 방식이다.
PyObject * mainModule = PyImport_AddModule("__main__");
PyObject * hashlibModule = PyImport_ImportModule("hashlib");
PyModule_AddObject(mainModule, "hashlib", hashlibModule);

[링크 : http://dmaggot.wordpress.com/2009/12/30/embed-python-and-import-modules-in-cc/]



사족 : 음.. curses 나 hashlib은
/usr/local/lib/python2.6/hashlib.py
/usr/local/lib/python2.6/curses/__init__.py
에 존재해서 위의 방법으로 import가 되지만

gdata(google api)의 경우에는 되지가 않는다. 도대체 머가 문제일까?
/usr/local/lib/python2.6/site-packages/gdata/__init__.py 도 일단은 존재하는데 말이다..

Posted by 구차니
Microsoft/Windows2010. 3. 19. 10:56
일단 요약부터
1. 윈도우에서 read/write하는 툴이나 드라이버는 존재한다.
2. 하지만 format 을 윈도우에서 하는 툴은 없는것으로 보인다.


EXT2 IFS(Installable FileSystem)는 별도의 프로그램은 설치되지 않고 제어판에 추가된다.

제어판의 IFS Drives 아이콘을 누르면

위와 같은 화면이 뜬다. 여기서 포맷은 할수없다.(윈도우 포맷에서도 EXT는 뜨지 않음)

[링크 : http://ko.wikipedia.org/wiki/Ext3]
    [링크 : http://www.fs-driver.org/] vista는 된다는데 win7은 안 된다 -_-
    [링크 : http://gparted.sourceforge.net/]
    [링크 : http://www.chrysocome.net/explore2fs] win7에서 드라이브를 인식하지 않음
    [링크 : http://sourceforge.net/projects/ext2fsd/]




2010.04.03 추가

윈도우에서 포맷은 불가능 하지만, ext2로 포맷된 USB를 인식했다.
꼽으니 바로 보이는"lost+found" !! 오~~ 감동이야~

파일 삭제/ 제거 작동이 아무런 문제없이 잘된다.



Posted by 구차니
Linux2010. 3. 19. 10:44
엄밀하게, DOS 처럼 quick format은 존재하지 않는다.
mkfs.ext3 에서 -c 옵션으로 bad sector를 확인하는게 normal format이고
아무런 옵션없이 포맷하는게 quick format인 셈이다.


결론 : 그냥 옵션없이 하는게 quick 인데 느리군요(500GB 하는데 한 1분 걸린듯?)

[링크 : http://kldp.org/node/73233]
[링크 : http://linux.die.net/man/8/mkfs.ext3]
Posted by 구차니
아무 생각없이 libpython.so만 복사했더니 아래와 같은 경고가 발생한다.

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback

머 실행결과는 나오니까 (단순한 print 테스트) 경고라고 했지만
아마 import os 등을 하면 에러가 났을것으로 생각이 된다.

해결방법은 (Python2.6 기준 기본값으로)
/usr/local/lib/python2.6 디렉토리를 복사해주면 된다.
(python2.6 아래에는 각종 *.py *.pyo *.pyc

덧 : Python2.6 기준으로
# du -h python2.6
75M     python2.6/
용량이 좀.. 안습이다?!
Posted by 구차니
개소리 왈왈2010. 3. 18. 17:35
친  구 : 난 집에서 궁상맞게 라면이나 끓여먹어야겠군
구차니 : 그게 조흔겨 ㅋ
친  구 : 좋지는 않어. 사실 난 라면을 좋아하지 않어

http://tycool.isloco.com/entry/%EB%82%9C-%EC%A0%84%EC%84%A4-%EA%B0%99%EC%9D%80-%EA%B1%B0-%EB%AF%BF%EC%A7%80-%EC%95%8A%EC%95%84

http://searchpm.tistory.com/entry/%EC%A0%84%EC%84%A4%EB%93%9C%EB%A6%BD%EA%B3%BC-%ED%97%8C%EC%9E%AC%EB%93%9C%EB%A6%BD


이 대화는.. 링크와 비슷한 패턴이다!

'개소리 왈왈' 카테고리의 다른 글

해외 천주교에서 3D 방송시작?  (2) 2010.03.24
나라를 지키고 왔습니다!  (6) 2010.03.23
아! 스킨 + 웹로그 ㅠ.ㅠ  (6) 2010.03.15
달 (moon)  (5) 2010.03.08
소음공해 그리고 112 -> 120  (4) 2010.03.08
Posted by 구차니
아직 msysgit는 cygwin을 기반으로 해서
native win32API를 사용하지 못해 다운로드 속도가 엄청느리다.

Git Bash 아이콘(GIT)과 Git Bash를 구동시킨 화면
상단의 MINGW32가 눈에 띈다(=cygwin)


이건 리눅스(Fedora Core 6)에서 받는 모습
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Initialized empty Git repository in /home/st7109/linux-2.6/.git/
remote: Counting objects: 1523321, done.
remote: Compressing objects: 100% (245141/245141), done.
Receiving objects:  43% (661258/1523321), 260.79 MiB | 2.10 MiB/s

이건 msysgit(WinXP Git Bash)에서 받는 모습
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Initialized empty Git repository in c:/Documents and Settings/morpheuz/temp/linux-2.6/.git/
remote: Counting objects: 1523321, done.
remote: Compressing objects: 100% (245141/245141), done.
Receiving objects:  17% (269063/1523321), 154.20 MiB | 42 KiB/s

이건 머.. ㄱ-
msysgit만 쓰고 리눅스에서 안해봤음
git를 엄청 욕할뻔 했다.

'프로그램 사용 > Version Control' 카테고리의 다른 글

svn / svnadmin 도움말  (0) 2010.04.23
CVS / SVN 장단점, 차이점 비교  (6) 2010.04.07
TortoiseGIT  (0) 2010.03.18
SVN repository 어떻게 구성하지?  (2) 2010.03.08
SVN의 장점  (0) 2009.09.19
Posted by 구차니
GIT는 병렬분산처리 어쩌구 저쩌구
...
간단하게 Linus Torvalds 가 커널 소스관리 편하게 하려고 만든녀석같다.


아무튼 아직 MS용은 없었던걸로 알았는데
오늘검색해보니 google code에서 진행되는 프로젝트로
git for windows / TortoiseGIT 란게 생겨났다.

로고가 흐린건, 빗방울 효과 때문임 ㄱ-

나처럼 msysgit를 먼저 안깐 사람을 위한 기본경로
C:\Program Files\Git\bin


msysgit는 일종의 cygwin 기반의 git 이다.

msysgit의 설정. 귀찮아서 그냥 Use Git Bash only로..

TortoiseGIT는 엄밀하게는 GUI Frontend 이고
이로인해 windows용 GIT를 별도로 설치해야만 한다.(이건 조금 불편)

[링크 : http://code.google.com/p/tortoisegit/]
[링크 : http://code.google.com/p/msysgit/]
Posted by 구차니
CIFSD는 PS라고 치면 나온다.
물론 FC6 같이 CIFS가 커널에서 지원되지 않도록 컴파일 된녀석은 안나온다


# ps | grep cif
   72 root         0 SW<  [cifsoplockd]
   73 root         0 SW<  [cifsdnotifyd]
  667 root         0 SW<  [cifsd]

아무튼, 이녀석은 [cifsd] 라고 되어있듯 1000번 이하의 데몬이고,
커널이 띄우는 것으로 예상된다.

   - CIFS: Made cifsd (kernel daemon for the CIFS filesystem) suspend aware.

[링크 : http://www.novell.com/linux/security/advisories/2005_67_kernel.html]



---
2011.05.06 추가

Common Internet File System (CIFS)
CIFS는 마이크로소프트에 의해 개발되고 사용된 프로토콜인 SMB의 공개된 변종

[링크 :  http://www.terms.co.kr/CIFS.htm]
 

 In computer networkingServer Message Block (SMB), also known as Common Internet File System (CIFS) operates as an application-layer network protocol[1] mainly used to provide shared access to filesprintersserial ports, and miscellaneous communications between nodes on a network. It also provides an authenticated inter-process communication mechanism. Most usage of SMB involves computers running Microsoft Windows, where it was known as "Microsoft Windows Network" before the subsequent introduction of Active Directory.
 

[링크 :  http://en.wikipedia.org/wiki/Server_Message_Block]

Posted by 구차니