본문 바로가기

all

(211)
NcFTP 사용법 1. NCFTP란 NcFTP는 NCEMRsoft사(ncftp.com)의 Mike Gleason이란 개발자가 만든 네트웍상에서의 파일전송 전용유틸리티라고 할 수 있다. 기존의 ftp 접속시에 불편했던 여러 가지 기능등을 몇가지 개선하여 배포되었다. 특히 한꺼번에 서브디렉토리까지 그대로 전송하는 기능과 visual한 인터페이스환경등은 기존의 ftp에서 특히 아쉬웠던 것으로 앞으로 네트웍상에서 ftp사용은 ncftp로 대체될 수도 있을 것이며, 차세대 ftp 유틸리티라고 할 수 있다. 이 유틸리티를 설명드리고자 하는 이유는 거의 대부분 유닉스나 리눅스등의 쉘상태에서 여러가지 작업을 하게되는데 특히 파일전송관련된 작업은 기존의 ftp명령보다는 ncftp가 편리하기 때문이다. 한가지 알아두셔야 하는것은 NCFTP..
How to emerge mplayer Introduction Before installing MPlayer, it's important to see what USE flags you have set, because they will in large part determine the functionality of MPlayer. Some codecs and options are only installed with certain USE flags. This guide will use mplayer-1.0_pre7 as an example. [edit] List of all supported USE flags to see a list of USE options recognised by mplayer : emerge -pv mplayer The f..
Gnomem KDE 단축키 FOR GNOME: General Shortcut Keys Alt + F1 Opens the Applicantions Menu . Alt + F2 Displays the Run Application dialog. Print Screen Takes a screenshot. Alt + Print Screen Takes a screenshot of the window that has focus. Ctrl + Alt + right arrow Switches to the workspace to the right of the current workspace. Ctrl + Alt + left arrow Switches to the workspace to the left of the current workspace. ..
한글 설정 및 SCIM 설치 우선 한글 사용을 위해 LOCALE을 설정 해야 한다. # locale 로 확인해 보면 gentoo 기본이 POSIX로 되어있는것을 확인할 수 있다. 변경을 위해 /etc/locale.gen 파일을 수정한다. # vi /etc/locale.gen en_US ISO-8859-1 en_US.UTF-8 UTF-8 이곳의 주석을 해제하고 아래 내용을 추가한다. (/usr/share/i18n/SUPPORTED 파일을 살펴보고 정확히 기입해야 한다.) ko_KR.UTF-8 UTF-8 ko_KR.EUC-KR EUC-KR # locale-gen # env-update; source /etc/profile 이제 설정을 저장하고 환경 설정을 하면 된다. 기본 환경을 한글로 바꾸기 위한 작업인데 대상은 /etc/env.d/..
MY System Infomation MY System info : Thinkpad R51e, 1843-ECK CPU : Intel Pentium M (Dothan) 1.6 GHzprocessor : 0 vendor_id : GenuineIntel cpu family : 6 model : 13 model name : Intel(R) Pentium(R) M processor 1.60GHz stepping : 8 cpu MHz : 1596.012 cache size : 2048 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce..
Gentoo Alsa guide Gentoo Linux ALSA Guide Content: 1. Introduction 2. Installing ALSA 3. Configuring/Testing ALSA 4. Other things ALSA 1. Introduction What is ALSA? ALSA, which stands for Advanced Linux Sound Architecture, provides audio and MIDI (Musical Instrument Digital Interface) functionality to the Linux operating system. ALSA is the default sound subsystem in the 2.6 kernel thereby replacing OSS (Open Sou..
동적 메모리 할당을 이용하여 사용자로 부터 무한대의 정수를 입력 받기 사용자로 부터 입력 받은 데이터를 저장하기 위해서는 저장공간이 필요한데 사용자가 얼마만큼의 데이터를 입력할지 컴파일러는 알수가 없다. 사실 나도 그건 알수 없지 않은가 -_-; 뭐 메모리 공간을 어마어마 하게 크게 잡으면 가능 하겠지만 사용자가 그 어마어마 하게 큰 메모리 공간보다 많은 데이터를 입력 할 수도 있는 것이다. 또한 이런건 분명한 메모리 낭비다.. 이러한 문제를 해결하기 위해 메모리를 동적으로 할당 하는 수법(?)이 있다. 이 프로그램은 정수 한개만을 입력 받을수 있는 메모리 공간을 동적으로 할당해 놓고 사용자가 입력 할때마다 그 크기가 늘어 난다. #include #include void exten(int **pArr, int *pSize); int main() { int i; int in..
간단한 파일 복사 프로그램 파일의 입출력을 이용하여 원본을 그대로 복사 하는 프로그램이다. #include int main(int argc, char **argv) { char c;// For copy int state1, state2;// Check error when close file FILE *sorc, *dest;// make Source & Destination stream /* when user make error */ if(argc != 3) { puts("Usage : ./copysourcefiledestinationfile"); return -1; } /* Open source & destination file */ sorc = fopen(argv[1], "rb"); dest = fopen(argv[2], "wb..