LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: dyhml

Perfect Console 计划

[复制链接]
发表于 2007-7-16 01:05:04 | 显示全部楼层
这个帖子好。准备开始折腾。
回复 支持 反对

使用道具 举报

发表于 2007-7-23 16:37:55 | 显示全部楼层
zhcon-0.2.6
$ zhcon --utf8
只能是默认的 640 * 480
如何能使用 800 * 600 或者 1024 * 768 分辨率呢?

已经修改过 /usr/etc/zhcon.conf 文件了

这是修改后的内容:
  1. #this is config file for zhcon
  2. #it can be named as ~/.zhconrc or /etc/zhcon.conf
  3. #you can edit it manually
  4. #zhconpath = /usr/local/lib/zhcon/
  5. #unicon(3.x) path
  6. uniconpath = /usr/lib/unicon/
  7. #defaultencode: default encoding can be :gb2312,gbk,big5,jis,ksc
  8. defaultencode = gb2312
  9. #autoencode: auto detect current Chinese encoding(GB2312 or BIG5)
  10. #when autoencode is set zhcon will try to detect current Chinese encoding
  11. #after idle 1 second and change current Chinese encoding to
  12. #GB2312 or BIG5.This function is useful if you are viewing many text files
  13. #with different encoding type.
  14. #auto,auto-gb,auto-big5,manual
  15. autoencode = manual
  16. #screen resolution
  17. #NOTE:
  18. # 1) These only works on FreeBSD. On Linux these options will be IGNORED!
  19. # 2) If your FreeBSD kernel has VESA support compiled in(with
  20. #    "options VESA") and your display adapter support VESA(most cards will
  21. #    do), you can set color_depth to 8 or higher. This means you can use
  22. #    640x480x256 colors, 640x480x65536 colors, 800x600x256 colors...etc
  23. #    BUT you will not able to use 640x480x16 colors! (Of course I don't
  24. #    think you will want to run 16 colors mode at all :))
  25. # 3) If your FreeBSD kernel has not VESA support(or you even don't know
  26. #    what's kernel or what's VESA), you can only set color_depth to 4.
  27. #    That is, you can only run 16 colors mode(VERY slowly).
  28. # 4) Ok, if you don't understand me at all, it's OK. Just go and find a
  29. #    FreeBSD wizard and ask him to compile a new kernel with VESA support
  30. #    for you and ... emmmm ... explain all these stuff to you ...
  31. #
  32. #x_resolution = 640
  33. #y_resolution = 480
  34. x_resolution = 1024
  35. y_resolution = 768
  36. # 4 bits = 16 colors, 8 bits = 256 colors, 16 bits = 64K colors, and so on..
  37. # By defalut, 640X480X16 color is used to support as many video cards as
  38. # possible. zhcon works very SLOWLY under this mode. You should try setting
  39. # color_depth=8 to use 256 color (VESA mode) after recompiling your kernel
  40. # with VESA support to gain most out of your hardware.
  41. #color_depth = 4
  42. color_depth = 16
  43. #blanklineheight must >= 0
  44. blanklineheight = 1
  45. #0, default(block); 1, none; 2, underline
  46. #3, 1/3 block; 4, 1/2 block; 5, 2/3 block; 6, block
  47. cursortype = 6
  48. beep = on
  49. #whether to display startup message
  50. startupmsg = on
  51. #whether to enter prompt mode when start
  52. #you can enter prompt mode by press CTRL-ALT-0
  53. promptmode = off
  54. # set font name, all font must be placed in PREFIX/lib/zhcon/
  55. # for use with 24 pixel font
  56. # ascfont = font/asc24.bpsf
  57. # gbfont = font/gb-24-kai.bpsf
  58. ascfont = font/asc16.bpsf
  59. gbfont = font/gb-16.bpsf
  60. gbkfont = font/gbk-16.bpsf
  61. big5font = font/big5-16.bpsf
  62. jisfont = font/jis-16.bpsf
  63. kscfont = font/ksc-16.bpsf
  64. #inputstyle: overspot or nativebar
  65. inputstyle = overspot
  66. # color scheme format
  67. # text's fore, back, color1, color2, frame's light, dark color
  68. # change push style to pop by swap frame's light/dark color
  69. # red style = 15,4,11,14,12,0
  70. # blue style = 15,1,11,14,9,0
  71. # white style = 0,7,1,1,15,8
  72. overspotcolor = 0,7,1,1,15,8
  73. nativebarcolor = 15,4,11,14,0,12
  74. showtips = on
  75. #change input method here
  76. #the first ime is the default ime when press CTRL_SPACE
  77. #only the first nine imes are avaiable to zhcon
  78. #you can add more ime from Chinput's config file
  79. #format: ime = imename,module,table,encode,type
  80. #imename := <input method's name>
  81. #module := <module file name>
  82. #table := <table file name>
  83. #encode := gb2312 | gbk | big5
  84. #type := native | unicon
  85. ime = 全拼,,input/winpy.mb,gb2312,native
  86. ime = 五笔,,input/wb.mb,gb2312,native
  87. ime = 双拼,,input/winsp.mb,gb2312,native
  88. ime = ︽30,,input/big5-ary30.mb,big5,native
  89. ime = 緀,,input/big5-cj.mb,big5,native
  90. ime = 猔,,input/big5-phone.mb,big5,native
  91. ime = 礚郊μ,,input/big5-liu5.mb,big5,native
  92. ime = 智能拼音,cce_pinyin.so,cce,gb2312,unicon
  93. ime = GBK拼音,TL_hzinput.so,gbk/gbkpy_mb.tab,gbk,unicon
  94. ime = 自然码,TL_hzinput.so,gb/zrm-2.tab,gb2312,unicon
  95. ime = 惧块な,TL_hzinput.so,big5/pinyin.tab,big5,unicon
  96. ime = 緀块,TL_hzinput.so,big5/cj.tab,big5,unicon
  97. ime = 虏�块,TL_hzinput.so,big5/simplex.tab,big5,unicon
  98. ime = 全拼2,,input/py.mb,gb2312,native
  99. ime = 双拼2,,input/py.mb,gb2312,native
  100. ime = 大众,,input/dzm.mb,gb2312,native
  101. ime = 英中,,input/ed.mb,gb2312,native
  102. ime = 简拼,,input/jp.mb,gb2312,native
  103. ime = 普通,,input/pt.mb,gb2312,native
  104. ime = 五笔二维,,input/wbew.mb,gb2312,native
  105. ime = 五笔划,,input/wbh.mb,gb2312,native
  106. ime = 繁体仓颉,,input/cjf.mb,gb2312,native
  107. ime = 简体仓颉,,input/cjj.mb,gb2312,native
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-7-23 19:14:38 | 显示全部楼层
Post by huohuliaisili
zhcon-0.2.6
$ zhcon --utf8
只能是默认的 640 * 480
如何能使用 800 * 600 或者 1024 * 768 分辨率呢?

已经修改过 /usr/etc/zhcon.conf 文件了

这是修改后的内容:
  1. #this is config file for zhcon
  2. #it can be named as ~/.zhconrc or /etc/zhcon.conf
  3. #you can edit it manually

  4. #zhconpath = /usr/local/lib/zhcon/

  5. #unicon(3.x) path
  6. uniconpath = /usr/lib/unicon/

  7. #defaultencode: default encoding can be :gb2312,gbk,big5,jis,ksc
  8. defaultencode = gb2312

  9. #autoencode: auto detect current Chinese encoding(GB2312 or BIG5)
  10. #when autoencode is set zhcon will try to detect current Chinese encoding
  11. #after idle 1 second and change current Chinese encoding to
  12. #GB2312 or BIG5.This function is useful if you are viewing many text files
  13. #with different encoding type.
  14. #auto,auto-gb,auto-big5,manual
  15. autoencode = manual

  16. #screen resolution
  17. #NOTE:
  18. # 1) These only works on FreeBSD. On Linux these options will be IGNORED!
  19. # 2) If your FreeBSD kernel has VESA support compiled in(with
  20. #    "options VESA") and your display adapter support VESA(most cards will
  21. #    do), you can set color_depth to 8 or higher. This means you can use
  22. #    640x480x256 colors, 640x480x65536 colors, 800x600x256 colors...etc
  23. #    BUT you will not able to use 640x480x16 colors! (Of course I don't
  24. #    think you will want to run 16 colors mode at all :))
  25. # 3) If your FreeBSD kernel has not VESA support(or you even don't know
  26. #    what's kernel or what's VESA), you can only set color_depth to 4.
  27. #    That is, you can only run 16 colors mode(VERY slowly).
  28. # 4) Ok, if you don't understand me at all, it's OK. Just go and find a
  29. #    FreeBSD wizard and ask him to compile a new kernel with VESA support
  30. #    for you and ... emmmm ... explain all these stuff to you ...
  31. #
  32. #x_resolution = 640
  33. #y_resolution = 480
  34. x_resolution = 1024
  35. y_resolution = 768

  36. # 4 bits = 16 colors, 8 bits = 256 colors, 16 bits = 64K colors, and so on..
  37. # By defalut, 640X480X16 color is used to support as many video cards as
  38. # possible. zhcon works very SLOWLY under this mode. You should try setting
  39. # color_depth=8 to use 256 color (VESA mode) after recompiling your kernel
  40. # with VESA support to gain most out of your hardware.
  41. #color_depth = 4
  42. color_depth = 16

  43. #blanklineheight must >= 0
  44. blanklineheight = 1

  45. #0, default(block); 1, none; 2, underline
  46. #3, 1/3 block; 4, 1/2 block; 5, 2/3 block; 6, block
  47. cursortype = 6

  48. beep = on

  49. #whether to display startup message
  50. startupmsg = on

  51. #whether to enter prompt mode when start
  52. #you can enter prompt mode by press CTRL-ALT-0
  53. promptmode = off

  54. # set font name, all font must be placed in PREFIX/lib/zhcon/
  55. # for use with 24 pixel font
  56. # ascfont = font/asc24.bpsf
  57. # gbfont = font/gb-24-kai.bpsf

  58. ascfont = font/asc16.bpsf
  59. gbfont = font/gb-16.bpsf
  60. gbkfont = font/gbk-16.bpsf
  61. big5font = font/big5-16.bpsf
  62. jisfont = font/jis-16.bpsf
  63. kscfont = font/ksc-16.bpsf

  64. #inputstyle: overspot or nativebar
  65. inputstyle = overspot

  66. # color scheme format
  67. # text's fore, back, color1, color2, frame's light, dark color
  68. # change push style to pop by swap frame's light/dark color
  69. # red style = 15,4,11,14,12,0
  70. # blue style = 15,1,11,14,9,0
  71. # white style = 0,7,1,1,15,8
  72. overspotcolor = 0,7,1,1,15,8
  73. nativebarcolor = 15,4,11,14,0,12

  74. showtips = on

  75. #change input method here
  76. #the first ime is the default ime when press CTRL_SPACE
  77. #only the first nine imes are avaiable to zhcon
  78. #you can add more ime from Chinput's config file
  79. #format: ime = imename,module,table,encode,type
  80. #imename := <input method's name>
  81. #module := <module file name>
  82. #table := <table file name>
  83. #encode := gb2312 | gbk | big5
  84. #type := native | unicon
  85. ime = 全拼,,input/winpy.mb,gb2312,native
  86. ime = 五笔,,input/wb.mb,gb2312,native
  87. ime = 双拼,,input/winsp.mb,gb2312,native
  88. ime = ︽30,,input/big5-ary30.mb,big5,native
  89. ime = 緀,,input/big5-cj.mb,big5,native
  90. ime = 猔,,input/big5-phone.mb,big5,native
  91. ime = 礚郊μ,,input/big5-liu5.mb,big5,native
  92. ime = 智能拼音,cce_pinyin.so,cce,gb2312,unicon
  93. ime = GBK拼音,TL_hzinput.so,gbk/gbkpy_mb.tab,gbk,unicon
  94. ime = 自然码,TL_hzinput.so,gb/zrm-2.tab,gb2312,unicon
  95. ime = 惧块な,TL_hzinput.so,big5/pinyin.tab,big5,unicon
  96. ime = 緀块,TL_hzinput.so,big5/cj.tab,big5,unicon
  97. ime = 虏�块,TL_hzinput.so,big5/simplex.tab,big5,unicon
  98. ime = 全拼2,,input/py.mb,gb2312,native
  99. ime = 双拼2,,input/py.mb,gb2312,native
  100. ime = 大众,,input/dzm.mb,gb2312,native
  101. ime = 英中,,input/ed.mb,gb2312,native
  102. ime = 简拼,,input/jp.mb,gb2312,native
  103. ime = 普通,,input/pt.mb,gb2312,native
  104. ime = 五笔二维,,input/wbew.mb,gb2312,native
  105. ime = 五笔划,,input/wbh.mb,gb2312,native
  106. ime = 繁体仓颉,,input/cjf.mb,gb2312,native
  107. ime = 简体仓颉,,input/cjj.mb,gb2312,native
复制代码


就 linux 而言, 启动后, framebuffer 是什么分辨率,zhcon 就是什么分辨率
回复 支持 反对

使用道具 举报

发表于 2007-7-23 23:27:02 | 显示全部楼层
花了两天的时间多次重编译内核。目前基本满意了。
修改过 /boot/grub/menu.lst
root (hd0,2)
kernel /boot/clfskernel-2.6.22.1 root=/dev/sda3 vga=791


启动后是是 1024 * 768 了。
但 w3m 中无法回帖。而且显示效果极差,延时很严重。鼠标不能单击链接。
w3m浏览器也还不会用。搜索当前页关键字也不知道。

现在是 chroot 然后启图形回帖。

还有一些软件没安装。继续努力 。
回复 支持 反对

使用道具 举报

发表于 2007-7-24 20:52:42 | 显示全部楼层
启动 zhcon 后,gpm 鼠标驱动确实是只有选择粘贴功能,而没有点击功能的。

目前唯一的方法是改 gpm 的源码,前面提过。
回复 支持 反对

使用道具 举报

发表于 2007-7-27 14:47:00 | 显示全部楼层
字符下 BT 客户端
rTorrent
A console-based BitTorrent client.

http://libtorrent.rakshasa.no/downloads

http://freshmeat.net/redir/rtorrent/56651/url_tgz/

http://freshmeat.net/projects/rtorrent/

       
rTorrent - Default branch
        Section: Unix

                  Click here!

Click here to find out more!
Added: Sat, Feb 26th 2005 16:19 PDT (2 years, 5 months ago)         Updated: Sun, Jan 28th 2007 20:46 PDT (5 months, 29 days ago)


Screenshot About:
rTorrent is a console-based BitTorrent client. It aims to be a fully-featured and efficient client with the ability to run in the background using screen. It supports fast-resume and session management.

Author:
Rakshasa [contact developer]

Rating:        
8.51/10.00 (7 votes)

Homepage:
http://libtorrent.rakshasa.no
Tar/GZ:
http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.2.tar.gz
Changelog:
http://libtorrent.rakshasa.no/wiki/Changelog
CVS tree (cvsweb):
http://libtorrent.rakshasa.no/browser/
Bug tracker:
http://libtorrent.rakshasa.no/report
Mailing list archive:
http://rakshasa.no/pipermail/libtorrent-devel/

Trove categories: [change]
[Development Status]                 4 - Beta
[Environment]                 Console (Text Based) :: Curses
[License]                 OSI Approved :: GNU General Public License (GPL)
[Operating System]                 Unix
[Topic]                 Communications :: File Sharing

Dependencies: [change]
libTorrent (required)
[download links]
回复 支持 反对

使用道具 举报

发表于 2007-7-28 01:06:29 | 显示全部楼层
Post by hohoxu_hao115
当然是可以的。但我想找一个终端下支持alsa驱动的音频播放器。我不想为了能使用mpg123,mp3blaster而在内核中编译alsa-oss支持或oss支持或者安装aoss模拟库。我要尽量精简我的LFS系统。

那用mpd+mpc吧
回复 支持 反对

使用道具 举报

发表于 2007-8-11 15:39:06 | 显示全部楼层
字符下载工具:
aria2-0.11.2

支持 ftp http Bittorrent

安装比较简单。
./configure --prefix=/usr &&
make &&
make install

就可以用了。
程序文件 aria2c
更多使用方法看man帮助。
回复 支持 反对

使用道具 举报

发表于 2007-8-23 18:42:55 | 显示全部楼层
不能沉,为我们的精简高效的定制 linux 坚持下去,大家共同努力,互相提高
回复 支持 反对

使用道具 举报

发表于 2007-9-17 16:09:23 | 显示全部楼层
除了用lfs自定制,以什么系统为基础配置一个完全的console好呢??
回复 支持 反对

使用道具 举报

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

本版积分规则

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