* x3270
@ 2018-04-15 0:49 Chris Johnson
2018-04-16 5:22 ` x3270 Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Chris Johnson @ 2018-04-15 0:49 UTC (permalink / raw)
To: cygwin, Chris Johnson
Hi.
Not sure when this happened but I now have a complaint for cygwin on
exit about x3270.sh returning exit code 1. I found it listed in
/etc/setup/install.db and remove it. No joy. Do I recall the x3270 is
defunct? Either way, how do I get rid of this error. It's annoying.
Thanks.
--
Chris Johnson rchristopherjohnson@gmail.com
Ex SysAdmin, now, writer /I'm not afraid to die. I just don't want to
be there when it happens.
/(Woody Allen)
--
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] 5+ messages in thread
* Re: x3270
2018-04-15 0:49 x3270 Chris Johnson
@ 2018-04-16 5:22 ` Marco Atzeri
2018-04-16 19:38 ` [E] x3270 mark.paulus
2018-04-18 1:41 ` x3270 Chris Johnson
0 siblings, 2 replies; 5+ messages in thread
From: Marco Atzeri @ 2018-04-16 5:22 UTC (permalink / raw)
To: cygwin
On 4/15/2018 2:48 AM, Chris Johnson wrote:
> Hi.
>
> Not sure when this happened but I now have a complaint for cygwin on
> exit about x3270.sh returning exit code 1. I found it listed in
> /etc/setup/install.db and remove it. No joy. Do I recall the x3270 is
> defunct? Either way, how do I get rid of this error. It's annoying.
>
> Thanks.
>
x3270 is still an active package
run /etc/postinstall/x3270.sh from bash and if you have no error
rename it as /etc/postinstall/x3270.sh.done
Regards
Marco
--
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] 5+ messages in thread
* RE: [E] Re: x3270
2018-04-16 5:22 ` x3270 Marco Atzeri
@ 2018-04-16 19:38 ` mark.paulus
2018-04-16 20:45 ` Peter A. Castro
2018-04-18 1:41 ` x3270 Chris Johnson
1 sibling, 1 reply; 5+ messages in thread
From: mark.paulus @ 2018-04-16 19:38 UTC (permalink / raw)
To: Marco Atzeri, cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2167 bytes --]
-----Original Message-----
> On 4/15/2018 2:48 AM, Chris Johnson wrote:
> > Hi.
> >
> > Not sure when this happened but I now have a complaint for cygwin on
> > exit about x3270.sh returning exit code 1. I found it listed in
> > /etc/setup/install.db and remove it. No joy. Do I recall the x3270
> >is defunct? Either way, how do I get rid of this error. It's annoying.
> >
> >Thanks.
> >
>
> x3270 is still an active package
>
> run /etc/postinstall/x3270.sh from bash and if you have no error rename it as /etc/postinstall/x3270.sh.done
>
> Regards
> Marco
Manually ran x3270.sh and ran into a couple of issues that looks like they could use addressing:
First time I ran it, got this:
$ ./x3270.sh
./x3270.sh: line 9: /usr/bin/mkfontdir: No such file or directory
Installed mkfontdir package (need a dependency maybe?), then ran it again
and got this:
$ bash -x x3270.sh
+ FONTDIR=/usr/share/fonts
+ ENCODINGSDIR=/usr/share/fonts/encodings
+ MKFONTDIR=/usr/bin/mkfontdir
+ /usr/bin/mkfontdir -e /usr/share/fonts/encodings /usr/share/fonts/misc
opendir: No such file or directory
I "think" the issue here is that the encoding directory we want is actually
in /usr/share/X11/fonts/encoding instead of /usr/share/fonts/encoding.
Solved this by creating a soft link:
/usr/share/fonts
$ ln -sf /usr/share/x11/fonts/encodings .
/usr/share/fonts
$ ll
total 93
drwxr-xr-x+ 1 v808297 Domain Users 0 Apr 16 13:23 ./
drwxr-xr-x+ 1 v808297 Domain Users 0 Apr 16 11:44 ../
drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:50 dejavu/
lrwxrwxrwx 1 v808297 Domain Users 30 Apr 16 13:23 encodings -> /usr/share/x11/fonts/encodings/
drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:57 microsoft/
drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:53 misc/
After these 2 corrections the x3270.sh script ran successfully and
I was able to rename it to x3270.sh.done
Thanks,
Mark
\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒ÷\a&ö&ÆV×2æFÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒöf\x17\x12ðФFö7VÖVçF\x17Föã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒöFö72æFÖÀÐ¥Vç7V'67&&R\x06æfó¢\x02\x02\x02\x02\x02\x06GG\x03¢òö7wvâæ6öÒöÖÂò7Vç7V'67&&R×6×\x06ÆPÐ Ð
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [E] Re: x3270
2018-04-16 19:38 ` [E] x3270 mark.paulus
@ 2018-04-16 20:45 ` Peter A. Castro
0 siblings, 0 replies; 5+ messages in thread
From: Peter A. Castro @ 2018-04-16 20:45 UTC (permalink / raw)
To: Cygwin List
[-- Attachment #1: Type: TEXT/PLAIN, Size: 3404 bytes --]
On Mon, 16 Apr 2018, mark.paulus@verizon.com wrote:
Greetings, Mark, Marco & Chris (original poster),
> Date: Mon, 16 Apr 2018 19:37:36 +0000
> From: mark.paulus@verizon.com
> To: Marco Atzeri <marco.atzeri@gmail.com>,
> "cygwin@cygwin.com" <cygwin@cygwin.com>
> Subject: RE: [E] Re: x3270
>
> -----Original Message-----
>> On 4/15/2018 2:48 AM, Chris Johnson wrote:
>>> Hi.
>>>
>>> Not sure when this happened but I now have a complaint for cygwin on
>>> exit about x3270.sh returning exit code 1. I found it listed in
>>> /etc/setup/install.db and remove it. No joy. Do I recall the x3270
>>> is defunct? Either way, how do I get rid of this error. It's annoying.
>>>
>>> Thanks.
>>>
>>
>> x3270 is still an active package
>>
>> run /etc/postinstall/x3270.sh from bash and if you have no error rename it as /etc/postinstall/x3270.sh.done
>>
>> Regards
>> Marco
The issue with mkfontdir in the postinstall script is already known
(reported back in 2016, yikes!). I just haven't gotten around to issuing
an update.
The path to the encodings dir is wrong (was moved as part of an X update).
I have plans to better determine which directory to use, but haven't
completed that. I also need to build the latest version, but the
maintainer has drastically re-org'd the code. So, still work in progress.
The "workaround" is to either add a symlink, as you've noted below, or
update the script to point to the "correct" place:
/usr/bin/mkfontdir -e /usr/share/x11/fonts/encodings /usr/share/fonts/misc
Oh, and, yes, adding a dependency on mkfontdir is needed.
Thanks for helping to poke me about getting this addresses.
:)
> Manually ran x3270.sh and ran into a couple of issues that looks like they could use addressing:
> First time I ran it, got this:
> $ ./x3270.sh
> ./x3270.sh: line 9: /usr/bin/mkfontdir: No such file or directory
>
> Installed mkfontdir package (need a dependency maybe?), then ran it again
> and got this:
> $ bash -x x3270.sh
> + FONTDIR=/usr/share/fonts
> + ENCODINGSDIR=/usr/share/fonts/encodings
> + MKFONTDIR=/usr/bin/mkfontdir
> + /usr/bin/mkfontdir -e /usr/share/fonts/encodings /usr/share/fonts/misc
> opendir: No such file or directory
>
> I "think" the issue here is that the encoding directory we want is actually
> in /usr/share/X11/fonts/encoding instead of /usr/share/fonts/encoding.
> Solved this by creating a soft link:
> /usr/share/fonts
> $ ln -sf /usr/share/x11/fonts/encodings .
> /usr/share/fonts
> $ ll
> total 93
> drwxr-xr-x+ 1 v808297 Domain Users 0 Apr 16 13:23 ./
> drwxr-xr-x+ 1 v808297 Domain Users 0 Apr 16 11:44 ../
> drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:50 dejavu/
> lrwxrwxrwx 1 v808297 Domain Users 30 Apr 16 13:23 encodings -> /usr/share/x11/fonts/encodings/
> drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:57 microsoft/
> drwxr-xr-x+ 1 v808297 Domain Users 0 Feb 26 08:53 misc/
>
> After these 2 corrections the x3270.sh script ran successfully and
> I was able to rename it to x3270.sh.done
>
> Thanks,
>
> Mark
>
> --
> 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
>
>
--
--=> Peter A. Castro
Email: doctor at fruitbat dot org / Peter dot Castro at oracle dot com
"Cats are just autistic Dogs" -- Dr. Tony Attwood
[-- Attachment #2: Type: text/plain, Size: 219 bytes --]
--
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] 5+ messages in thread
* Re: x3270
2018-04-16 5:22 ` x3270 Marco Atzeri
2018-04-16 19:38 ` [E] x3270 mark.paulus
@ 2018-04-18 1:41 ` Chris Johnson
1 sibling, 0 replies; 5+ messages in thread
From: Chris Johnson @ 2018-04-18 1:41 UTC (permalink / raw)
To: cygwin, Chris Johnson
> x3270 is still an active package
>
> run /etc/postinstall/x3270.sh from bash and if you have no error
> rename it as /etc/postinstall/x3270.sh.done
>
> Regards
> Marco
All the x3270.sh file did was define a few shell variables. It didn't
fail and the rename worked.
Thank you.
--
Chris Johnson rchristopherjohnson@gmail.com
Ex SysAdmin, now, writer /There are three faithful friends; an old
wife, an old dog, and ready money.
/(Benjamin Franklin)
--
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] 5+ messages in thread
end of thread, other threads:[~2018-04-18 1:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-15 0:49 x3270 Chris Johnson
2018-04-16 5:22 ` x3270 Marco Atzeri
2018-04-16 19:38 ` [E] x3270 mark.paulus
2018-04-16 20:45 ` Peter A. Castro
2018-04-18 1:41 ` x3270 Chris Johnson
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).