w3m
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| w3m [2009/04/10 07:16] – k2patel | w3m [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 462: | Line 462: | ||
| </ | </ | ||
| 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:' | The CGI script can use special header `w3m-control:' | ||
| + | <code text> | ||
| Content-Type: | Content-Type: | ||
| W3m-control: | W3m-control: | ||
| + | </ | ||
| 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: | Content-Type: | ||
| W3m-control: | W3m-control: | ||
| + | </ | ||
| contents..... | contents..... | ||
| Line 485: | Line 491: | ||
| One w3m-control: | One w3m-control: | ||
| + | <code text> | ||
| Content-Type: | Content-Type: | ||
| W3m-control: | W3m-control: | ||
| + | </ | ||
| This example works exactly the same way to the Location header: | This example works exactly the same way to the Location header: | ||
| + | <code text> | ||
| Content-Type: | Content-Type: | ||
| Location: http:// | Location: http:// | ||
| + | </ | ||
| Note that this header has no effect when the CGI script is invoked through HTTP server. | Note that this header has no effect when the CGI script is invoked through HTTP server. | ||
w3m.1239347777.txt.gz · Last modified: 2020/08/10 02:29 (external edit)
