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

ǶÈëʽlinuxÏÂQT3/EmbeddedµÄÊäÈëÉ豸Çý¶¯½Ó¿Ú

Ò»¡¢Qt3/EmbeddedµÄÊäÈëÉ豸µÄÇý¶¯½Ó¿ÚʵÏÖÔ­Àí·ÖÎö
       1¡¢Qt3/Embedded°ÑÓëµ×²ãÓ²¼þÏà¹ØµÄÔ´Îļþͳһ·ÅÔÚsrc/embeddedĿ¼Ï£¬ËùÒÔÎÒÃÇ×îºÃÒ²°Ñ×Ô¼ºµÄÉ豸Çý¶¯½Ó¿ÚÎļþ·Åµ½´ËĿ¼¡£
2¡¢Qt/EmbeddedÖеÄÊäÈëÉ豸·ÖΪÊó±êÀàÓë¼üÅÌÀà¡£ÔÚ3.x°æ±¾ÏµÁÐÖУ¬Êó±êÉ豸µÄ³éÏó»ùÀàΪQWSMouseHandler£¬ÔÚsrc /embedded/qmouse_qws.hÖж¨Ò壬¼üÅÌÉ豸µÄ³éÏó»ùÀàΪQWSKeyboardHandler£¬ÔÚsrc/embedded /qkbd_qws.hÖж¨Òå¡£¶ÔÓÚ¾ßÌåµÄÊäÈëÉ豸ÎÒÃÇÔò´ÓÕâÁ½¸ö»ùÀàÖØÐÂÅÉÉú³öËüµÄʵÏÖÀà¡£
3¡¢ÏµÍ³¼ÓÔعý³Ì·ÖÎö¡£Qt/EmbeddedÔÚÌåϵÉÏΪC/S½á¹¹£¬ÈκÎÒ»¸öQt/Embedded³ÌÐò¶¼¿ÉÒÔ×÷ΪϵͳÖÐΨһµÄÒ»¸öGUI Server´æÔÚ¡£µ±Ó¦ÓóÌÐòÊ×´ÎÒÔϵͳGUI ServerµÄ·½Ê½¼ÓÔØʱ£¬½«½¨Á¢QWSServerʵÌå¡£ÔÚϵͳ¼ÓÔع¹ÔìQWSServerʱ£¬½«»áµ÷ÓÃQWSServer::openMouseÓë QWSServer::openKeyboardº¯Êý (½¨Á¢QWSServerʵÌåµÄÔ´ÎļþÊÇsrc/kernel/qwindowsystem_qws.cpp)¡£ÕâÁ½¸öº¯Êý·Ö±ðµ÷Óà QMouseDriverFactory::create()ÓëQKbdDriverFactory::create()º¯Êý£¬ËüÃÇ·Ö±ðÊÇÔÚ src/embedded/qmousedriverfactory_qws.hºÍsrc/embedded /qkbddriverfactory_qws.hÖж¨Òå¡£Õâʱ»á¸ù¾ÝǶÈëʽLinuxϵͳµÄ»·¾³±äÁ¿QWS_MOUSE_PROTOÓë QWS_KEYBOARD»ñµÃÊó±êÀàÉ豸ºÍ¼üÅÌÀàÉ豸µÄÉ豸ÀàÐͺÍÉ豸½Úµã¡£´ò¿ªÏàÓ¦É豸²¢·µ»ØÏàÓ¦É豸µÄ»ùÀà¾ä±úÖ¸Õë¸øϵͳ£¬ÏµÍ³Í¨¹ý½«¸Ã»ùÀàÖ¸ÁîÇ¿ÖÆת»»Îª¶ÔÓ¦µÄ¾ßÌå×ÓÀàÉ豸ָÕ룬»ñµÃ¶Ô¾ßÌåÊó±êÀàÉ豸ºÍ¼üÅÌÀàÉ豸µÄµ÷ÓòÙ×÷¡£Ò²¾ÍÊÇ˵£¬ÎÒÃÇÖ»Òª°Ñ×Ô¼ºµÄÉ豸Àà·ÅÔÚcreate()º¯ÊýÖм´¿É¡£µ÷ÓùØϵÈçÏ£º
QWSServer::openMouse() à QMouseDriverFactory::create() à MyMouseHandler ← QWSMouseHandler
Êó±ê½Ó¿ÚµÄ¼ÓÔعý³Ì
QWSServer::openKeyboard() à QKbdDriverFactory::create() à MyKeyboarddHandler ← QWSKeyboardHandler
¼üÅ̽ӿڵļÓÔعý³Ì
¶þ¡¢ÔÚQTEÖÐʵÏÖ×Ô¼ºµÄÉ豸Çý¶¯½Ó¿Ú
    ¾­¹ýÉÏÃæµÄ·ÖÎö¿ÉÒÔ·¢ÏÖ£¬ÒªÔÚQTEÖÐʵÏÖ×Ô¼ºµÄÉ豸½Ó¿ÚÆäʵÊǺÜÈÝÒ×µÄÊÂÇé¡£ÏÂÃæÒÔ¼üÅ̽ӿڵÄʵÏÖΪÀý£¬¼òµ¥½éÉÜһϾßÌåµÄʵÏÖ¹ý³Ì£¬Êó±ê½Ó¿ÚÒ²ÊDz¶àµÄ¡£
ÔÚQTEÖÐʵÏÖ×Ô¼ºµÄ¼üÅ̽ӿÚÖ»ÐèÒªÈý²½£º
1¡¢´Ó³éÏó»ùÀàQWSKeyboardHandlerÅÉÉú³ö¾ßÌåÀ࣬ÈçMyKbdHandler¡£Îª´ËÎÒÃÇÔÚQTEµÄ×ÓĿ¼src/embeddedÖÐн¨Á½¸öÎļþmykbd_qws.hºÍmykbd_qws.cpp£¬ÄÚÈÝÈçÏ£º
(1) mykbd_qws.hµÄÄÚÈÝ£º
#ifndef MYKBD_


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

Unix/Linux³£ÓÃÃüÁî—Îı¾´¦Àí

sortÃüÁî
sortÃüÁîµÄ¹¦ÄÜÊǶÔÎļþÖеĸ÷ÐнøÐÐÅÅÐò¡£sortÃüÁîÓÐÐí¶à·Ç³£ÊµÓõÄÑ¡ÏÕâЩѡÏî×î³õÊÇÓÃÀ´¶ÔÊý¾Ý¿â¸ñʽµÄÎļþÄÚÈݽøÐи÷ÖÖÅÅÐò²Ù×÷µÄ¡£Êµ¼ÊÉÏ£¬sortÃüÁî¿ÉÒÔ±»ÈÏΪÊÇÒ»¸ö·Ç³£Ç¿´óµÄÊý¾Ý¹ÜÀí¹¤¾ß£¬ÓÃÀ´¹ÜÀíÄÚÈÝÀàËÆÊý¾Ý¿â¼Ç¼µÄÎļþ¡£
SortÃüÁÖðÐжÔÎļþÖеÄÄÚÈݽøÐÐÅÅÐò£¬Èç¹ûÁ½ÐеÄÊ××Ö·ûÏàͬ£¬¸ÃÃüÁî½ ......

ÐÞ¸ÄlinuxĬÈϱàÂë

export£ºÉèÖûòÏÔʾ»·¾³±äÁ¿¡£
Óï¡¡¡¡·¨£ºexport [-fnp][±äÁ¿Ãû³Æ]=[±äÁ¿ÉèÖÃÖµ]
²¹³ä˵Ã÷£ºÔÚshellÖÐÖ´ÐгÌÐòʱ£¬shell»áÌṩһ×é»·¾³±äÁ¿¡£export¿ÉÐÂÔö£¬Ð޸Ļòɾ³ý»·¾³±äÁ¿£¬¹©ºóÐøÖ´ÐеijÌÐòʹÓá£exportµÄЧÁ¦½ö¼°Óڸô˵ǽ²Ù×÷¡£
²Î¡¡¡¡Êý£º
¡¡-f ¡¡´ú±í[±äÁ¿Ãû³Æ]ÖÐΪº¯ÊýÃû³Æ¡£ 
¡¡-n ¡ ......

OUI 25031 linux°²×°oracle

/etc/hostsÒ»¶¨ÒªÓÐÑϸñµÄ¸ñʽ!!!
grid control 10.2.0.1.1°²×°×¢ÒâÊÂÏî
1.hostname
ÍøÂ磺
    ¾¡Á¿Ê¹Óþ²Ì¬IP£¬/etc/hostsµÄÎļþ¸ñʽºÜÖØÒª£¬²»ÖªµÀÊǸöBUG»¹ÊÇÒªÇó¾ÍÊÇÄÇôÑϸñ¡£ÎÒÒ»¿ªÊ¼¾ÍÊÇÔÚÕâ³ÔµÄ¿÷£¬ÔÚprecheckÐèÇóµÄʱºòºöÂÔÁË/etc/hosts¼ì²éʧ°ÜµÄ´íÎ󣬽á¹û°²×°Èí¼þûÎÊÌ⣬µ«ÅäÖõÄʱºò³ö´í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ