Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-22 Thread Takashi Yano
On Thu, 22 Dec 2022 13:50:59 +0100 Corinna Vinschen wrote: > On Dec 22 18:06, Takashi Yano wrote: > > On Wed, 21 Dec 2022 13:56:25 +0100 > > Corinna Vinschen wrote: > > > However, there's something broken with these patches in terms of > > > debugging: > > > > > > With current origin/master: > > >

Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-22 Thread Corinna Vinschen
On Dec 22 18:06, Takashi Yano wrote: > On Wed, 21 Dec 2022 13:56:25 +0100 > Corinna Vinschen wrote: > > However, there's something broken with these patches in terms of > > debugging: > > > > With current origin/master: > > > > $ ls -l /dev/cons0 > > crw-rw-rw- 4 corinna vinschen 3, 0 Dec 21

Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-22 Thread Takashi Yano
On Thu, 22 Dec 2022 18:06:03 +0900 Takashi Yano wrote: > On Wed, 21 Dec 2022 13:56:25 +0100 > Corinna Vinschen wrote: > > However, there's something broken with these patches in terms of > > debugging: > > > > With current origin/master: > > > > $ ls -l /dev/cons0 > > crw-rw-rw- 4 corinna

Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-22 Thread Takashi Yano
On Wed, 21 Dec 2022 13:56:25 +0100 Corinna Vinschen wrote: > However, there's something broken with these patches in terms of > debugging: > > With current origin/master: > > $ ls -l /dev/cons0 > crw-rw-rw- 4 corinna vinschen 3, 0 Dec 21 13:46 /dev/cons0 > $ strace -o xxx /bin/ls /dev/cons

Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-21 Thread Corinna Vinschen
On Dec 21 19:23, Takashi Yano wrote: > On Tue, 20 Dec 2022 22:48:06 +0100 > Corinna Vinschen wrote: > > On Dec 20 21:45, Takashi Yano wrote: > > > Previously, the console device could not be accessed from other terminals. > > > Due to this limitation, GNU screen and tmux cannot be opened in console

Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-21 Thread Takashi Yano
On Wed, 21 Dec 2022 19:23:43 +0900 Takashi Yano wrote: > However, fstat() does not return appropriate information, > so, I implemented fhandler_console::fstat(). I also set proper > errno for that case. Please see v2 patch. Please apply the patches in the following order: [PATCH v2] Cygwin: pinfo

Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-21 Thread Takashi Yano
On Tue, 20 Dec 2022 22:48:06 +0100 Corinna Vinschen wrote: > On Dec 20 21:45, Takashi Yano wrote: > > Previously, the console device could not be accessed from other terminals. > > Due to this limitation, GNU screen and tmux cannot be opened in console. > > With this patch, console device can be ac

Re: [PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-20 Thread Corinna Vinschen
On Dec 20 21:45, Takashi Yano wrote: > Previously, the console device could not be accessed from other terminals. > Due to this limitation, GNU screen and tmux cannot be opened in console. > With this patch, console device can be accessed from other TTYs, such as > other consoles or ptys. Thanks to

[PATCH] Cygwin: console: Make the console accessible from other terminals.

2022-12-20 Thread Takashi Yano
Previously, the console device could not be accessed from other terminals. Due to this limitation, GNU screen and tmux cannot be opened in console. With this patch, console device can be accessed from other TTYs, such as other consoles or ptys. Thanks to this patch, screen and tmux get working in c