Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

[linux] vim±àÂë

VimºÍËùÓеÄÁ÷ÐÐÎı¾±à¼­Æ÷Ò»Ñù£¬¿ÉÒԺܺõı༭¸÷ÖÖ×Ö·û±àÂëµÄÎļþ£¬Õ⵱Ȼ°üÀ¨ UCS-2¡¢UTF-8 µÈÁ÷ÐÐµÄ Unicode ±àÂ뷽ʽ¡£¶øÇҺͺܶàÀ´×Ô Linux ÊÀ½çµÄÈí¼þÒ»Ñù£¬ÕâÐèÒªÄã×Ô¼º¶¯ÊÖÉèÖá£
Vim ÓÐËĸö¸ú×Ö·û±àÂ뷽ʽÓйصÄÑ¡Ïencoding ¡¢fileencoding ¡¢fileencodings ¡¢termencoding (ÕâЩѡÏî¿ÉÄܵÄÈ¡ÖµÇë²Î¿¼ Vim ÔÚÏß°ïÖú :help encoding-names)£¬ËüÃǵÄÒâÒåÈçÏÂ:
1¡¢ encoding : Vim ÄÚ²¿Ê¹ÓõÄ×Ö·û±àÂ뷽ʽ£¬°üÀ¨ Vim µÄ buffer (»º³åÇø)¡¢²Ëµ¥Îı¾¡¢ÏûÏ¢Îı¾µÈ¡£Óû§ÊÖ²áÉϽ¨ÒéÖ»ÔÚ .vimrc ÖиıäËüµÄÖµ£¬ÊÂʵÉÏËƺõÒ²Ö»ÓÐÔÚ .vimrc ÖиıäËüµÄÖµ²ÅÓÐÒâÒå¡£
2¡¢ fileencoding : Vim Öе±Ç°±à¼­µÄÎļþµÄ×Ö·û±àÂ뷽ʽ£¬Vim ±£´æÎļþʱҲ»á½«Îļþ±£´æΪÕâÖÖ×Ö·û±àÂ뷽ʽ (²»¹ÜÊÇ·ñÐÂÎļþ¶¼Èç´Ë)¡£
3¡¢ fileencodings : Vim Æô¶¯Ê±»á°´ÕÕËüËùÁгöµÄ×Ö·û±àÂ뷽ʽÖðһ̽²â¼´½«´ò¿ªµÄÎļþµÄ×Ö·û±àÂ뷽ʽ£¬²¢ÇÒ½« fileencoding ÉèÖÃΪ×îÖÕ̽²âµ½µÄ×Ö·û±àÂ뷽ʽ¡£Òò´Ë×îºÃ½« Unicode ±àÂ뷽ʽ·Åµ½Õâ¸öÁбíµÄ×îÇ°Ã棬½«À­¶¡Óïϵ±àÂ뷽ʽ latin1 ·Åµ½×îºóÃæ¡£
4¡¢ termencoding : Vim Ëù¹¤×÷µÄÖÕ¶Ë (»òÕß Windows µÄ Console ´°¿Ú) µÄ×Ö·û±àÂ뷽ʽ¡£Õâ¸öÑ¡ÏîÔÚ Windows ϶ÔÎÒÃdz£ÓÃµÄ GUI ģʽµÄ gVim ÎÞЧ£¬¶ø¶Ô Console ģʽµÄ Vim ¶øÑÔ¾ÍÊÇ Windows ¿ØÖÆ̨µÄ´úÂëÒ³£¬²¢ÇÒͨ³£ÎÒÃDz»ÐèÒª¸Ä±äËü¡£
ºÃÁË£¬½âÊÍÍêÁËÕâÒ»¶ÑÈÝÒ×ÈÃÐÂÊÖ·¸ºýÍ¿µÄ²ÎÊý£¬ÎÒÃÇÀ´¿´¿´ Vim µÄ¶à×Ö·û±àÂ뷽ʽ֧³ÖÊÇÈçºÎ¹¤×÷µÄ¡£
1¡¢ Vim Æô¶¯£¬¸ù¾Ý .vimrc ÖÐÉèÖÃµÄ encoding µÄÖµÀ´ÉèÖà buffer¡¢²Ëµ¥Îı¾¡¢ÏûÏ¢ÎĵÄ×Ö·û±àÂ뷽ʽ¡£
2¡¢ ¶ÁÈ¡ÐèÒª±à¼­µÄÎļþ£¬¸ù¾Ý fileencodings ÖÐÁгöµÄ×Ö·û±àÂ뷽ʽÖðһ̽²â¸ÃÎļþ±àÂ뷽ʽ¡£²¢ÉèÖà fileencoding Ϊ̽²âµ½µÄ£¬¿´ÆðÀ´ÊÇÕýÈ·µÄ (×¢1) ×Ö·û±àÂ뷽ʽ¡£
3¡¢ ¶Ô±È fileencoding ºÍ encoding µÄÖµ£¬Èô²»Í¬Ôòµ÷Óà iconv ½«ÎļþÄÚÈÝת»»Îª encoding ËùÃèÊöµÄ×Ö·û±àÂ뷽ʽ£¬²¢ÇÒ°Ñת»»ºóµÄÄÚÈݷŵ½Îª´ËÎļþ¿ª±ÙµÄ buffer À´ËʱÎÒÃǾͿÉÒÔ¿ªÊ¼±à¼­Õâ¸öÎļþÁË¡£×¢Ò⣬Íê³ÉÕâÒ»²½¶¯×÷ÐèÒªµ÷ÓÃÍⲿµÄ iconv.dll (×¢2)£¬ÄãÐèÒª±£Ö¤Õâ¸öÎļþ´æÔÚÓÚ $VIMRUNTIME »òÕßÆäËûÁÐÔÚ PATH »·¾³±äÁ¿ÖеÄĿ¼Àï¡£
4¡¢ ±à¼­Íê³Éºó±£´æÎļþʱ£¬ÔÙ´Î¶Ô±È fileencoding ºÍ encoding µÄÖµ¡£Èô²»Í¬£¬Ôٴε÷Óà iconv ½«¼´½«±£´æµÄ buffer ÖеÄÎı¾×ª»»Îª fileencoding ËùÃèÊöµÄ×Ö·û±àÂ뷽ʽ£¬²¢±£´æµ½Ö¸¶¨µÄÎļþÖС£Í¬Ñù£¬ÕâÐèÒªµ÷Óà iconv.dll
ÓÉ ÓÚ


Ïà¹ØÎĵµ£º

¡¾×ª¡¿LINUXϵͳ³õʼ»¯¹ý³ÌÈ«½â

Ò»¡¢ ¸Å¿ö
¡¡¡¡ÏµÍ³µÄÒýµ¼ºÍ³õʼ»¯ÊDzÙ×÷ϵͳʵÏÖ¿ØÖƵĵÚÒ»²½£¬Ò²ÊǼ¯ÖÐÌåÏÖϵͳÓÅÁÓµÄÖØÒª²¿·Ö¡£LINUX×÷Ϊһ¸öÃâ·ÑµÄ×¼UNIX²Ù×÷ϵͳ£¬ÔÚÖÚ¶àÒµÓà°®ºÃÕßÒÔ¼°Ð¡ÐÍÉÌÒµ´¦ÀíÊг¡±íÏÖ²»Ë×£¬³ÉΪ¼ÌWINDOWSϵÁкóµÄÁíÒ»¸öÖ÷Á÷¡£Á˽âLINUXϵͳµÄ³õʼ»¯£¬¶ÔÓÚ½øÒ»²½ÕÆÎÕUNIXϵͳÊÇÊ®·ÖÓаïÖúµÄ¡£
ͨ³££¬LINUXϵͳµÄ³õʼ»¯¿ÉÒÔ· ......

LinuxÏ°²×°Oracle 10gÖÐÎÄÂÒÂë

ÔÚCenotOS 5.3ÖÐÎÄ»·¾³Ï°²×°Oracle 10g R2ʱ£¬½øÈëͼÐλ¯½çÃæºó£¬·¢ÏÖÖÐÎÄÂÒÂë¡£
ÔÚÍøÉÏËÑË÷ºó£¬·¢ÏÖÊÇÓÉÓÚLinuxÉÏûÓа²×°Oracle°²×°Ê±Ê¹ÓõÄ×ÖÌå¿âÔì³ÉµÄ¡£
´ÓÒÔÏÂÍøÕ¾ÏÂÔØ×ÖÌå¿â
http://download.csdn.net/source/1073202
È»ºóÔÚLinuxÏÂÖ´ÐÐÒÔÏÂÃüÁ°Ñ×ÖÌå¿â°²×°µ½ÏàӦλÖü´¿É
mkdir -p /usr/share/fonts/zh_CN ......

Red Hat Enterprise Linux 5°²×°VM ware Tools

RHEL5ÔÚ°²×°VM-wareTools¹ý³ÌÖгöÏÖÈçÏ´íÎó£º
What is the
location of the directory of C header files that match your running kernel?
[/usr/src/linux/include] The directory of kernel headers (version
2.6.18-8.el5xen) does not match
´Ë´íÎóÖ÷ÒªÊÇÏëÕÒLinuxÄں˵İüº¬Í·ÎļþÕÒ²»µ½¡£Òª½â¾ö´ËÎÊÌâÐèÒª° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ