Ubuntu linuxϵͳÏ°²×°C kermit´®¿Ú¹¤¾ß
½â¾ö²½Ö裺
gylu@dell-desktop:~$ sudo apt-get install ckermit
ÏÔʾ°²×°¹ý³Ì
gylu@dell-desktop:~$gedit ~/.kermrc
ÊäÈëÏÂÃæÄÚÈݺ󱣴æ.kermrcÍ˳ö:
set line /dev/ttyS0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5
c
gylu@dell-desktop:~$kermit
×¢ÒâÊÂÏ KermitÆô¶¯Ê±£¬ÓÃ~/.kermrcÀïµÄÄÚÈÝÅäÖô®¿Ú¡£ÔÚ½øÈëkermitÖ®ºóÒ²¿ÉÒÔͨ¹ýÊÖ¶¯ÊäÈëÕâЩÃüÁîÅäÖô®¿Ú£¬ÕâÑù×öÿ´ÎÆôÓô®¿Ú±È½ÏÂé·³¡£
ÔÚkermitÃüÁîÐÐÏÂÊäÈëc»òconnect¾Í¿ÉÒÔ½øÈë´®¿ÚÖն˽çÃ棬ÔÚ½çÃæÏÂÊäÈëctrl-\ c¿ÉÒÔÍ˳öÖն˽çÃæ»Øµ½ÃüÁîÐС£
Ïà¹ØÎĵµ£º
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
ÍøÉÏÒ»µÀ½ðɽµÄÃæÊÔÌ⣺
http://topic.csdn.net/u/20100524/14/0eff992a-2849-4db6-bdaa-d4a200e79b7c.html
Çë·Ö±ðÓÃC++µÄÃæÏò¶ÔÏóºÍ·ºÐÍ»úÖÆ£¬±àдʵÏÖTemplate MethodģʽµÄʾÀý´úÂ룬²¢±È½ÏÁ½ÖÖ·½Ê½¸÷×ÔµÄÓÅȱµã¡£
ÓÃÐ麯ÊýʵÏÖTemplate MethodµÄ·½Ê½¾Í²»¶à˵ÁË¡£Ó÷ºÐ͵ķ½Ê½ÊµÏÖ¶à̬ÔÚATLÀïÃæÓдóÁ¿µÄÓõ½£¡
·ºÐ͵ ......
/*
**ÅжÏC?ÐÐ??¾³µÄ³ÌÐò
*/
/*
**¾²?³õʼ»¯
*/
int static_variable=5;
void
f()
{
register int i1, i2, i3, i4, i5, i6, i7, i8, i9, i10;
register char *c1, *c2, *c3, *c4, *c5, *c6, *c7 , *c8, *c9, *c10;
extern int a_very_long_name_to_sec_how_long_they_can_be;
double ......
£¨1£©¸ÅÊö
Executable and linking format(ELF)ÎļþÊÇx86 LinuxϵͳϵÄÒ»ÖÖ³£ÓÃÄ¿±êÎļþ(object file)¸ñʽ£¬ELFÎļþ¸ñʽ±È½Ï¸´ÔÓ£¬±¾ÎÄÖ»ÊǼòÒª½éÉÜËüµÄ½á¹¹¡£ÓÐÈýÖÖÖ÷ÒªÀàÐÍ£º
(1)ÊÊÓÚÁ¬½ÓµÄ¿ÉÖض¨Î»Îļþ(relocatable file)£¬¿ÉÓëÆäËüÄ¿±êÎļþÒ»Æð´´½¨¿ÉÖ´ÐÐÎļþºÍ¹²ÏíÄ¿±êÎļþ¡£
(2) ......
MACµØַΪÍø¿¨µÄÎïÀíµØÖ·£¬ÔÚWindowsϵͳÏ·dz£ÈÝÒ×Ð޸ģ¬ÔÚlinuxģʽÏÂÔòÓÐЩ¸´ÔÓ£¬ ÎÒÃÇ¿´¿´VMwareÐéÄâ»úÖÐÐÞ¸ÄLinux MACµØÖ·µÄ·½·¨
·½·¨Ò»£º
Õâ¸ö·½·¨×îÖ±½Ó¼òµ¥ÓÐЧ£¬ÐÞ¸ÄLinuxϵͳÀïÏà¹Ørc.localÎļþMACÖµ¼´¿É¡£
·½·¨¶þ£º
ÐÞ¸ÄÐéÄâ»úµÄ*.vmxÎļþ,ÕâÖÖ·½·¨×îÖµµÃÍƼö£¬ÒòΪÕâÑù¾ÍÀàËÆÓÚÖØГÉÕ¼”ÁËVMw ......