Cygwin reliability

2002-05-05 Thread Linux

Hi

I have been using Cygwin for the last 4 months now and find it reasonably
good to use, however.
I have been having continuous problems getting it to connect to the server
box.
The configuration is Server: Redhat 7.2 (was7.1) running xdm > Win2K Server.
Sometimes it will connect sometimes it wont connect at all.
I updated the Cygwin installation last week.
I have an eval copy of Xwin32 which works fine and my NCD300 terminal also
connects every time.
Is there any tricks? Have I missed anything?

Many thanks

Mike


This mail was processed by Mail essentials for Exchange/SMTP, 
the email security & management gateway. Mail essentials adds 
content checking, email encryption, anti spam, anti virus, 
attachment compression, personalised auto responders, archiving 
and more to your Microsoft Exchange Server or SMTP mail server. 
For more information visit http://www.mailessentials.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Cygwin reliability

2002-05-05 Thread Linux

Hi

I have been using Cygwin for the last 4 months now and find it reasonably
good to use, however.
I have been having continuous problems getting it to connect to the server
box.
The configuration is Server: Redhat 7.2 (was7.1) running xdm > Win2K Server.
Sometimes it will connect sometimes it wont connect at all.
I updated the Cygwin installation last week.
I have an eval copy of Xwin32 which works fine and my NCD300 terminal also
connects every time.
Is there any tricks? Have I missed anything?

Many thanks

Mike


This mail was processed by Mail essentials for Exchange/SMTP, 
the email security & management gateway. Mail essentials adds 
content checking, email encryption, anti spam, anti virus, 
attachment compression, personalised auto responders, archiving 
and more to your Microsoft Exchange Server or SMTP mail server. 
For more information visit http://www.mailessentials.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Cygwin reliability

2002-05-05 Thread Linux

Thanks Harold

I have joined up with a few lists but never see much traffice for some

Mike

-Original Message-
From: Harold Hunt [mailto:[EMAIL PROTECTED]]
Sent: Monday, 6 May 2002 15:40
To: Linux; [EMAIL PROTECTED]; cygx
Subject: RE: Cygwin reliability


Mike,

Yes, you missed something.  The mailing list for Cygwin/XFree86 questions is
[EMAIL PROTECTED], not [EMAIL PROTECTED]

I've redirected your question there.

Harold

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Linux
> Sent: Sunday, May 05, 2002 11:30 PM
> To: '[EMAIL PROTECTED]'
> Subject: Cygwin reliability
>
>
> Hi
>
> I have been using Cygwin for the last 4 months now and find it reasonably
> good to use, however.
> I have been having continuous problems getting it to connect to the server
> box.
> The configuration is Server: Redhat 7.2 (was7.1) running xdm >
> Win2K Server.
> Sometimes it will connect sometimes it wont connect at all.
> I updated the Cygwin installation last week.
> I have an eval copy of Xwin32 which works fine and my NCD300 terminal also
> connects every time.
> Is there any tricks? Have I missed anything?
>
> Many thanks
>
> Mike
>
>
> This mail was processed by Mail essentials for Exchange/SMTP,
> the email security & management gateway. Mail essentials adds
> content checking, email encryption, anti spam, anti virus,
> attachment compression, personalised auto responders, archiving
> and more to your Microsoft Exchange Server or SMTP mail server.
> For more information visit http://www.mailessentials.com
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



This mail was processed by Mail essentials for Exchange/SMTP, 
the email security & management gateway. Mail essentials adds 
content checking, email encryption, anti spam, anti virus, 
attachment compression, personalised auto responders, archiving 
and more to your Microsoft Exchange Server or SMTP mail server. 
For more information visit http://www.mailessentials.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




install problem

2003-11-04 Thread The Linux

i downloaded the entire release/ directory
and i got a strange problem when installing (installing
everything) setup.exe crash (before even begin to install anything), so !
i try to install everything without XFree86 section, and it works, and
then i manage to install step by step almost all ... packages like: XFree86-man,
XFree86-nest, XFree86--prog i had to install one at the time, and other
like grace i couldn't install at all (i md5sum checked everything, and
is not that the problem) ... so ! question, did anyone had the same
problem ? or is just my computer ?

another question is that is someting else except that dumb
setup.exe ? (excuse me but this is true ... it cannot resize it's own
window, cannot use keys to colapse, expand, select unselect, etc.,
cannot use wheelmouse, it crashes ... at an old version i couldn't x
fonts, AT ALL ... and that when i get to 70% of installation, and the
program freeze, etc. etc.) i'm really interested in something how
manually is possible ;)


PS excuse my (poor) english :)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



new cygwin window from script?

2004-02-21 Thread linux dr .
Sorry if this is a repost... didn't seem to post through nntp.

I'm trying to generate a new cygwin window in XP/2000, from within a tcsh 
script in a current cygwin window.  How do I create a NEW window (as if I 
clicked the cygwin icon on the desktop) as opposed to a new shell within the 
same window?  Running tcsh from the DOS/Windows command line creates a new 
window, as desired.  However, from within cygwin, just creates a new tcsh, not 
a new window.  Can anyone help?  Thanks!


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Non-blocking keyboard I/O?

2004-02-23 Thread Linux Dr .
I have a non-blocking keyboard I/O routine I've used for years under IRIX,
Solaris and Red Hat linux.  It doesn't seem to work under cygwin, however.  The
core of it is:

   fcntl(0. F__SETFL, fcntl(0, F_GETFL) | O_NONBLOCK)
   tcgetattr(0, &termios_p);
   termios_p.c_lflag &= ~(ICANON | ECHO);
   termios_p.c_lflag &= ~(ICANON);
   termios_p.c_cc[VMIN] = 1;
   termios_p.c_cc[VTIME] = 0;
   tcsetattr(0, TCSANOW, &termios_p);

I subsituted FIONBIO for O_NONBLOCK and both complied and ran but both versions
still blocked.  

Is there something obvious I'm doing wrong?   Is there an alternative way to do
this under cygwin?  TIA!  Neall


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Non-blocking keyboard I/O in Cygwin?

2004-02-24 Thread Linux Dr .
Linux Dr.  haughtmail.com> writes:

> 
> I have a non-blocking keyboard I/O routine I've used for years under IRIX,
> Solaris and Red Hat linux.  It doesn't seem to work under cygwin, however.  The
> core of it is:
> 

Ok, I figured this out on my own... though it gave me a headache.  I wrote a
getch() which immediately returns a -1 if no input is waiting, or the ascii
value of the key if previously pressed.  It's non-blocking and no "enter" or
return key press is necessary.  Can be easily modified for echo or non echo,
blocking or non-blocking, and can count the number of keystrokes stored in the
input buffer without de-queueing them.  I'm happy to share... just send me an
email.  Compiles but doesn't back-port (run) correctly on linux or solaris. 
However, I have seperate versions for those machines, too.  This solution DOES
NOT REQUIRE curses/ncurses.  It works from shell scripts, as well.  Neall 





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Fw: Hello, I need help with PHP compiling and/or how to get PCTNL extension working under cygwin

2010-09-06 Thread Linux User

I have research this issue over google and mailing list and I haven't been able 
to find a solution to my problem. I want to write a PHPProxyServer under CYGWIN 
since I don't have access to a linux box. I need the PCTNL functions so I could 
fork() processes, which is not supported under windows. I try decending into 
the extensions directory in PHP src provided by cygwinports and try to compile 
the extension myself. Everything seems to work fine up until the desired 
extension *.dll wasn't created and "make install" failed with "cp: target 
`/usr/lib/php/20060613/#i...@3872#' is not a directory". So I decided to try to 
compile the newest version of PHP available, epic failure because apparently, 
PHP ./configure doesn't support autoconf 2.65, only 2.13 which isn't available 
in the repos. I was hoping that maybe someone might have already have already 
compiled PCNTL extension available that I could download for PHP 5.2.6 or the 
new PHP binaries with PCNTL enabled? Or any support to compile PHP under cygwin?



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Irssi core dump

2010-11-03 Thread Linux User

I have been having issues with Irssi under CYGWIN_NT-6.1-WOW64 on Windows 7 
64Bit with screen curruption and cord dumps. This error appear the same 
whenever I run Irssi, if this can help, here's a discription of the error I 
recieve multiple times in the status window: Attempt to free unreferenced 
scalar: SV 0x104af8e8, Perl interpreter: 0x104af3b8. If there is a workaround, 
that would be great, and should I report a bug? Any information, Debug 
whatever, let me know so I can help fix this. P.S. Two users reported the same 
issue 


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Samba Client compilation on the latest DLL

2002-11-29 Thread Linux Mail Account
Hi,

I'm the maintainer of smbclient for Win32
(http://main.mswinxp.net/~lpackham/smbclient/)

If I compile samba on the latest version of cygwin it now borks with a
segfault.

It appears that pointer initialisation isn't quite working correctly.

You can grab the patch for the samba source off the page above and see
what I mean.

For example:

This used to work...

char xx_blah[255];
char *blah = xx_blah;

for (int i = 0; i < 256; i++)
  blah[i] = 0;

It now segfaults.

Any ideas?

Many Thanks,


Lee Packham



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[ANNOUNCEMENT] Updated: man-pages-linux 6.00

2022-10-15 Thread Cygwin Linux Man Pages Maintainer
The following package has been upgraded in the Cygwin distribution:

* man-pages-linux   6.00

Documents the Linux kernel system calls and C library interfaces used
by programs, plus system and administrative utilities, devices, file
system, file, and data formats, and related information.

For more information, see the project home page:

https://kernel.org/doc/man-pages/

You may also search and read the pages online:

https://man7.org/linux/man-pages/

although the latest release may not yet be available. 

This major release adds some section 2 and 3 pages suffixed by
const, head, or type installed in the base section directory.

As Cygwin has its own man pages with some conflicts, these man pages
are installed under /usr/share/man/linux/, so by default searching
or viewing these pages requires the option:

$ apropos -m|--systems linux ...
$ man -m|--systems linux ...

Cygwin man pages are under the default system "man", so for convenience
both systems may be specified separated by comma e.g.

$ man -m man,linux ...

The path or option may also be added explicitly to a users MANPATH or
alias e.g.

$ export MANPATH=$MANPATH:/usr/share/man/linux

$ alias apropos='apropos -m man,linux'
$ alias man='man -m man,linux'

Add -a to show both Cygwin and Linux manual pages if present, or swap
the order to prioritize Linux.

For recent changes, please see below, or after installation read
/usr/share/doc/man-pages-linux/CHANGES:


Version 6.002022-10-09

Global changes

* Man dirs:

  - Move definitions of types to separate pages in man2type/ and
man3type/. Previously, they were spread (and duplicated) in other
pages, or in system_data_types.7 (with links in man3/).

  - Add man3head/ for pages that document header files.

  - Add man3const/ for pages that document constants.

* Licenses:

  - Use SPDX-License-Identifier for licenses specified by SPDX
    (including the newly-added Linux-man-pages-copyleft). This reduces
the overhead text at the top of most manual page source files.
License texts have been moved to LICENSES/.

* Build system:

  - Add several make(1) targets to lint the manual pages, and also lint
and build the C programs contained in them. Use of these targets
requires unreleased versions of software, such as groff-1.23.0, so
it's not yet intended to be used by the public.

  - Add targets to build tarballs of the repository.

* man(7) source:

  - Improve consistency of man(7) source. Also, reduce the number of
warnings that groff(1) and mandoc(7) emit when parsing the pages
with the highest warning level. Most of these fixes were found
thanks to the new `make lint-man` target.

* Manual pages sections:

  - Title (.TH):

- Remove 5th argument to TH (middle-header).

- Specify "Linux man-pages" and the version in the 4th argument
  (left-footer).

  - Add the LIBRARY section.  This section standardizes a way to
document the library that provides a given interface.

  - Add the CAVEATS section.  BUGS and NOTES were serving that purpose
before, but CAVEATS is more appropriate.

  - Rename the CONFORMING TO section to STANDARDS for consistency with
other projects, such as the BSDs.

  - SYNOPSIS:  Add the ISO C2X [[deprecated]] attribute for functions
that have been deprecated or removed.

  - EXAMPLES:  Improve consistency of C source code.  Also, reduce the
number of warnings that several linting tools emit.

  - COLOPHON:  Remove section (its purpose is now served by the title).

* Repository:

  - CONTRIBUTING, README, INSTALL:  Document important changes in the
project organization.

Changes to individual pages

The manual pages (and other files in the repository) have been improved
beyond what this changelog covers.

New and rewritten pages

* man2/
  landlock_add_rule.2
  landlock_create_ruleset.2
  landlock_restrict_self.2
  memfd_secret.2

* man2type/
  open_how.2type

* man3/
  _Generic.3

* man3const/
  NULL.3const

* man3head/
  sysexits.h.3head

* man3type/
  aiocb.3type
  blkcnt_t.3type
  blksize_t.3type
  cc_t.3type
  clock_t.3type
  clockid_t.3type
  dev_t.3type
  div_t.3type
  double_t.3type
  epoll_event.3type
  fenv_t.3type
  id_t.3type
  intN_t.3type
  intmax_t.3type
  intptr_t.3type
  iovec.3type
  itimerspec.3type
  lconv.3type
  mode_t.3type
  off_t.3type
  ptrdiff_t.3type
  regex_t.3type
  size_t.3type
  sockaddr.3type
  stat.3type
  time_t.3type
  timer_t.3type
  timespec.3type
  timeval.3type
  tm.3type
  va_list.3type
  void.3type

* man7/
  landlock.7

Newly documented interfaces in existing pages

* epoll_wait.2
  epoll_pwait2(2)

* fanotify_init.2
  FAN_REPORT_PIDFD

* fanotify_mark.2
  FAN_FS_ERROR
  FAN_MARK_EVICTABLE
  FAN_RENAME
  FAN_REPORT_TARGET_FID

* madvise.2
  MADV_POPULATE_READ
  MADV_POPULATE_WRITE

* pipe.2
  O_NOTIFICATION_PIPE

* process_madvise.2
  MADV_WILLN

[ANNOUNCEMENT] Updated: man-pages-linux 6.01

2022-10-22 Thread Cygwin Linux Man Pages Maintainer
The following package has been upgraded in the Cygwin distribution:

* man-pages-linux   6.01

Documents the Linux kernel system calls and C library interfaces used
by programs, plus system and administrative utilities, devices, file
system, file, and data formats, and related information.

For more information, see the project home page:

https://kernel.org/doc/man-pages/

You may also search and read the pages online:

https://man7.org/linux/man-pages/

although the latest release may not yet be available. 

Release 6 added some section 2 and 3 pages suffixed by const, head,
or type installed in the base section directory.

As Cygwin has its own man pages with some conflicts, these man pages
are installed under /usr/share/man/linux/, so by default searching
or viewing these pages requires the option:

$ apropos -m|--systems linux ...
$ man -m|--systems linux ...

Cygwin man pages are under the default system "man", so for convenience
both systems may be specified separated by comma e.g.

$ man -m man,linux ...

The path or option may also be added explicitly to a users MANPATH or
alias e.g.

$ export MANPATH=$MANPATH:/usr/share/man/linux

$ alias apropos='apropos -m man,linux'
$ alias man='man -m man,linux'

Add -a to show both Cygwin and Linux manual pages if present, or swap
the order to prioritize Linux.

For recent changes, please see below, or after installation read
/usr/share/doc/man-pages-linux/CHANGES:


man-pages-6.01  2022-10-18

Global changes

* Manual pages' sections:

- Title (.TH):

  - Remove the hardcoded date (TH 3rd argument), and replace it by a
placeholder that should be changed when creating the tarball.
This removes the need for a tstamp commit before each release.

* Build system:

- Update manual page dates (TH 3rd argument) when creating the tarball
  with 'make dist'.  this removes the need for a tstamp commit before
  each release.

- Don't print spurious errors from the Makefile that are not relevant.

Changes to individual pages

The manual pages (and other files in the repository) have been improved
beyond what this changelog covers.

New and rewritten pages

* EOF.3const

Newly documented interfaces in existing pages

* fanotify_mark.2
FAN_MARK_IGNORE

* open.2, statx.2
STATX_DIOALIGN

* feature_test_macros.7
_FORTIFY_SOURCE=3
_TIME_BITS


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] New: man-pages-linux 5.13 - Linux Manual Pages

2021-09-30 Thread Cygwin Linux Man Pages Package Maintainer
The following new package has been added to the Cygwin distribution:

* man-pages-linux   5.13

Documents the Linux kernel system calls and C library interfaces used
by programs, plus system and administrative utilities, devices, file
system, file, and data formats, and related information.

For more information, please see the project home page:

https://kernel.org/doc/man-pages/

You may also search and read the pages online:

https://man7.org/linux/man-pages/

As Cygwin has its own man pages with some conflicts, these man pages are
installed under /usr/share/man/linux/, so by default searching or
viewing these pages requires the option:

$ apropos -m|--systems linux ...
$ man -m|--systems linux ...

Cygwin man pages are under the default system "man", so for convenience
both systems may be specified separated by comma e.g.

$ man -m man,linux ...

The path or option may also be added explicitly to a users MANPATH or
alias e.g.

$ export MANPATH=$MANPATH:/usr/share/man/linux

$ alias apropos='apropos -m man,linux'
$ alias man='man -m man,linux'

Add -a to show both Cygwin and Linux manual pages if present, or swap
the order to prioritize Linux.

For recent changes, please see below, or after installation read
/usr/share/doc/man-pages-linux/CHANGES:

https://man7.org/linux/man-pages/changelog.html


Version 5.13 2021-08-27

New and rewritten pages

* mount_setattr.2   New manual page for the mount_setattr() system call


Newly documented interfaces in existing pages

* futex.2   Document FUTEX_LOCK_PI2

* ioctl_tty.2   Document ioctls: TCGETS2, TCSETS2, TCSETSW2, TCSETSF2

* pidfd_open.2  Document PIDFD_NONBLOCK

* seccomp_unotify.2 Document SECCOMP_ADDFD_FLAG_SEND

* sigaction.2   Document SA_EXPOSE_TAGBITS and the flag support detection 
protocol

* statx.2   Document STATX_MNT_ID
* capabilities.7
* user_namespaces.7 Describe CAP_SETFCAP for mapping UID 0

* mount_namespaces.7More clearly explain the notion of locked mounts
  For a long time, this manual page has had a brief discussion of
  "locked" mounts, without clearly saying what this concept is, or
  why it exists. Expand the discussion with an explanation of what
  locked mounts are, why mounts are locked, and some examples of the
  effect of locking.
* user_namespaces.7 Document /proc/PID/projid_map

* ld.so.8   Document --list-tunables option added in glibc 2.33


Global changes

Few/Various pages:
* ERRORS: correct alphabetic order

* Place SEE ALSO entries in correct order

* Arrange .SH sections in correct order

* Consistently use '*argv[]'

* Fix EBADF error description
  Make the description of the EBADF error for invalid 'dirfd' more
  uniform. In particular, note that the error only occurs when the
  pathname is relative, and that it occurs when the 'dirfd' is
  neither valid *nor* has the value AT_FDCWD.

* ERRORS: combine errors into a single alphabetic list
  These pages split out extra errors for some APIs into a separate
  list.  Probably, the pages are easier to read if all errors are
  combined into a single list.

  Note that there still remain a few pages where the errors are
  listed separately for different APIs. For the moment, it seems
  best to leave those pages as is, since the error lists are
  largely distinct in those pages.

* Terminology clean-up: "mount point" ==> "mount"
  Many times, these pages use the terminology "mount point", where
  "mount" would be better. A "mount point" is the location at which a
  mount is attached. A "mount" is an association between a filesystem
  and a mount point.

* accept.2
* access.2
* getpriority.2
* mlock.2
  ERRORS: combine errors into a single list
  These pages split out errors into separate lists (perhaps per API,
  perhaps "may" vs "shall", perhaps "Linux-specific" vs standard(??)),
  but there's no good reason to do this.  It makes the error list harder
  to read, and is inconsistent with other pages. So, combine the errors
  into a single list.

* fanotify_mark.2
* futimesat.2
* mount_setattr.2
* statx.2
* symlink.2
* mkfifo.3
  Refer the reader to openat(2) for explanation of why 'dirfd' is useful


Changes to individual pages

* iconv.1
* iconvconfig.8
  FILES: note that files may be under /usr/lib64 rather than /lib/64

* ldd.1 Fix example command

* add_key.2
* keyctl.2
* request_key.2
  Note that the "libkeyutils" package provides 

* close_range.2 Glibc 2.34 has added a close_range() wrapper

* execve.2  The pathname given to interpreter is not necessarily absolute
  SEE ALSO: getauxval(3)
  getauxval(3) is useful background regarding execve(2).

* fanotify_mark.2   ERRORS: add missing EBADF error for invalid 'dirfd'

* ioctl_tty.2   Update DTR example
  D

[ANNOUNCEMENT] Updated: man-pages-linux 6.02

2022-12-24 Thread Cygwin Linux Man Pages Maintainer via Cygwin-announce via Cygwin
The following package has been upgraded in the Cygwin distribution:

* man-pages-linux   6.02

Documents the Linux kernel system calls and C library interfaces used
by programs, plus system and administrative utilities, devices, file
system, file, and data formats, and related information.

For more information, see the project home page:

https://kernel.org/doc/man-pages/

You may also search and read the pages online:

https://man7.org/linux/man-pages/

although the latest release may not yet be available. 

As Cygwin has its own man pages with some conflicts, these man pages
are installed under /usr/share/man/linux/, so by default searching
or viewing these pages requires the option:

$ apropos -m|--systems linux ...
$ man -m|--systems linux ...

Cygwin man pages are under the default system "man", so for convenience
both systems may be specified separated by comma e.g.

$ man -m man,linux ...

The path or option may also be added explicitly to a users MANPATH or
alias e.g.

$ export MANPATH=$MANPATH:/usr/share/man/linux

$ alias apropos='apropos -m man,linux'
$ alias man='man -m man,linux'

Add -a to show both Cygwin and Linux manual pages if present, or swap
the order to prioritize Linux.

Release 6 added some section 2 and 3 pages suffixed by const, head,
or type installed in the base section directory.

For recent changes, please see below, or after installation read
/usr/share/doc/man-pages-linux/Changes:


man-pages-6.02  2022-12-22

Global changes

* Use correct letter case in manual page titles, instead of uppercase.
* Use \" t comments when appropriate (Lintian needs this).
* SYNOPSIS:
  - Add _Nullable for functions that receive NULL as a meaningful input.
  - Use VLA syntax to clarify the meaning of size parameters, rather
than hiding it in possibly-confusing text. This syntax is not
accepted by any compilers, though.
  - Use [[noreturn]] instead of noreturn, which will be deprecated soon.
* Repository documentation:
  - Added significant documentation about the repository and the project
in the root of the repository in different files.  Starting from the
README, anyone passing by should be able to understand how the
project works and be directed to other documentation files. These
files also document the release process.
  - Michael has been busy lately, and he is no longer maintaining the
project. The in-repository documentation mentioned above has been
updated to reflect that.

Changes to individual pages

* copy_file_range.2
Fix wrong kernel version information
* process_madvise.2
Fix capability and ptrace requirements
* madvise.2
Update Transparent Huge Pages file/shmem documentation for Linux 5.4+.

New and rewritten pages

* man3/
static_assert.3
strcpy.3
stpncpy.3
strncat.3
* man3const/
EOF.3const
EXIT_SUCCESS.3const
* man7/
string_copying.7

New and changed links

* man3/
_Static_assert.3(static_assert(3))
stpcpy.3(strcpy(3))
strcat.3(strcpy(3))
strncpy.3   (stpncpy(3))
stpecpy.3   (string_copying(7))
stpecpyx.3  (string_copying(7))
ustpcpy.3   (string_copying(7))
ustr2stp.3  (string_copying(7))
zustr2stp.3 (string_copying(7))
zustr2ustp.3(string_copying(7))
* man3const/
EXIT_FAILURE.3const (EXIT_SUCCESS(3const))

Newly documented interfaces in existing pages

* ioctl_tty.2
TIOCSERGETLSR
TIOCSER_TEMT
* madvise.2
MADV_COLLAPSE
* syscall.2
loongarch

The manual pages (and other files in the repository) have been improved
beyond what this changelog covers. To learn more about changes applied
to individual pages, use git(1).


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Updated: man-pages-linux 6.03

2023-02-20 Thread Cygwin Linux Man Pages Maintainer via Cygwin-announce via Cygwin
The following package has been upgraded in the Cygwin distribution:

* man-pages-linux   6.03

Documents the Linux kernel system calls and C library interfaces used
by programs, plus system and administrative utilities, devices, file
system, file, and data formats, and related information.

For more information, see the project home page:

https://kernel.org/doc/man-pages/

You may also search and read the pages online:

https://man7.org/linux/man-pages/

although the latest release may not yet be available. 
A new updated site may be announced in a future release.

NOTE:
The previous releases named the directory linux, but this was searched
before Cygwin man pages, leading to unexpected results in most cases.
>From this release the directory used is man-pages-linux, and linux is
provided as a convenience backward compatibility symlink. 
If you prefer to see Linux man pages over Cygwin man pages, then use
-m|--systems linux in the examples below, or add -m linux to a command.

As Cygwin has its own man pages with some conflicts, these man pages are
installed under /usr/share/man/man-pages-linux/, so by default searching
or viewing these pages requires the option:

$ apropos -m|--systems man-pages-linux ...
$ man -m|--systems man-pages-linux ...

Cygwin man pages are under the default system "man", so for convenience
both systems may be specified separated by comma e.g.

$ man -m man,man-pages-linux ...

The path or option may also be added explicitly to a users MANPATH or
alias e.g.

$ export MANPATH=$MANPATH:/usr/share/man/man-pages-linux

$ alias apropos='apropos -m man,man-pages-linux'
$ alias man='man -m man,man-pages-linux'

Add -a to show both Cygwin and Linux (and POSIX if companion package
man-pages-posix is also installed) manual pages.

Release 6 added some section 2 and 3 pages suffixed by const, head,
or type installed in the base section directories.

For recent changes, please see below, or after installation read
/usr/share/doc/man-pages-linux/Changes:


man-pages-6.03  2023-02-12

Global changes

* Build system:
  - Add scripts to produce a book of the Linux man-pages.
  - Add lint-c-cppcheck to the make(1) targets to run the cppcheck(1)
linter.

* TH:
  - Use correct letter case in page titles. This started in 6.02, but
there were still many cases left.

* SYNOPSIS:
  - Mark some functions as deprecated.

* STANDARDS:
  - Remove most references to ISO C89.  We still document it in
standards(7), but it's an ancient language version that this project
regards as obsolescent, so in the STANDARDS sections for APIs we
only take into account C99 and later and POSIX.1-2001 and later
(with few exceptions where older standards are relevant).

* ffix:
  - Change \- to - where appropriate
  - Improve readability of numbers:
- Show BCD magic numbers that are meaningful in hex as hex,
   rather than weird decimal numbers.
- Use IEC multipliers.
  - Format ranges consistently using interval notation: [min, max].

* srcfix:
  - Use \[] escapes.

Changes to individual pages

* timespec.3type
Update tv_nsec according to C2x.

The manual pages (and other files in the repository) have been improved
beyond what this changelog covers.  To learn more about changes applied
to individual pages, use git(1).

New and rewritten pages

* man3/
arc4random.3
powerof2.3
roundup.3

* man3head/
printf.h.3head

Newly documented interfaces in existing pages

* perf_event_open.2
PERF_COUNT_SW_BPF_OUTPUT
PERF_COUNT_SW_CGROUP_SWITCHES
PERF_FORMAT_LOST
PERF_RECORD_MISC_MMAP_BUILD_ID
PERF_RECORD_MISC_SWITCH_OUT_PREEMPT
PERF_SAMPLE_CODE_PAGE_SIZE
PERF_SAMPLE_DATA_PAGE_SIZE
PERF_SAMPLE_WEIGHT_STRUCT

struct perf_event_attr::build_id
struct perf_event_attr::inherit_thread
struct perf_event_attr::remove_on_exec
struct perf_event_attr::sigtrap
struct perf_event_attr::aux_sample_size
struct perf_event_attr::sig_data

union perf_sample_weight

struct read_format::values[]::lost

struct::weight
struct::data_page_size
struct::code_page_size
struct::size
struct::data

struct:: ::build_id_size
struct:: ::build_id

* prctl.2
PR_SET_VMA
PR_SET_VMA_ANON_NAME

New and changed links

* man3/
arc4random_buf.3(arc4random(3))
arc4random_uniform.3(arc4random(3))
register_printf_modifier.3  (printf.h(3head))
register_printf_specifier.3 (printf.h(3head))
register_printf_type.3  (printf.h(3head))

* man3const/
PA_CHAR.3const  (printf.h(3head))
PA_DOUBLE.3const(printf

[ANNOUNCEMENT] Updated: man-pages-linux 6.04

2023-04-08 Thread Cygwin Linux Man Pages Maintainer via Cygwin-announce via Cygwin
The following package has been upgraded in the Cygwin distribution:

* man-pages-linux   6.04

Documents the Linux kernel system calls and C library interfaces used
by programs, plus system and administrative utilities, devices, file
system, file, and data formats, and related information.

For more information, see the project home page:

https://kernel.org/doc/man-pages/

As Cygwin has its own man pages with some conflicts, these man pages are
installed under /usr/share/man/man-pages-linux/, so by default searching
or viewing these pages requires the option:

$ apropos -m|--systems man-pages-linux ...
$ man -m|--systems man-pages-linux ...

Cygwin man pages are under the default system "man", so for convenience
both systems may be specified separated by comma e.g.

$ man -m man,man-pages-linux ...

The path or option may also be added explicitly to a users MANPATH or
alias e.g.

$ export MANPATH=$MANPATH:/usr/share/man/man-pages-linux

$ alias apropos='apropos -m man,man-pages-linux'
$ alias man='man -m man,man-pages-linux'

Add -a to show both Cygwin and Linux (and POSIX if companion package
man-pages-posix is also installed) manual pages.

For convenience and backward compatibility /usr/share/man/linux is
provided as a symlink. 

If you prefer to see Linux man pages over Cygwin man pages, then use
-m|--systems linux in the examples above, or add -m linux to a command.

Release 6 added some section 2 and 3 pages suffixed by const, head,
or type installed in the base section directories.

For recent changes, please see below, or after installation read
/usr/share/doc/man-pages-linux/Changes:


man-pages-6.04  2023-04-03

Newly documented interfaces in existing pages

* proc.5- KPF_PGTABLE   (Linux 4.18)
* landlock.7- LANDLOCK_ACCESS_FS_REFER  (Linux 5.19)
* udp.7 - UDP_GRO   (Linux 5.0)
- UDP_SEGMENT   (Linux 4.18)

Global changes

*  Sections:
   -  Add HISTORY.
   -  HISTORY: Restore C89 references.
   -  Repurpose VERSIONS.
   -  Simplify STANDARDS.
   -  SYNOPSIS: Mark several functions as deprecated.

*  Build system:
   -  Support installing in different mandirs
  (e.g., man3typedir='/usr/share/man/man3').
   -  Support installing compressed pages (Z='.gz').
   -  Support installing link pages as symlinks (LINK_PAGES='symlink').

Changes to individual pages

The manual pages (and other files in the repository) have been improved
beyond what this changelog covers.  To learn more about changes applied
to individual pages, use git(1).


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


[ANNOUNCEMENT] Updated: man-pages-linux 6.05.01

2023-08-06 Thread Cygwin Linux Man Pages Maintainer via Cygwin-announce via Cygwin
The following package has been upgraded in the Cygwin distribution:

* man-pages-linux   6.05.01

Documents the Linux kernel system calls and C library interfaces used
by programs, plus system and administrative utilities, devices, file
system, file, and data formats, and related information.

For more information, see the project home page:

https://kernel.org/doc/man-pages/

As Cygwin has its own man pages with some conflicts, these man pages are
installed under /usr/share/man/man-pages-linux/, so by default searching
or viewing these pages requires the option:

$ apropos -m|--systems man-pages-linux ...
$ man -m|--systems man-pages-linux ...

Cygwin man pages are under the default system "man", so for convenience
both systems may be specified separated by comma e.g.

$ man -m man,man-pages-linux ...

The path or option may also be added explicitly to a users MANPATH or
alias e.g.

$ export MANPATH=$MANPATH:/usr/share/man/man-pages-linux

$ alias apropos='apropos -m man,man-pages-linux'
$ alias man='man -m man,man-pages-linux'

Add -a to show both Cygwin and Linux (and POSIX if companion package
man-pages-posix is also installed) manual pages.

For convenience and backward compatibility /usr/share/man/linux is
provided as a symlink. 

If you prefer to see Linux man pages over Cygwin man pages, then use
-m|--systems linux in the examples above, or add -m linux to a command.

Release 6 added some section 2 and 3 pages suffixed by const, head,
or type installed in the base section directories.

For recent changes, please see below, or after installation read
/usr/share/doc/man-pages-linux/Changes:


man-pages   6.05.01 2023-08-01

New and rewritten pages

- man2/ ioctl_pipe.2
- man3/ regex.3
- man5/ erofs.5

Newly documented interfaces in existing pages

- bpf.2 EAGAIN
- ioctl_userfaultfd.2   UFFD_FEATURE_EXACT_ADDRESS
- prctl.2   PR_GET_AUXV
- recv.2MSG_CMSG_CLOEXEC
- statx.2   STAT_ATTR_MOUNT_ROOT
- syscall.2 ENOSYS
- resolv.conf.5 no-
RES_NO
- tmpfs.5   CONFIG_TRANSPARENT_HUGEPAGE
- ip.7  IP_LOCAL_PORT_RANGE
- rtnetlink.7   IFLA_PERM_ADDRESS

New and changed links

- man3type/
regex_t.3type   (regex(3))
regmatch_t.3type(regex(3))
regoff_t.3type  (regex(3))

Global changes

-  Types:
   -  Document functions using off64_t as if they used off_t (except
  for lseek64()).

-  Formatting:
   -  use `\%`
   -  un-bracket tbl(1) tables

-  Licenses:
   -  Relicense ddp.7 from VERBATIM_ONE_PARA to Linux-man-pages-copyleft.
   -  Relicense dir_colors.5 from LDPv1 to GPL-2.0-or-later.
   -  Use new SPDX license identifiers:
  -  Linux-man-pages-1-para (was VERBATIM_ONE_PARA)
  -  Linux-man-pages-copyleft-2-para(was VERBATIM_TWO_PARA)
  -  Linux-man-pages-copyleft-var   (was VERBATIM_PROF)

-  Build system:
   -  Ignore dot-dirs within $MANDIR(6.05.01)
   -  Keep file modes in the release tarball.
   -  Fix symlink installation (`make install LINK_PAGES=symlink`).
   -  Add support for using bzip2(1), lzip(1), and xz(1) when installing
  pages and creating release tarballs.
   -  Create reproducible release tarballs.
   -  Move makefiles from lib/ to share/mk/.
   -  Support mdoc(7) pages.
   -  Relicense Makefiles as GPL-3.0-or-later.
   -  Build PostScript and PDF manual pages.
   -  Add support for running our build system on arbitrary source
  trees; this makes it possible to easily run our linters on another
  project's manual pages as easily as `make lint MANDIR=~/src/groff`

Changes to individual pages

- The manual pages (and other files in the repository) have been
  improved beyond what this changelog covers. To learn more about
  changes applied to individual pages, use git(1).


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple