LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: lanzinc

zhcon 0.2.6 PKGBUILD 和 path

[复制链接]
 楼主| 发表于 2006-8-15 19:21:55 | 显示全部楼层
求助!!!!!!!!!!!!!!

有谁能在zhcon里使用输入法和热键的吗???

--------------------------------------------
  1. [root@206studio ~]# cat .zhconrc
  2. #this is config file for zhcon
  3. #it can be named as ~/.zhconrc or /etc/zhcon.conf
  4. #you can edit it manually
  5. zhconpath = /usr/lib/zhcon/
  6. #unicon(3.x) path
  7. #uniconpath = /usr/lib/unicon/
  8. #defaultencode: default encoding can be :gb2312,gbk,big5,jis,ksc
  9. defaultencode = gb2312
  10. #autoencode: auto detect current Chinese encoding(GB2312 or BIG5)
  11. #when autoencode is set zhcon will try to detect current Chinese encoding
  12. #after idle 1 second and change current Chinese encoding to
  13. #GB2312 or BIG5.This function is useful if you are viewing many text files
  14. #with different encoding type.
  15. #auto,auto-gb,auto-big5,manual
  16. autoencode = auto
  17. #screen resolution
  18. #NOTE:
  19. # 1) These only works on FreeBSD. On Linux these options will be IGNORED!
  20. # 2) If your FreeBSD kernel has VESA support compiled in(with
  21. #    "options VESA") and your display adapter support VESA(most cards will
  22. #    do), you can set color_depth to 8 or higher. This means you can use
  23. #    640x480x256 colors, 640x480x65536 colors, 800x600x256 colors...etc
  24. #    BUT you will not able to use 640x480x16 colors! (Of course I don't
  25. #    think you will want to run 16 colors mode at all :))
  26. # 3) If your FreeBSD kernel has not VESA support(or you even don't know
  27. #    what's kernel or what's VESA), you can only set color_depth to 4.
  28. #    That is, you can only run 16 colors mode(VERY slowly).
  29. # 4) Ok, if you don't understand me at all, it's OK. Just go and find a
  30. #    FreeBSD wizard and ask him to compile a new kernel with VESA support
  31. #    for you and ... emmmm ... explain all these stuff to you ...
  32. #
  33. x_resolution = 800
  34. y_resolution = 600
  35. # 4 bits = 16 colors, 8 bits = 256 colors, 16 bits = 64K colors, and so on..
  36. # By defalut, 640X480X16 color is used to support as many video cards as
  37. # possible. zhcon works very SLOWLY under this mode. You should try setting
  38. # color_depth=8 to use 256 color (VESA mode) after recompiling your kernel
  39. # with VESA support to gain most out of your hardware.
  40. color_depth = 4
  41. #blanklineheight must >= 0
  42. blanklineheight = 1
  43. #0, default(block); 1, none; 2, underline
  44. #3, 1/3 block; 4, 1/2 block; 5, 2/3 block; 6, block
  45. cursortype = 6
  46. beep = on
  47. #whether to display startup message
  48. startupmsg = on
  49. #whether to enter prompt mode when start
  50. #you can enter prompt mode by press CTRL-ALT-0
  51. promptmode = on
  52. # set font name, all font must be placed in PREFIX/lib/zhcon/
  53. # for use with 24 pixel font
  54. # ascfont = font/asc24.bpsf
  55. # gbfont = font/gb-24-kai.bpsf
  56. ascfont = font/asc16.bpsf
  57. gbfont = font/gb-16.bpsf
  58. gbkfont = font/gbk-16.bpsf
  59. big5font = font/big5-16.bpsf
  60. jisfont = font/jis-16.bpsf
  61. kscfont = font/ksc-16.bpsf
  62. #inputstyle: overspot or nativebar
  63. inputstyle = nativebar
  64. # color scheme format
  65. # text's fore, back, color1, color2, frame's light, dark color
  66. # change push style to pop by swap frame's light/dark color
  67. # red style = 15,4,11,14,12,0
  68. # blue style = 15,1,11,14,9,0
  69. # white style = 0,7,1,1,15,8
  70. overspotcolor = 0,7,1,1,15,8
  71. nativebarcolor = 15,4,11,14,0,12
  72. showtips = on
  73. #change input method here
  74. #the first ime is the default ime when press CTRL_SPACE
  75. #only the first nine imes are avaiable to zhcon
  76. #you can add more ime from Chinput's config file
  77. #format: ime = imename,module,table,encode,type
  78. #imename := <input method's name>
  79. #module := <module file name>
  80. #table := <table file name>
  81. #encode := gb2312 | gbk | big5
  82. #type := native | unicon
  83. ime = Quanpin,,input/winpy.mb,gb2312,native
  84. ime = Pingyin,,input/py.mb,gb2312,native
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-8-15 21:08:06 | 显示全部楼层
我的刚装上能用热键和输入法的,现在不行了,郁闷
回复 支持 反对

使用道具 举报

发表于 2006-11-19 10:15:25 | 显示全部楼层
Post by lanzinc
是configure时的参数?
还是zhcon 的参数?

-----------------------------------------

用过的人热键都能用吗???
我这问题还没解决呢,看原代码看得头晕
--------------------------------------------


运行zhcon:
zhcon --utf8
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表