Board logo

标题: [推荐]DOS文字模式的Web瀏覽器--W3M  [打印本页]

作者: Roy     时间: 2003-4-12 00:00    标题: [推荐]DOS文字模式的Web瀏覽器--W3M 

看看效果吧



[此贴子已经被作者于2003-7-2 16:55:45编辑过]



作者: 如是大师     时间: 2003-4-12 00:00
给个连接
作者: Roy     时间: 2003-4-12 00:00
http://www.geocities.com/SiliconValley/Lab/9247/
作者: Roy     时间: 2003-4-12 00:00
我上傳到這裡了.打开附件
作者: Roy     时间: 2003-4-12 00:00
記得要先載入ANSI才用
作者: Wengier     时间: 2003-4-12 00:00
试了,先在WATTCP.CFG中设置my_ip=dhcp,再输入W3M -v http://dosbbs.2ya.com/确实能够进入本论坛.可惜它的控制功能和帮助系统都没有Lynx好,而且看中文时有时还有些乱码,如何解决?
作者: Roy     时间: 2003-4-13 00:00
你看看Lynx和w3m上www.computing.net的分別吧:
Lynx:
w3m:
Key binding
After invocation, you can operate w3m by one-character commands from the keyboard.
Here's the original key-binding table. If you are using Lynx-like key bindings, see the Lynx-like key binding.

Page/Cursor motion
SPC,C-v Forward page  
b,ESC v Backward page  
l,C-f Cursor right  
h,C-b Cursor left  
j,C-n Cursor down  
k,C-p Cursor up  
J Roll up one line  
K Roll down one line  
w Go to next word  
W Go to previous word  
> Shift screen right  
< Shift screen left  
. Shift screen one column right  
, Shift screen one column left  
g Go to the first line  
G Go to the last line  
ESC g Go to specified line  
TAB Move to next hyperlink  
ESC TAB Move to previous hyperlink  
[ Move to the first hyperlink  
] Move to the last hyperlink  

Hyperlink operation
RET Follow hyperlink  
a, ESC RET Save link to file  
u Peek link URL  
I View inline image  
ESC I Save inline image to file  
: Mark URL-like strings as anchors  
ESC : Mark Message-ID-like strings as news anchors  
c Peek current URL  
= Display infomation about current document  
F Render frame  
M Browse current document using external browser (use 2M and 3M to invoke second and third browser)  
ESC M Browse link using external browser (use 2ESC M and 3ESC M to invoke second and third browser)  

File/Stream operation
U Open URL  
V View new file  
@ Execute shell command and load  
# Execute shell command and browse  

Buffer operation
B Back to the previous buffer  
v View HTML source  
s Select buffer  
E Edit buffer source  
R Reload buffer  
S Save buffer  
ESC s Save source  
ESC e Edit buffer image  

Buffer selection mode
k, C-p Select previous buffer  
j, C-n Select next buffer  
D Delect current buffer  
RET Go to the selected buffer  

Bookmark operation
ESC b Load bookmark  
ESC a Add current to bookmark  

Search
/,C-s Search forward  
?,C-r Search backward  
n Search next  
N Search previous  

Mark operation
C-SPC Set/unset mark  
ESC p Go to previous mark  
ESC n Go to next mark  
" Mark by regular expression  

Miscellany
! Execute shell command  
H Help (load this file)  
o Set option  
C-c Stop  
C-z Suspend  
q Quit (with confirmation, if you like)  
Q Quit without confirmation  

Line-edit mode
C-f Move cursor forward  
C-b Move cursor backward  
C-h Delete previous character  
C-d Delete current character  
C-k Kill everything after cursor  
C-u Kill everything before cursor  
C-a Move to the top of line  
C-e Move to the bottom of line  
C-p Fetch the previous string from the history list  
C-n Fetch the next string from the history list  
TAB,SPC Complete filename  
RETURN Accept  

作者: Wengier     时间: 2003-4-13 00:00
W3M对网页的排版布局方面的支持显然比Lynx好,可惜它和Lynx相比的弱点也实在太多.要是能综合一下就好了.

我想问的三个问题是:
1:如何让W3M在显示汉字时无乱码?
2:如果用W3M在论坛中发帖(主要是指输入不了任何内容)?
3:如何修改快捷键(例如J键是向下,K键向上实在是太不习惯了)?
如果能解决的话,我还真准备用W3M来代替Lynx在本论坛发帖呢.
作者: Roy     时间: 2003-4-13 00:00
1.因為w3m原本是在linux中開發的,而linux的console是可以放大縮小的,開發者似乎沒有注意到.
2.在textarea中按[Enter]鍵,下方會出現"Text:"的字樣,就可以輸入內容了.
3.你可以在開發者的主頁 http://www.geocities.com/SiliconValley/Lab/9247/ 中下載源碼自行修改按鍵.
作者: Wengier     时间: 2003-4-13 00:00
可是我用W3M在"(发帖)内容"那儿按ENTER键并没有作用呀,没法输入任何内容.在"用户名","密码"等TextArea输入ENTER键后倒是可以输入文字.Roy能不能对它的源代码修改一下,让它更实用些?
作者: Roy     时间: 2003-4-13 00:00
我只懂一點而已......
作者: Roy     时间: 2003-4-14 00:00


  Quote:
以下是引用Wengier在2003-4-13 20:21:09的发言:
可是我用W3M在"(发帖)内容"那儿按ENTER键并没有作用呀,没法输入任何内容.在"用户名","密码"等TextArea输入ENTER键后倒是可以输入文字.Roy能不能对它的源代码修改一下,让它更实用些?

在"(发帖)内容"那儿按ENTER键會呼叫出外部的text editor啊.
所以要在Options中指定外部的text editor.
好像DOS的Edit不能用.
我用TED 3.0的.
作者: hit     时间: 2003-4-17 00:00
他可以用来看本地文件吗?

要设置什么?IP?
作者: Roy     时间: 2003-7-2 00:00
頂一下
作者: sandy     时间: 2003-7-26 00:00
j 和 k是vi的用法了,wengier没用vi自然就不习惯。