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

ÔÚlinux viÖ줻îÊó±êÖмü,ʵÏÖ¹ö¶¯»»ÐÐ £¨×ªÔØ£©

ÔÚlinux viÖ줻îÊó±êÖмü,ʵÏÖ¹ö¶¯»»ÐÐ
תÔØ×Ô http://www.cnblogs.com/starspace/archive/2009/05/15/1458050.html
ÏÈд¸ö×ÛÊö°É£¬ ÐèÒªÌõ¼þÈçÏ£¬ µÚÒ» vimµÄ±àÒëµÄʱºò´ò¿ªÁËgpm_mouseÖ§³Ö£¬ µÚ¶þ ϵͳ°²×°ÁËgpm·þÎñ
-----------------------------------------
ÓÃÒÔÏÂÃüÁî´ò¿ªÊó±ê:
:set mouse=a
·ñÔò Vim ²»»áÔÚËùÓÐģʽÏÂʶ±ðÊó±ê (¼û 'mouse')¡£
Ä¿Ç°£¬Êó±êÖ»ÓÐÔÚ Unix µÄ xterm ´°¿Ú¡¢Linux ÖÕ¶Ë (´ø GPM |gpm-mouse|)¡¢MS-DOS
ºÍ Windows ÖÕ¶ËÉϲÅÖ§³Ö¡£Êó±ê¼ü»÷¿ÉÒÔÓÃÀ´¶¨Î»¹â±ê£¬ÉèÖÃÇøÓò²¢Õ³Ìù¡£
'mouse' Ñ¡ÏîµÄ×Ö·û¾ö¶¨ Vim ÔÚʲô³¡ºÏÏ»áʹÓÃÊó±ê:
n ÆÕͨģʽ
v ¿ÉÊÓģʽ
i ²åÈëģʽ
c ÃüÁîÐÐģʽ
h ÔÚ°ïÖúÎļþÀÒÔÉÏËùÓеÄģʽ
a ÒÔÉÏËùÓеÄģʽ
r Ìø¹ý |hit-enter| Ìáʾ
A ÔÚ¿ÉÊÓģʽÏÂ×Ô¶¯Ñ¡Ôñ
'mouse' µÄȱʡֵΪ¿Õ£¬¼´²»Ê¹ÓÃÊó±ê¡£Í¨³£Äã»áÓÃ:
:set mouse=a
À´¿ªÊ¼Ê¹ÓÃÊó±ê (ÕâµÈ¼ÛÓÚÉèÖà 'mouse' Ϊ "nvich")¡£Èç¹ûÄãÖ»ÏëÔÚÈô¸ÉģʽÏ»òÕßÔÚ
ijÁ½¸öÈÎÎñÉÏʹÓÃÊó±ê£¬ÄãÐèҪרעÓÚÄÇЩģʽ¶ÔÓ¦µÄ×Öĸ¡£ÀýÈç:
:set mouse=nv
»áʹµÃÊó±êÔÚÆÕͨģʽºÍ¿ÉÊÓģʽϹ¤×÷¡£
:set mouse=h
»áʹµÃÊó±êÖ»ÓÐÔÚ°ïÖúÎļþÀ﹤×÷ (ÕâÑù£¬¿ÉÒÔÓà "g<LeftMouse>" À´½øÐбêÇ©Ìøת)¡£
Êó±êÄÜ·ñÔÚ¿ÉÊÓģʽ»òÕßÑ¡ÔñģʽÏ¿ªÊ¼Ñ¡Ôñ£¬¾ö¶¨ÓÚ "selectmode" Ñ¡Ïî°ü²»°üÀ¨
"mouse"¡£
___________________________
GPM Êó±êÖ»ÓÐÔÚ±àÒëʱ´ò¿ª |+mouse_gpm| ÌØÐÔ²ÅÓÐЧ¡£GPM Êó±êÇý¶¯ (Linux ÖÕ¶Ë) ²»
Ö§³ÖËÄ»÷¡£
²åÈëģʽÏ£¬µ«Ñ¡Ôñ¿ªÊ¼Ê±£¬Vim ÔÝʱ»Øµ½ÆÕͨģʽ¡£ÔÚ¿ÉÊÓ»òÕßÑ¡Ôñģʽ½áÊøʱ£¬ÓÖ»Ø
µ½²åÈëģʽ¡£ÕâÀàËÆÓÚÔÚ²åÈëģʽÏÂʹÓà CTRL-O µÄÇéÐΡ£Ñ¡ÔñģʽÔÚ 'selectmode' Ñ¡
Ïî°üº¬ "mouse" ʱ±»Ê¹Óá£
¹öÂÖÊó±êºÜ°ô°É£¿ÎÒÃÇÒªÔÚ Vi ³ÌÐòÏÂÒ²ÒªÈÃËû¹ö¶¯¡£
²»±ØÈ¥°´ Ctrl-F/Ctrl-B ÁË£¡
Èç¹ûÄãÏñÎÒÄÇÑùϲ»¶ÔÚ xterm ÏÂʹÓà Vim À´±à¼­Îļþ£¬ÄÇô¶ÔÓÚÔÚVim ÏÂÄÜʹÓùöÂÖÊó±êÒ»¶¨·Ç³£ÉñÍù¡£±¾ÎĵÄÕâ¸öС¼¼ÇɱãÄÜ°ïÖúÄãʵÏÖÕâ¸öÃÎÏë¡£
ÄãÐèÒª°ÑÏÂÃæµÄ´úÂë·ÅÈë~/.Xdefaults Îļþ£º
XTerm*VT100.Translations: #override "n"
: string("0x9b") string("[64~") "n"
: string("0x9b") string("[65~") "n"
: string("0x9b") string("[62~") "n"
: string("0x9b") string("[63~") "n"
: "n"
:
È»ºó£¬ÐÞ¸Ä vimrc Îļþ£¬ÎªÒÔÉϵİ󶨽¨Á¢Ó³É䣺
map [62~
map! [62~
map [6


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

Linux alsa×ÊÁÏÊÕ¼¯

ת×Ô£ºhttp://blog.chinaunix.net/u1/44908/showart_1869167.html
 # LinuxÖÐÓÃALSAÇý¶¯Éù¿¨Á÷³ÌÏê½â£ºhttp://www.linuxsir.org/main/?q=node/67
±±ÄÏÄϱ±ÐÖµÄÎÄÕ£¬±È½ÏÏêϸµÄ½²½âÁËÔÚlinuxϽâ¾öALSAÇý¶¯Éù¿¨ÎÊÌâµÄÁ÷³Ì£¬¸´Ï°ÁËÉù¿¨¼ì²â»òÕßÉ豸¼ì²âµÄÐí¶àÃüÁ²»´íµÄ×ÊÁÏ£¬Ö»ÊÇÏÖÔÚÎÊÌ⻹û½â¾ö¡£
# alsa-proj ......

linuxÊäÈë·¨µÄ°²×°ÉèÖÃ


      ¸Õ²Å˼¿¼ÁËһϸôÓÄÄÀï˵Æð±È½ÏºÃ£¬ÒòΪÎÒ²»ÏëÇ£³¶Ì«¶àºÍÖ÷ÌâÎ޹صÄÄÚÈÝ£¬·ñÔòһ˵¾ÍÄÑÒÔÊÕסÁË£¬²¢ÇÒʹµÃÖ÷Ìⲻͻ³ö£¬É¥Ê§Á˱¾ÎĵijõÖÔ¡£µ«ÊÇ¿¼Âǵ½´ó¼Òˮƽ²î±ðºÜ¶à£¬ÎªÁËÕչ˴ó¶àÊý£¬Òò´ËÎÒ»á°ÑÎÒ¾õµÃÓ¦¸ÃÌáµ½µÄ¶«Î÷¼òµ¥ËµÒ»Ï£¬Äܹ»ÈöÁÕß¿´Íê±¾ÎÄÒÔºó²»½öÖªµÀÈçºÎ×ö£¬»¹ÄÜÀí½âΪʲôÕâô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ