public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64
@ 2019-11-14 21:32 Keith Christian
  2019-11-14 23:45 ` Ken Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Keith Christian @ 2019-11-14 21:32 UTC (permalink / raw)
  To: cygwin

The "boxes" command fails to run on a Cygwin64 install two weeks ago.


uname -a
CYGWIN_NT-10.0 SOMESERVER 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin


cygcheck -c boxes
Cygwin Package Information
Package              Version        Status
boxes                1.0.1a-2       OK


echo "hello" | /usr/bin/boxes
boxes: No such file or directory


echo "hello" | /usr/bin/boxes.exe
boxes: No such file or directory

/usr/bin/boxes.exe -help
boxes - draws any kind of box around your text (and removes it)
        (c) Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>
        Web page: http://home.pages.de/~jensen/boxes/
Usage:  boxes [options] [infile [outfile]]
        -a fmt   alignment/positioning of text inside box [default: hlvt]
        -d name  select box design [default: first one in file]
        -f file  use only file as configuration file
        -h       print usage information
        -i mode  indentation mode [default: box]
        -k bool  kill leading/trailing blank lines on removal or not
        -l       list available box designs w/ samples
        -p fmt   padding [default: none]
        -r       remove box from input
        -s wxh   specify box size (width w and/or height h)
        -t uint  set tab stop distance [default: 8]
        -v       print version information


ls -l /usr/bin/boxes*
-rwxr-xr-x 1 someuser Domain Users 73216 Sep 14  2013 /usr/bin/boxes.exe


cygcheck boxes
Found: C:\cygwin64\bin\boxes.exe
Found: C:\cygwin64\bin\boxes.exe
C:\cygwin64\bin\boxes.exe
  C:\cygwin64\bin\cygwin1.dll
    C:\WINDOWS\system32\KERNEL32.dll
      C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\KERNELBASE.dll


cygcheck -l boxes
/etc/defaults/etc/boxes/boxes.conf
/etc/postinstall/boxes.sh
/etc/preremove/boxes.sh
/usr/bin/boxes.exe
/usr/share/doc/boxes/COPYING
/usr/share/doc/boxes/examples/boxes.conf
/usr/share/doc/boxes/README
/usr/share/doc/Cygwin/boxes.README
/usr/share/man/man1/boxes.1.gz


Any ideas appreciated.

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64
  2019-11-14 21:32 "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Keith Christian
@ 2019-11-14 23:45 ` Ken Brown
  2019-11-15  2:14   ` Keith Christian
  2019-11-15 13:01   ` Jari Aalto
  0 siblings, 2 replies; 7+ messages in thread
From: Ken Brown @ 2019-11-14 23:45 UTC (permalink / raw)
  To: cygwin; +Cc: Jari Aalto

On 11/14/2019 2:32 PM, Keith Christian wrote:
> The "boxes" command fails to run on a Cygwin64 install two weeks ago.
> 
> echo "hello" | /usr/bin/boxes
> boxes: No such file or directory

Running boxes under strace shows that it is trying to open a file named "-" and 
exiting because that file doesn't exist.

The version of boxes in the Cygwin distro is very old, so I don't think it's 
worth the trouble to debug this.  I just downloaded and built the latest 
release, and it seems to work fine.

I've added the boxes maintainer to the Cc in case he wants to update the package.

Ken

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64
  2019-11-14 23:45 ` Ken Brown
@ 2019-11-15  2:14   ` Keith Christian
  2019-11-15  3:01     ` Ken Brown
  2019-11-15 13:01   ` Jari Aalto
  1 sibling, 1 reply; 7+ messages in thread
From: Keith Christian @ 2019-11-15  2:14 UTC (permalink / raw)
  To: cygwin

On Thu, Nov 14, 2019 at 2:32 PM Ken Brown <kbrown@cornell.edu> wrote:
>
> On 11/14/2019 2:32 PM, Keith Christian wrote:
> > The "boxes" command fails to run on a Cygwin64 install two weeks ago.
> >
> > echo "hello" | /usr/bin/boxes
> > boxes: No such file or directory
>
> Running boxes under strace shows that it is trying to open a file named "-" and
> exiting because that file doesn't exist.
>
> The version of boxes in the Cygwin distro is very old, so I don't think it's
> worth the trouble to debug this.  I just downloaded and built the latest
> release, and it seems to work fine.
>
> I've added the boxes maintainer to the Cc in case he wants to update the package.
>
> Ken
>
> --
> 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
>

Thanks, Ken.

Boxes had been working well in 32 bit Cygwin, I recently upgraded to a
WIndows 10 computer and decided to try 64 bit Cygwin as a fresh
install on the new machine.  "boxes" hasn't worked since the 32 to 64
bit change.

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64
  2019-11-15  2:14   ` Keith Christian
@ 2019-11-15  3:01     ` Ken Brown
  2019-11-15  7:05       ` David Rothenberger
  0 siblings, 1 reply; 7+ messages in thread
From: Ken Brown @ 2019-11-15  3:01 UTC (permalink / raw)
  To: cygwin

On 11/14/2019 8:36 PM, Keith Christian wrote:
> On Thu, Nov 14, 2019 at 2:32 PM Ken Brown <kbrown@cornell.edu> wrote:
>>
>> On 11/14/2019 2:32 PM, Keith Christian wrote:
>>> The "boxes" command fails to run on a Cygwin64 install two weeks ago.
>>>
>>> echo "hello" | /usr/bin/boxes
>>> boxes: No such file or directory
>>
>> Running boxes under strace shows that it is trying to open a file named "-" and
>> exiting because that file doesn't exist.
>>
>> The version of boxes in the Cygwin distro is very old, so I don't think it's
>> worth the trouble to debug this.  I just downloaded and built the latest
>> release, and it seems to work fine.
>>
>> I've added the boxes maintainer to the Cc in case he wants to update the package.
>>
> Boxes had been working well in 32 bit Cygwin, I recently upgraded to a
> WIndows 10 computer and decided to try 64 bit Cygwin as a fresh
> install on the new machine.  "boxes" hasn't worked since the 32 to 64
> bit change.

I just tested it on 32-bit Cygwin, and it does indeed work.  So the bug is 
specific to the 64-bit build.

Ken

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64
  2019-11-15  3:01     ` Ken Brown
@ 2019-11-15  7:05       ` David Rothenberger
  0 siblings, 0 replies; 7+ messages in thread
From: David Rothenberger @ 2019-11-15  7:05 UTC (permalink / raw)
  To: cygwin

On 11/14/2019 6:14 PM, Ken Brown wrote:
> On 11/14/2019 8:36 PM, Keith Christian wrote:
>> On Thu, Nov 14, 2019 at 2:32 PM Ken Brown <kbrown@cornell.edu> wrote:
>>>
>>> On 11/14/2019 2:32 PM, Keith Christian wrote:
>>>> The "boxes" command fails to run on a Cygwin64 install two weeks ago.
>>>>
>>>> echo "hello" | /usr/bin/boxes
>>>> boxes: No such file or directory
>>>
>>> Running boxes under strace shows that it is trying to open a file named "-" and
>>> exiting because that file doesn't exist.

I also ran it under strace and for me, it was trying to open a file 
named "u" in my home directory, so maybe this is some kind of buffer error.

-- 
David Rothenberger  ----  daveroth@acm.org


--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64
  2019-11-14 23:45 ` Ken Brown
  2019-11-15  2:14   ` Keith Christian
@ 2019-11-15 13:01   ` Jari Aalto
  2019-11-15 14:20     ` Keith Christian
  1 sibling, 1 reply; 7+ messages in thread
From: Jari Aalto @ 2019-11-15 13:01 UTC (permalink / raw)
  To: Ken Brown; +Cc: cygwin

On 2019-11-14 21:31, Ken Brown wrote:
> On 11/14/2019 2:32 PM, Keith Christian wrote:
> > The "boxes" command fails to run on a Cygwin64 install two weeks ago.
> > 
> > echo "hello" | /usr/bin/boxes
> > boxes: No such file or directory
> 
> Running boxes under strace shows that it is trying to open a file named "-" and 
> exiting because that file doesn't exist.
> 
> The version of boxes in the Cygwin distro is very old, so I don't think it's 
> worth the trouble to debug this.  I just downloaded and built the latest 
> release, and it seems to work fine.
> 
> I've added the boxes maintainer to the Cc in case he wants to update the package.

Fixed. Latest release uploaded.

Thanks,
Jari

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64
  2019-11-15 13:01   ` Jari Aalto
@ 2019-11-15 14:20     ` Keith Christian
  0 siblings, 0 replies; 7+ messages in thread
From: Keith Christian @ 2019-11-15 14:20 UTC (permalink / raw)
  To: cygwin

On Fri, Nov 15, 2019 at 1:15 AM Jari Aalto <jari.aalto@cante.net> wrote:
>
> On 2019-11-14 21:31, Ken Brown wrote:
> > On 11/14/2019 2:32 PM, Keith Christian wrote:
> > > The "boxes" command fails to run on a Cygwin64 install two weeks ago.
> > >
> > > echo "hello" | /usr/bin/boxes
> > > boxes: No such file or directory
> >
> > Running boxes under strace shows that it is trying to open a file named "-" and
> > exiting because that file doesn't exist.
> >
> > The version of boxes in the Cygwin distro is very old, so I don't think it's
> > worth the trouble to debug this.  I just downloaded and built the latest
> > release, and it seems to work fine.
> >
> > I've added the boxes maintainer to the Cc in case he wants to update the package.
>
> Fixed. Latest release uploaded.
>
> Thanks,
> Jari


Thanks, Jari!

======= Keith

--
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-15 13:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 21:32 "/usr/bin/boxes" command fails to run, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Keith Christian
2019-11-14 23:45 ` Ken Brown
2019-11-15  2:14   ` Keith Christian
2019-11-15  3:01     ` Ken Brown
2019-11-15  7:05       ` David Rothenberger
2019-11-15 13:01   ` Jari Aalto
2019-11-15 14:20     ` Keith Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).