Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-22 Thread Jorge Almeida
On Wed, Sep 22, 2021 at 9:29 PM Alan Mackenzie  wrote:
>
> Hello, Jorge.
>
Hi Alan, thanks for the reply

> I must confess that somebody told me by private email that it fails on
> systems which change their screen geometry during boot-up.  For example,
> a system which first boots into 80x25, then changes to a frame buffer.
> I know why this is happening, but I don't have a machine to debug it on,
> so the debugging is happening slowly, with the help of my correspondent.
>
> It also doesn't seem to work on machines with kernel parameters such as
> vga=791.

OK, I don't know much about this kind of stuff, but I don't think
there's a problem there. I have an integrated GPU (intel), driver
i915, resolution 1920x1080. It boots (via Refind) with the proper
resolution, and that's it. All the VTs show the same resolution and
font. I don't use a login manager. No problems, no change is supposed
to happen. I start an X session from a login shell, in any VT except
tty1, which I like to keep as console.

>

> I'm assuming that the patch you tried to apply was
> 5.10.49-scroll.20210715.diff.  If so, please leave it applied (with the
> one failed hunk), and additionally apply this:
>
I may have missed some announcement from you, I'm using
diff.20210405.diff. I wasn't aware of newer versions. Is there an URL
to download it? I would try it before trying to apply the patch
included in your message.

Thanks,

Jorge Almeida



Re: [gentoo-user] console scrollback (kernel 5.14)

2021-09-22 Thread Alan Mackenzie
Hello, Jorge.

On Sat, Sep 18, 2021 at 21:40:46 +0100, Jorge Almeida wrote:
> Hello, gentooers in general and Alan in particular

> I've been using Alan Mackenzie's patch until kernel 5.13, with
> success. It failed with 5.14.4 --yes, I know, but it doesn't hurt to
> try :)

I'm happy to know my patch is still useful.

I must confess that somebody told me by private email that it fails on
systems which change their screen geometry during boot-up.  For example,
a system which first boots into 80x25, then changes to a frame buffer.
I know why this is happening, but I don't have a machine to debug it on,
so the debugging is happening slowly, with the help of my correspondent.

It also doesn't seem to work on machines with kernel parameters such as
vga=791.

That said, I'm hoping that the failure of the patch on 5.14.4 is just a
simple struct change in 5.14, which I hope to have corrected (but in
5.14.5).  What used to be

while (!tty->stopped ...

has now become

while (!tty->flow.stopped ...

I'm assuming that the patch you tried to apply was
5.10.49-scroll.20210715.diff.  If so, please leave it applied (with the
one failed hunk), and additionally apply this:



--- ./drivers/tty/vt/vt.c.orig  2020-12-13 22:41:30.0 +
+++ ./drivers/tty/vt/vt.c   2021-04-05 16:20:32.624563241 +
@@ -3208,6 +3208,12 @@
 
param.vc = vc;
 
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK
+   /* Undo any soft scrolling -  and  do
+  not pass through this function.  */
+   concon_set_origin (vc);
+#endif
+
while (!tty->flow.stopped && count) {
int orig = *buf;
buf++;


As always, there are no guarantees.  Please let me know whether or not
the above hunk applies, and if so, whether or not the scrolling still
works.  (Also, feel free to send me private email if there're any
problems with the mechanics of applying the patch.)

Thanks!

> Jorge Almeida

> Just in case it is useful:

It was, thanks!

[  ]

> param.vc = vc;

> +   /* NEW STOUGH, 2021-04-03 */
> +#ifdef CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK
> +   /* Undo any soft scrolling -  and  do
> +  not pass through this function.  */
> +   concon_set_origin (vc);
> +#endif
> +   /* END OF NEW STOUGH */
> +
> while (!tty->stopped && count) {  <==
> int orig = *buf;
> buf++;

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] Re: acrobat reader

2021-09-22 Thread Grant Edwards
On 2021-09-22, Jack  wrote:
> On 2021.09.22 15:06, the...@sys-concept.com wrote:
>> I have a pdf fillable form which I can only open in acrobat reader on  
>> Windows.
>> 
>> Which package do I use to read these form on Gentoo?
>
> You should be able to read them with any PDF reader.

Nope. It uses Javascript and dynamic XFA content. None of the
third-party PDF readers support that.


> Not all readers  
> will allow you to fill in the forms and save with the inserted data.  I  
> use Okular for that, but the dependencies may be a lot if you don't  
> already run KDE.  I wouldn't be surprised if the Gnome PDF reader  
> (evince?) can also do it.

none of evince, atril or pdfstudio support dynamic XFA.

--
Grant




[gentoo-user] Re: acrobat reader

2021-09-22 Thread Grant Edwards
On 2021-09-22, the...@sys-concept.com  wrote:

> This is the form I'm trying to open:
>
> https://cfr.forms.gov.ab.ca/Form/AHC0102.pdf

That's an abomination that use Javascript and dynamic XFA content:

   https://kbpdfstudio.qoppa.com/livecycle-dynamic-xfa-forms/

Whoever designed something like that for use by the general public
needs to have thier career terminated before they cause any more
damage.

--
Grant







Re: [gentoo-user] [SOLVED] acrobat reader

2021-09-22 Thread thelma
On 9/22/21 1:41 PM, Charlotte Delenk wrote:
> 
> On 9/22/21 21:29, the...@sys-concept.com wrote:
>> On 9/22/21 1:19 PM, Jack wrote:
>>> On 2021.09.22 15:06, the...@sys-concept.com wrote:
 I have a pdf fillable form which I can only open in acrobat reader on 
 Windows.

 Which package do I use to read these form on Gentoo?
>>> You should be able to read them with any PDF reader.  Not all readers will 
>>> allow you to fill in the forms and save with the inserted data.  I use 
>>> Okular for that, but the dependencies may be a lot if you don't already run 
>>> KDE.  I wouldn't be surprised if the Gnome PDF reader (evince?) can also do 
>>> it.
>>>
>>> Jack
>> I have evince, it will not open it.
>>
>> This is the form I'm trying to open:
>>
>> https://cfr.forms.gov.ab.ca/Form/AHC0102.pdf
>>
> The javascript code embedded inside explicitely checks for acrobat reader 
> version 9.0 or newer, as well as "XFA" (whatever that is) version 2.0 or 
> newer. Maybe try installing app-emulation/wine and then running acrobat 
> reader using wine?

On gentoo "app-text/master-pdf-editor-5.7.90" WORKS 
I can read and edit that file.



Re: [gentoo-user] acrobat reader

2021-09-22 Thread Jack

On 2021.09.22 15:39, the...@sys-concept.com wrote:

On 9/22/21 1:29 PM, the...@sys-concept.com wrote:
> On 9/22/21 1:19 PM, Jack wrote:
>> On 2021.09.22 15:06, the...@sys-concept.com wrote:
>>> I have a pdf fillable form which I can only open in acrobat  
reader on Windows.

>>>
>>> Which package do I use to read these form on Gentoo?
>> You should be able to read them with any PDF reader.  Not all  
readers will allow you to fill in the forms and save with the  
inserted data.  I use Okular for that, but the dependencies may be a  
lot if you don't already run KDE.  I wouldn't be surprised if the  
Gnome PDF reader (evince?) can also do it.

>>
>> Jack
>
> I have evince, it will not open it.
>
> This is the form I'm trying to open:
>
> https://cfr.forms.gov.ab.ca/Form/AHC0102.pdf

I can open this file on Windows Acrobat Reader but when I try to  
save/print it as a PDF file via PDFcreator I'm getting some  
Ghoastscript error.
Yes, I see that okular (21.04.3) won't open it.  Actually, okular does  
say "This document has XFA forms, which are currently unsupported.   
It's also odd that the message which is displayed implies that Acrobat  
Reader is available for Linux, even though it's not available.


How is Ghostscript involved on Windows?

Is there any hope of complaining to the Alberta government that there  
is no access to the form without being forced to use proprietary  
software?  (Probably not, but it's a thought.)


Finally, if you search for "acrobat xfa forms linux" you will find some  
suggestions.




Re: [gentoo-user] acrobat reader

2021-09-22 Thread tastytea
On 2021-09-22 13:29-0600 the...@sys-concept.com wrote:

> On 9/22/21 1:19 PM, Jack wrote:
> > On 2021.09.22 15:06, the...@sys-concept.com wrote:  
> >> I have a pdf fillable form which I can only open in acrobat reader
> >> on Windows.
> >>
> >> Which package do I use to read these form on Gentoo?  
> > You should be able to read them with any PDF reader.  Not all
> > readers will allow you to fill in the forms and save with the
> > inserted data.  I use Okular for that, but the dependencies may be
> > a lot if you don't already run KDE.  I wouldn't be surprised if the
> > Gnome PDF reader (evince?) can also do it.
> > 
> > Jack  
> 
> I have evince, it will not open it.
> 
> This is the form I'm trying to open:
> 
> https://cfr.forms.gov.ab.ca/Form/AHC0102.pdf
> 

Okular 21.04.3 won't work either, I got a message box claiming I need
a newer version of Acrobat Reader and the content of the PDF is a
placeholder that reads “[…] your PDF viewer may not be able to display
this type of document […]”.

A warning above the document says that the document contains XFA forms
that are not supported.

Kind regards, tastytea

-- 
Get my PGP key with `gpg --locate-keys tasty...@tastytea.de` or at
.


pgp7fb5qm1BIK.pgp
Description: Digitale Signatur von OpenPGP


Re: [gentoo-user] acrobat reader

2021-09-22 Thread Charlotte Delenk


On 9/22/21 21:29, the...@sys-concept.com wrote:

On 9/22/21 1:19 PM, Jack wrote:

On 2021.09.22 15:06, the...@sys-concept.com wrote:

I have a pdf fillable form which I can only open in acrobat reader on Windows.

Which package do I use to read these form on Gentoo?

You should be able to read them with any PDF reader.  Not all readers will 
allow you to fill in the forms and save with the inserted data.  I use Okular 
for that, but the dependencies may be a lot if you don't already run KDE.  I 
wouldn't be surprised if the Gnome PDF reader (evince?) can also do it.

Jack

I have evince, it will not open it.

This is the form I'm trying to open:

https://cfr.forms.gov.ab.ca/Form/AHC0102.pdf

The javascript code embedded inside explicitely checks for acrobat 
reader version 9.0 or newer, as well as "XFA" (whatever that is) version 
2.0 or newer. Maybe try installing app-emulation/wine and then running 
acrobat reader using wine?


OpenPGP_0x3CEF5DDA915AECB0.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] acrobat reader

2021-09-22 Thread thelma
On 9/22/21 1:29 PM, the...@sys-concept.com wrote:
> On 9/22/21 1:19 PM, Jack wrote:
>> On 2021.09.22 15:06, the...@sys-concept.com wrote:
>>> I have a pdf fillable form which I can only open in acrobat reader on 
>>> Windows.
>>>
>>> Which package do I use to read these form on Gentoo?
>> You should be able to read them with any PDF reader.  Not all readers will 
>> allow you to fill in the forms and save with the inserted data.  I use 
>> Okular for that, but the dependencies may be a lot if you don't already run 
>> KDE.  I wouldn't be surprised if the Gnome PDF reader (evince?) can also do 
>> it.
>>
>> Jack
> 
> I have evince, it will not open it.
> 
> This is the form I'm trying to open:
> 
> https://cfr.forms.gov.ab.ca/Form/AHC0102.pdf

I can open this file on Windows Acrobat Reader but when I try to save/print it 
as a PDF file via PDFcreator I'm getting some Ghoastscript error.
 



Re: [gentoo-user] acrobat reader

2021-09-22 Thread thelma
On 9/22/21 1:19 PM, Jack wrote:
> On 2021.09.22 15:06, the...@sys-concept.com wrote:
>> I have a pdf fillable form which I can only open in acrobat reader on 
>> Windows.
>>
>> Which package do I use to read these form on Gentoo?
> You should be able to read them with any PDF reader.  Not all readers will 
> allow you to fill in the forms and save with the inserted data.  I use Okular 
> for that, but the dependencies may be a lot if you don't already run KDE.  I 
> wouldn't be surprised if the Gnome PDF reader (evince?) can also do it.
> 
> Jack

I have evince, it will not open it.

This is the form I'm trying to open:

https://cfr.forms.gov.ab.ca/Form/AHC0102.pdf



Re: [gentoo-user] acrobat reader

2021-09-22 Thread Franz Trischberger
Jack: okular (and poppler apps in general) won't open some (all?) files
with filled in forms.
I had many such files in the past where I had to use acrobat...

Am Mi., 22. Sept. 2021 um 22:19 Uhr schrieb Jack <
ostrof...@users.sourceforge.net>:

> On 2021.09.22 15:06, the...@sys-concept.com wrote:
> > I have a pdf fillable form which I can only open in acrobat reader on
> > Windows.
> >
> > Which package do I use to read these form on Gentoo?
> You should be able to read them with any PDF reader.  Not all readers
> will allow you to fill in the forms and save with the inserted data.  I
> use Okular for that, but the dependencies may be a lot if you don't
> already run KDE.  I wouldn't be surprised if the Gnome PDF reader
> (evince?) can also do it.
>
> Jack
>
>


Re: [gentoo-user] acrobat reader

2021-09-22 Thread Jack

On 2021.09.22 15:06, the...@sys-concept.com wrote:
I have a pdf fillable form which I can only open in acrobat reader on  
Windows.


Which package do I use to read these form on Gentoo?
You should be able to read them with any PDF reader.  Not all readers  
will allow you to fill in the forms and save with the inserted data.  I  
use Okular for that, but the dependencies may be a lot if you don't  
already run KDE.  I wouldn't be surprised if the Gnome PDF reader  
(evince?) can also do it.


Jack



[gentoo-user] acrobat reader

2021-09-22 Thread thelma
I have a pdf fillable form which I can only open in acrobat reader on Windows.

Which package do I use to read these form on Gentoo?