"under <platform>" -> "on <platform>"; "X" -> "Unix"

I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.

original commit: f34a31cac9
This commit is contained in:
Matthew Flatt 2011-06-17 18:43:11 -06:00
parent a8ef109b6e
commit 7c644a8eac
2 changed files with 6 additions and 6 deletions

View File

@ -51,8 +51,8 @@ for @scheme["ollie.cs.rice.edu"] might be @scheme["cs.rice.edu"].}
@defproc[(dns-find-nameserver) (or/c string? false/c)]{ @defproc[(dns-find-nameserver) (or/c string? false/c)]{
Attempts to find the address of a nameserver on the present system. Attempts to find the address of a nameserver on the present system.
Under Unix, this procedure parses @filepath{/etc/resolv.conf} to On Unix and Mac OS X, this procedure parses @filepath{/etc/resolv.conf} to
extract the first nameserver address. Under Windows, it runs extract the first nameserver address. On Windows, it runs
@exec{nslookup.exe}.} @exec{nslookup.exe}.}
@; ---------------------------------------- @; ----------------------------------------

View File

@ -22,14 +22,14 @@ manner. For some platforms and configurations, the
@scheme[separate-window?] parameter determines if the browser creates @scheme[separate-window?] parameter determines if the browser creates
a new window to display the URL or not. a new window to display the URL or not.
Under Windows, @scheme[send-url] normally uses @scheme[shell-execute] On Windows, @scheme[send-url] normally uses @scheme[shell-execute]
to launch a browser. (If the URL appears to contain a fragment, it may to launch a browser. (If the URL appears to contain a fragment, it may
use an intermediate redirecting file due to a bug in IE7.) use an intermediate redirecting file due to a bug in IE7.)
Under Mac OS X, @scheme[send-url] runs @exec{osascript} to start the On Mac OS X, @scheme[send-url] runs @exec{osascript} to start the
user's chosen browser. user's chosen browser.
Under Unix, @scheme[send-url] uses a user-preference, or when none is On Unix, @scheme[send-url] uses a user-preference, or when none is
set, it will look for a known browser. See the description of set, it will look for a known browser. See the description of
@scheme[external-browser] for details. @scheme[external-browser] for details.
@ -76,7 +76,7 @@ old temporary files are still deleted as described above.}
A parameter that can hold a procedure to override how a browser is A parameter that can hold a procedure to override how a browser is
started, or @scheme[#f] to use the default platform-dependent command. started, or @scheme[#f] to use the default platform-dependent command.
Under Unix, the command that is used depends on the On Unix, the command that is used depends on the
@scheme['external-browser] preference. If the preference is unset, @scheme['external-browser] preference. If the preference is unset,
@scheme[send-url] uses the first of the browsers from @scheme[send-url] uses the first of the browsers from
@scheme[unix-browser-list] for which the executable is found. @scheme[unix-browser-list] for which the executable is found.