ʹÓÃScreen´´½¨ÐéÄâÖն˱ÜÃâLinuxÔ¶³Ì¶ÏÏß
ά»¤LinuxµÄssh¹¤¾ßÔÚʹÓÃÖУ¬Ò»µ©Óöµ½ÍøÂçÖжϣ¬Ôòµ±Ç°µÄshell¾Í»á×Ô¶¯¹Ø±Õ
µ±Ç°µÄ¹¤×÷½ø¶È¾Í»á¶ªÊ§£¬Õâ¶ÔÓÚÔ¶³ÌÉý¼¶µÈ±È½ÏºÄ·Ñʱ¼äµÄ¹¤×÷ÊǷdz£²»ÀûµÄ
¶ÔÓÚÔ¶³Ìµ÷ÊÊ´úÂëÒ²ÊǺܲ»¿É¿¿²»°²È«µÄ
Ϊ´Ë£¬¿ÉÒÔʹÓÃscreenÕâ¸ö¹¤¾ßÀ´½â¾öÕâ¸öÎÊÌâ¡£
¶ÔÓÚ×îС»¯µÄlinux£¬Í¨³£screenÊDz»°üº¬ÔÚϵͳÄڵġ£
ÐèÒª²éÕÒ²Ù×÷ϵͳµÄ°²×°¹âÅÌ£¬ÀýÈç¶ÔÓÚAS4update4
ÔÚÆäÖеÄCD4.isoÀï±ß¿ÉÕÒµ½screen-4.0.2-5.i386.rpm
µ½·þÎñÆ÷ÉÏÖ´ÐÐrpm -ivh screen-4.0.2-5.i386.rpm¼´¿É°²×°Íê³É
´ò¿ªÒ»¸össhÖնˣ¬Ö´ÐÐscreen£¬²¢»Ø³µ£¬¼´¿É´´½¨ÁËÒ»¸öеÄÐéÄâÖÕ¶Ë
´ËʱÔÚÉϱßÖ´ÐеijÌÐò£¬Èç¹ûÓöµ½·þÎñÆ÷¶ÏÏßÊDz»»áÖжϵģ¬ÒÀÈ»»áÔÚºǫ́ÔËÐÐ
µ±ÐµÄsshÁ¬½Óµ½·þÎñÆ÷ºó£¬Ö´ÐÐscreen -x ¾Í¿ÉÒÔÁ¬½Óµ½¸Õ²ÅµÄÖÕ¶ËÁË
´ËÍ⣬ÀûÓÃscreen½¨Á¢µÄÖնˣ¬»¹¾ßÓÐʵʱÑÝʾµÄЧ¹û¡£
±ÈÈçÁ½¸öÓû§AºÍB£¬·Ö±ð´Ó±±¾©ºÍÉϺ£Ê¹ÓÃSSHÁ¬½Óµ½Ò»¸ö·þÎñÆ÷
AÏÈÖ´ÐÐScreen½¨Á¢ºÃÐéÄâÖնˣ¬BÖ´ÐÐscreen -xÁ¬½ÓÉÏÀ´
ÕâʱºòµÄÐéÄâÖÕ¶ËÊÇΨһµÄ£¬¾ÍÏñ¶þÈ˶¼ÔÚÏÔʾÆ÷Ç°Ò»Ñù
A¼üÈëµÄÃüÁîºÍÏÔʾµÄ½á¹û£¬B¶¼¿ÉÒÔʵʩ¿´µ½
B¼üÈëµÄÃüÁîºÍÊäÈë½á¹û£¬AÒ²¿ÉÒÔʵʩ¿´µ½
Òò´Ë£¬ÀûÓÃScreen£¬»¹¿ÉÒÔ½øÐÐÔ¶³Ì²Ù×÷ÑÝʾ¡¢ÅàѵµÈ
×¢Ò⣺
1) Èç¹û¶à´ÎÖ´ÐÐscreen£¬Ôò»á½¨Á¢¶à¸öÐéÄâÖնˡ£
µ±Ö´ÐÐscreen -xµÄʱºò£¬Ôò»á±»Ñ¯ÎÊ£¬ÒªÁ¬½Óµ½ÄÄÒ»¸öÐéÄâÖնˣ¬ÈçÏÂËùʾ£º
[root@idc root]# screen -x
There are several suitable screens on:
1408.pts-0.idc (Attached)
1382.pts-4.idc (Attached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
[root@idc root]#
Õâ¸öʱºò£¬ÒªÖ´ÐÐscreen -x £¬¾Í¿ÉÒÔÁ¬½Óµ½ÐèÒªµÄÖնˣ¬ÀýÈç
screen -x 1382.pts-4.idc£¬¼´¿ÉÁ¬½Óµ½ÃûΪ1382.pts-4.idcµÄÐéÄâÖÕ¶ËÉÏ¡£
2) Í˳öÐéÄâÖն˵ķ½·¨£ºÊ×ÏÈÓÃscreen -xÁ¬½Óµ½Öնˣ¬È»ºóÖ´ÐÐexit¼´¿ÉÍ˳öµ±Ç°Öնˡ£
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
VimºÍËùÓеÄÁ÷ÐÐÎı¾±à¼Æ÷Ò»Ñù£¬¿ÉÒԺܺõı༸÷ÖÖ×Ö·û±àÂëµÄÎļþ£¬Õ⵱Ȼ°üÀ¨ UCS-2¡¢UTF-8 µÈÁ÷ÐÐµÄ Unicode ±àÂ뷽ʽ¡£¶øÇҺͺܶàÀ´×Ô Linux ÊÀ½çµÄÈí¼þÒ»Ñù£¬ÕâÐèÒªÄã×Ô¼º¶¯ÊÖÉèÖá£
Vim ÓÐËĸö¸ú×Ö·û±àÂ뷽ʽÓйصÄÑ¡Ïencoding ¡¢fileencoding ¡¢fileencodings ¡¢termencoding (ÕâЩѡÏî¿ÉÄܵÄÈ¡ÖµÇë²Î¿¼ Vim ÔÚ ......