User Tools

Site Tools


w3m

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
w3m [2009/04/10 07:16]
k2patel
w3m [2009/04/10 07:18]
k2patel
Line 462: Line 462:
 </​code>​ </​code>​
 You can run CGI scripts using w3m, without any HTTP server. \\ You can run CGI scripts using w3m, without any HTTP server. \\
-It means that w3m behaves like an HTTP server and activates CGI script, \\ then w3m reads the output of the script and display it. \\The bookmark registration and helper-app editor are realized as local CGI scripts. \\Using local CGI, w3m can be used as a general purpose form interface.+It means that w3m behaves like an HTTP server and activates CGI script, \\ 
 +then w3m reads the output of the script and display it. \\ 
 +The bookmark registration and helper-app editor are realized as local CGI scripts. \\ 
 +Using local CGI, w3m can be used as a general purpose form interface.
  
 For security reason, CGI scripts invoked by w3m must be in one of these directories. For security reason, CGI scripts invoked by w3m must be in one of these directories.
Line 471: Line 474:
 The CGI script can use special header `w3m-control:'​ to control w3m. This field can take any function (see README.func),​ and the specified function is invoked after the document is displayed. For example, The CGI output The CGI script can use special header `w3m-control:'​ to control w3m. This field can take any function (see README.func),​ and the specified function is invoked after the document is displayed. For example, The CGI output
  
 +<code text>
 Content-Type:​ text/plain Content-Type:​ text/plain
 W3m-control:​ BACK W3m-control:​ BACK
 +</​code>​
  
 will display blank page and delete that buffer immediately. This is useful when you don't want to display any page after the script is invoked. The next example will display blank page and delete that buffer immediately. This is useful when you don't want to display any page after the script is invoked. The next example
  
 +<code text>
 Content-Type:​ text/plain Content-Type:​ text/plain
 W3m-control:​ DELETE_PREVBUF W3m-control:​ DELETE_PREVBUF
 +</​code>​
  
 contents..... contents.....
w3m.txt · Last modified: 2020/08/10 02:35 (external edit)