Download Cygwin User's Guide

Transcript
Chapter 3. Using Cygwin
function calls (msgget, semget, shmget, and friends) successfully. These function calls will return
with ENOSYS, "Bad system call".
•
(no)strip_title - if set, strips the directory part off the window title, if any. Default is not set.
•
(no)title - if set, the title bar reflects the name of the program currently running. Default is not set.
Note that under Win9x the title bar is always enabled and it is stripped by default, but this is because
of the way Win9x works. In order not to strip, specify title or title nostrip_title.
•
(no)traverse - This option only affects NT systems. If set, Cygwin handles file permissions so that the
parent directories’ permissions are checked, as it’s default on POSIX systems. If not set, only the file’s
own permissions are taken into account. This is the default on Windows and called "bypass traverse
checking". Default was "traverse" in version 1.5.13 and 1.5.14. Beginning with 1.5.15, traverse
checking is disabled again since it’s not correctly implemented by Microsoft and it’s behaviour is
getting worse with each new OS version. Unprivileged terminal server sessions are practically
impossible with traverse checking switched on. So, use at your own risk.
•
(no)tty - if set, Cygwin enables extra support (i.e., termios) for UNIX-like ttys in the Windows
console. It is not compatible with some Windows programs. Defaults to not set, in which case the tty is
opened in text mode. Note that this has been changed such that ^D works as expected instead of ^Z,
and is settable via stty. This option must be specified before starting a Cygwin shell and it cannot be
changed in the shell. It should not be set when using other terminals (i.e., rxvt or xterm).
•
(no)winsymlinks - if set, Cygwin creates symlinks as Windows shortcuts with a special header and the
R/O attribute set. If not set, Cygwin creates symlinks as plain files with a magic number, a path and
the system attribute set. Defaults to set.
3.6. Cygserver
3.6.1. What is Cygserver?
Cygserver is a program which is designed to run as a background service. It provides Cygwin
applications with services which require security arbitration or which need to persist while no other
cygwin application is running.
The implemented services so far are:
•
Control slave tty/pty handle dispersal from tty owner to other processes without compromising the
owner processes’ security.
•
XSI IPC Message Queues.
•
XSI IPC Semaphores.
•
XSI IPC Shared Memory.
41