diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index cb1909fab..8b6929ebe 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,14 @@ +2004-01-24 Joshua Daniel Franklin + * cygwinenv.sgml: Cleanup minor markup problems. + * dll.sgml: Cleanup minor markup problems. + * effectively.sgml: Cleanup minor markup problems. + * gcc.sgml: Cleanup minor markup problems. + * ntsec.sgml: Cleanup minor markup problems. + * pathnames.sgml: Cleanup minor markup problems. + * setup-net.sgml: Cleanup minor markup problems. + * textbinary.sgml: Cleanup minor markup problems. + * windres.sgml: Cleanup minor markup problems. + 2004-01-20 Joshua Daniel Franklin * Makefile.in: Remove unused cygwin-ug and cygwin-api-int diff --git a/winsup/doc/cygwinenv.sgml b/winsup/doc/cygwinenv.sgml index 439a22169..ae9563a72 100644 --- a/winsup/doc/cygwinenv.sgml +++ b/winsup/doc/cygwinenv.sgml @@ -65,6 +65,7 @@ originally encoded in the firmware of IBM PCs by original equipment manufacturers (OEMs). If you find that some characters (especially non-US or 'graphical' ones) do not display correctly in Cygwin, you can use this option to select an appropriate codepage. + @@ -92,6 +93,7 @@ to copy memory some number of bytes at a time, in the above example 32768 bytes (32Kb) at a time. The default is to copy as many bytes as possible, which is preferable in most cases but may slow some older systems down. + (no)glob[:ignorecase] - if set, command line arguments diff --git a/winsup/doc/dll.sgml b/winsup/doc/dll.sgml index a44129b3c..803469367 100644 --- a/winsup/doc/dll.sgml +++ b/winsup/doc/dll.sgml @@ -36,6 +36,7 @@ information needed to tell the OS how your program interacts with capabilities. To begin an exploration of the many additional options, see the gcc documentation and website, currently at http://gcc.gnu.org/ + Let's go through a simple example of how to build a dll. For this example, we'll use a single file diff --git a/winsup/doc/effectively.sgml b/winsup/doc/effectively.sgml index 59ab01ffb..3812bf3e3 100644 --- a/winsup/doc/effectively.sgml +++ b/winsup/doc/effectively.sgml @@ -144,6 +144,7 @@ endings, but cygutils provides several dedicated progra u2d, and unix2dos. Use the --help switch for usage information. + Creating shortcuts with cygutils diff --git a/winsup/doc/gcc.sgml b/winsup/doc/gcc.sgml index a67865de3..f1d5431b7 100644 --- a/winsup/doc/gcc.sgml +++ b/winsup/doc/gcc.sgml @@ -44,11 +44,13 @@ and like any other Cygwin makefile. The only difference is that you use application instead of a command-line application. Here's an example: + Note the use of windres to compile the diff --git a/winsup/doc/ntsec.sgml b/winsup/doc/ntsec.sgml index 0a5fe42a8..9cbd0bb06 100644 --- a/winsup/doc/ntsec.sgml +++ b/winsup/doc/ntsec.sgml @@ -605,11 +605,11 @@ anymore. Porting a setuid application is illustrated by a short example: - + +#include /* Use the following define to determine the Windows version */ #define is_winnt (GetVersion() < 0x80000000) #endif @@ -641,16 +641,17 @@ a short example: /* Use standard method for W9X as well. */ hashed_password = crypt (cleartext_password, salt); if (!user_pwd_entry || - strcmp (hashed_password, user_pwd_entry->pw_password)) + strcmp (hashed_password, user_pwd_entry->pw_password)) error_exit; [...] /* Everything else remains the same! */ - setegid (user_pwd_entry->pw_gid); - seteuid (user_pwd_entry->pw_uid); + setegid (user_pwd_entry->pw_gid); + seteuid (user_pwd_entry->pw_uid); execl ("/bin/sh", ...); +]]> diff --git a/winsup/doc/pathnames.sgml b/winsup/doc/pathnames.sgml index 56a5f7d69..61e374f08 100644 --- a/winsup/doc/pathnames.sgml +++ b/winsup/doc/pathnames.sgml @@ -154,7 +154,7 @@ default printer with the command cat filename > PRN - POSIX devices + POSIX devices There is no need to create a POSIX /dev directory as it is simulated within Cygwin automatically. It supports the following devices: /dev/null, diff --git a/winsup/doc/setup-net.sgml b/winsup/doc/setup-net.sgml index 0c0c4f461..f00756068 100644 --- a/winsup/doc/setup-net.sgml +++ b/winsup/doc/setup-net.sgml @@ -109,6 +109,7 @@ the cache is no longer necessary, but you may want to retain the packages as backups, for installing Cygwin to another system, or in case you need to reinstall a package. + Connection Method diff --git a/winsup/doc/textbinary.sgml b/winsup/doc/textbinary.sgml index a58bd0231..c561d030a 100644 --- a/winsup/doc/textbinary.sgml +++ b/winsup/doc/textbinary.sgml @@ -86,7 +86,7 @@ these shells the relevant value of CYGWIN is that at the time the shell was launched and not that at the time the program is executed. Non-Cygwin shells always pipe and redirect with binary mode. With non-Cygwin shells the commands cat filename | program -and program < filename are not equivalent when +and program < filename are not equivalent when filename is on a text-mounted partition. @@ -98,22 +98,28 @@ from files by using the tr program, which can only write to standard output. The script + "$1".nocr +]]> will not work on a text mounted systems because the \r will be reintroduced on writing. However scripts such as + "$1".nocr +]]> and the .bat file + %1.nocr +]]> work fine. In the first case (assuming the pipes are binary) we rely on gunzip to set its output to binary mode, diff --git a/winsup/doc/windres.sgml b/winsup/doc/windres.sgml index 2d5410639..82c537dff 100644 --- a/winsup/doc/windres.sgml +++ b/winsup/doc/windres.sgml @@ -10,11 +10,13 @@ the Windows resource format for details. Also, the Binutils manual. Here's an example of using it in a project: +