| Reference: Command Line | ||||||
|---|---|---|---|---|---|---|
|
|
|
| NewsRog CmdLine Info |
The NewsRog command line exists for several purposes:
The first type option can also be used in an AmigaOS icon tooltype. Consult your Amiga documentation for more information on tooltypes. Running NewsRog from the command line with a question mark as an option (NewsRog ?) will print an options template. The case of options is not significant, and either a space or an equals sign can separate options from their values; the following are synonymous:
STARTPROJ ram:Project.Test Many options have shorter synonyms, such as SP=STARTPROJ. |
| Project Commands |
The following command line options deal with projects:
|
| Task Commands |
The following command line options relate to the NewsRog task:
|
| Batch NNTP Operations |
NewsRog can be used in a batch mode where commands are sent to the NNTP
server and the results are printed on the standard output. In this
manner, it is possible to use NewsRog as part of a shell script or ARexx
script. If any of these batch options are present on the command line, then NewsRog exits after performing the indicated option. No project is loaded and the NewsRog user interface does not appear. Batch options may be used even if an interactive NewsRog is currently running. Batch operations may only be performed if a networking stack is present and online. Currently, the batch mode is not useable with servers that require NNTP authentication. All of the batch NNTP operations require a server name. The following strategy is used to find the name of the NNTP server with which to communicate.
For example, this command line fetches a particular article by Message-ID from the news server named news.mydomain.com and prints the result on the standard output:
while the following performs the same command using the server defined in NNTPSERVER, or "news" otherwise:
In the rest of the examples on this page, the SRV option has been omitted for brevity, but may be used together with any other batch command. Many commands refer to Message-ID's. Message-ID's are unique strings enclosed in angle brackets which refer to a particular usenet article. A particular article's Message-ID is the same no matter which server it resides on, and every article has its own Message-ID.
|