中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 05:23
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS软件下载 & 游戏分享 (下载室) » [Recommended] Text-mode Web browser for DOS -- W3M
Printable Version  2,588 / 14
Floor1 Roy Posted 2003-04-12 00:00
管理员 Posts 1,633 Credits 4,869
Take a look at the result



Floor2 如是大师 Posted 2003-04-12 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Give a link
Floor3 Roy Posted 2003-04-12 00:00
管理员 Posts 1,633 Credits 4,869
Floor4 Roy Posted 2003-04-12 00:00
管理员 Posts 1,633 Credits 4,869
I uploaded it here.Open attachment
Floor5 Roy Posted 2003-04-12 00:00
管理员 Posts 1,633 Credits 4,869
Remember to load ANSI first before using it
Floor6 Wengier Posted 2003-04-12 00:00
系统支持 Posts 10,521 Credits 27,736
I tried it. First set my_ip=dhcp in WATTCP.CFG, then enter W3M -v http://dosbbs.2ya.com/ and it really can enter this forum. Unfortunately its control functions and help system are not as good as Lynx, and when viewing Chinese there is sometimes still some garbled text. How can this be solved?
Floor7 Roy Posted 2003-04-13 00:00
管理员 Posts 1,633 Credits 4,869
Take a look at the difference between Lynx and w3m on 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 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
Floor8 Wengier Posted 2003-04-13 00:00
系统支持 Posts 10,521 Credits 27,736
W3M's support for webpage formatting and layout is obviously better than Lynx's, but unfortunately compared with Lynx it really has too many weaknesses as well. It would be great if they could be combined somehow.

The three questions I want to ask are:
1: How can I make W3M display Chinese without garbled text?
2: If using W3M to post in the forum (mainly meaning that I can't enter any content)?
3: How can I modify the shortcut keys (for example, J is down and K is up, which is really too hard to get used to)?
If these can be solved, I really am planning to use W3M to replace Lynx for posting on this forum.
Floor9 Roy Posted 2003-04-13 00:00
管理员 Posts 1,633 Credits 4,869
1. Because w3m was originally developed under linux, and the linux console can be zoomed in and out, the developer seems not to have noticed this.
2. Press the key in a textarea, and the words "Text:" will appear below, then you can enter content.
3. You can download the source code from the developer's homepage http://www.geocities.com/SiliconValley/Lab/9247/ and modify the keys yourself.
Floor10 Wengier Posted 2003-04-13 00:00
系统支持 Posts 10,521 Credits 27,736
But when I use W3M and press ENTER at "(post) content", it doesn't do anything, and I can't enter any content at all. In "username", "password" and other TextArea fields, after pressing ENTER I can enter text instead. Roy, can you modify its source code a bit to make it more practical?
Floor11 Roy Posted 2003-04-13 00:00
管理员 Posts 1,633 Credits 4,869
I only understand a little bit......
Floor12 Roy Posted 2003-04-14 00:00
管理员 Posts 1,633 Credits 4,869
The following is quoted from Wengier's post at 2003-4-13 20:21:09:
But when I use W3M and press ENTER at "(post) content", it doesn't do anything, and I can't enter any content at all. In "username", "password" and other TextArea fields, after pressing ENTER I can enter text instead. Roy, can you modify its source code a bit to make it more practical?

Pressing ENTER at "(post) content" will call up an external text editor.
So you need to specify an external text editor in Options.
It seems DOS Edit can't be used.
I use TED 3.0.
Floor13 hit Posted 2003-04-17 00:00
初级用户 Posts 148 Credits 688 From 陕西
Can it be used to view local files?

What needs to be set? IP?
Floor14 Roy Posted 2003-07-02 00:00
管理员 Posts 1,633 Credits 4,869
Bump
Floor15 Sandy Posted 2003-07-26 00:00
元老会员 Posts 157 Credits 608
j and k are vi-style usage; since wengier doesn't use vi, naturally he's not used to it.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023