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

zzlinuxÏÂÀûÓÃman²é¿´Cº¯ÊýºÍÖÐÎÄmanÅäÖÃ

ÔÚLinuxÏÂд³ÌÐò£¬Óöµ½Ò»¸öº¯Êý²»ÖªµÀÔõôÓþ͵ÃÉÏÍøÈ¥²é£¬Ã»ÓÐÀàËÆMSDNÖ®ÀàµÄÈí¼þ£¬·³µÃºÜ¡£¿´µ½ÍøÉϺܶàÈ˶¼ËµÓÃmanºÜ·½±ã£¬Ö»ÒªmanÒ»ÏÂÄãÏëÁ˽âµÄº¯Êý¾ÍÐÐÁË£¬¿ÉÎÒÔÚmanÖ®ºóʲô¶¼µÃ²»µ½£¬±ÈÈç man printf£¬½á¹û¾ÍÊÇûÓÐÈë¿Ú
½ñÌìרÃÅÉÏÍøËÑÁËÏ£¬·¢ÏÖÔ­À´ÊÇÒòΪUbuntuĬÈÏûÓÐ×°manpages-dev£¬¶øº¯Êý¶¼ÔÚÕâ¸ö°üÀ°ÑÕâ¸ö°²×°ÉÏ£¬¹ûÈ»¾ÍÄÜÓÃmanÀ´²éº¯ÊýÁË¡£
»¹ÓÐÒ»¸ömanpages-zh£¬ÊÇÖÐÎĵİïÖú£¬°ÑÕâ¸ö°²×°°ü×°ÉÏ£¬ÔÙ¸ÄЩÅäÖþÍÄÜ¿´µ½ÖÐÎĵİïÖúÁË¡£
Ê×ÏÈ£¬±àÂëÒª¸ÄΪutf8µÄ£¬ÓÖÊÇÕâ¸ÃËÀµÄ±àÂëÎÊÌâ……ÓÃÏÂÃæÕâ¸ö½Å±¾£¬Ëæ±ã´æ³É¸ö.shÎļþ£¬±ÈÈ磺chman.sh£¬È»ºóÔÚµ±Ç°Ä¿Â¼ÏÂÖ´ÐÐ sudo sh ./chman.sh
#!/bin/bash
for k in /usr/share/man/zh_CN/*/*.gz; do
echo $k
j=`echo $k | sed “s/\.gz$//”`
gunzip $k
iconv -f gb18030 -t utf8 $j > tmp
mv tmp $j
gzip $j
done
Õâʱ¾Í¿ÉÒÔÓÃ
man -M /usr/share/man/zh_CN printf
À´²é¿´printfµÄÖÐÎÄ°ïÖúÁË¡£
ÿ´Î¶¼ÊäÈëÕâô³¤µÄÃüÁîʵÔÚÊÇÌ«·³ÁË£¬ÍøÉÏÓÐÁ½ÖÖ·½·¨
1. alias cman=’man -M /usr/share/man/zh_CN’
    ÖØÃüÃûһϣ¬ÔÚÕâ¸öÖÕ¶ËÖоÍÄÜÓÃcmanÀ´²é¿´ÖÐÎÄ°ïÖúÁË¡£°ÑÕâÒ»ÐмÓÈëµ½
/etc/profileÖÐÈ¥£¬ÒÔºó¾Í¶¼ÄÜÓÃcmanÁË£¬²»¹ý»¹ÓкܶàûÓÐÖÐÎĵİïÖú£¬¾Í»¹µÃÓÃmanÁË
2. ¸Ä/etc/manpath.configÎļþ£¬ÔÚ/usr/share/manÇ°Ãæ¼ÓÉÏ/usr/share/man/zh_CN£¬¼´°ÑAMNPATH_MAPÕâ¶Î¸Ä³ÉÈçÏÂËùʾ£¬ÕâÑùman¾Í»áÏÈÔÚzh_CNµÄĿ¼ÖÐËÑË÷ÁË£¬Ã»ÓÐÖÐÎÄ°ïÖúʱ£¬¾Í»á¸ø³öÓ¢ÎĵÄ
#———————————————————
# set up PATH to MANPATH mapping
# ie. what man tree holds man pages for what binary directory.
#
# *PATH* -> *MANPATH*
#
MANPATH_MAP /bin /usr/share/man/zh_CN /usr/share/man
MANPATH_MAP /usr/bin /usr/share/man/zh_CN /usr/share/man
MANPATH_MAP /sbin /usr/share/man/zh_CN /usr/share/man
MANPATH_MAP /usr/sbin /usr/share/man/zh_CN /usr/share/man
MANPATH_MAP /usr/local/bin /usr/local/man
MANPATH_MAP /usr/local/bin /usr/local/share/man
MANPATH_MAP /usr/local/sbin /usr/local/man
MANPATH_MAP /usr/local/sbin /usr/local/share/man
MANPATH_MAP /usr/X11R6/bin /u


Ïà¹ØÎĵµ£º

qtʵÏÖµÄÒ»¸ö¶íÂÞ˹·½¿éµÄ³ÌÐò ·½¿éÇøcÎļþ

//-----------------------------------------------------------------------------------------------------
//BY:yuyongbao
//QQ:673360056
//-----------------------------------------------------------------------------------------------------
#include "tetrixboard.h"
/*  ZShape ,  &nb ......

CºÍC++±à³ÌºÍѧϰÎĵµ

 CºÍC++±à³ÌºÍѧϰÎĵµ
1  :Ö¸Õë±äÁ¿Ãû³ÆÒÔpΪÊ××Ö·û£¬ÕâÊdzÌÐòԱͨ³£ÔÚ¶¨ÒåÖ¸ÕëʱµÄÒ»¸öÏ°¹ß
2  :har * p;    (int *)p °ÑpÇ¿ÖÆת»»ÎªintÐÍ                        ......

¶¨ÒåC/C++È«¾Ö±äÁ¿/³£Á¿¼¸ÖÖ·½·¨µÄÇø±ð

ÔÚÌÖÂÛÈ«¾Ö±äÁ¿Ö®Ç°ÎÒÃÇÏÈÒªÃ÷°×¼¸¸ö»ù±¾µÄ¸ÅÄ
 
1. ±àÒëµ¥Ôª(Ä£¿é)£º
    ÔÚIDE¿ª·¢¹¤¾ß´óÐÐÆäµÀµÄ½ñÌ죬¶ÔÓÚ±àÒëµÄһЩ¸ÅÄîºÜ¶àÈËÒѾ­²»ÔÙÇå³þÁË£¬ºÜ¶à³ÌÐòÔ±×îŵľÍÊÇ´¦ÀíÁ¬½Ó´íÎó(LINK ERROR), ÒòΪËü²»Ïñ±àÒë´íÎóÄÇÑù¿ÉÒÔ¸ø³öÄã³ÌÐò´íÎóµÄ¾ßÌåλÖã¬Äã³£³£¶ÔÕâÖÖ´íÎó¸Ðµ½°ÃÄÕ£¬µ«ÊÇÈç¹ûÄã¾ ......

linux ϵͳÏÂʹÓÃC³ÌÐòʵÏÖʱÖӵĺ¯Êý

#include "stdio.h"
#include "math.h"
#include "time.h"
#define INTERVAL 1  ¶¨ÒåºêµÄʱ¼ä¼ä¸ôΪ1Ãë
//
void On_Time()  //ÿһÃ뼤·¢µÄʼþ
{
   printf("now=%s\n","JJK"); 
}
void Timer()  //ʱÖӵĺ¯Êý
{  time_t newclk,oldclk;
   while(1)
 &nb ......

EVE˵˵ÐÂÈËÉÏÊÖC×å

ÐÂÈ˸տªÊ¼Íæ×îºÃ½¨¸öÃâ·ÑºÅÏÈÊìϤÏÂÓÎÏ·£¬ÏÈ°ÑÐÂÊֽ̳Ì×öÍ棬½Ì³ÌÒªÂýÂý×ö£¬°Ñÿһ²½½ÌµÄ¶¼Ñ§µ½¡£ÎÒÇ¿ÁÒBS×öÍê½Ì³Ì»¹²»»áÍê˵½Ì³Ì²»ºÃµÄÈË£¬ÒÔÇ°ÎÒÍêÅ··þ¶¼ÊÇ×öÍê½Ì³Ì¾ÍÄÜ¿ªÊ¼ÍêÁË£¬ÎÒ»¹ÊÇÓõĽðɽ¿ìÒë2002µÄ£¬¸Â¸Â¡£
ÑÔ¹éÕý´«£¬ÐÂÈË×öÍê½Ì³Ì×îºóµÄ2¸öÈÎÎñÊÖÉϸÃÓÐ10W¶àÁË£¨×îºóµÄÄǸö´úÀíÈËÈÎÎñ²»×ö½Ì³ÌÒ²¿ÉÒÔÖ±½Ó×ö£©£¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ