Steffen Nurpmeso wrote in
 <20210816153123.eebdi%stef...@sdaoden.eu>:
 |Hello Mr. Bell.
 |
 |russellb...@gmail.com wrote in
 | <202108151442.17fegwx5029...@randytool.net>:
 ||
 || When I receive an image, for example:
 ||
 || [-- #1.2 788/60446 base64 --]
 || Content-Disposition: attachment; filename="eReceipt.pdf"
 || Content-Type: application/pdf; name="eReceipt.pdf"
 || run MIME handler for this part? [no]/yes? yes
 ||
 || The image flashes on the screen then I get:
 ||
 || using "Liberation Mono-16", pixelsize=16.67 file=/usr/share/fonts/TTF/Li\
 || berationMono-Regular.ttf
 || trying drm: /dev/dri/card0 ...
 || ioctl VT_GETMODE: Inappropriate ioctl for device
 || NOTICE: No vt switching available on terminal.
 || NOTICE: Not started from linux console?  CONFIG_VT=n?
 ||
 || I did start from a linux console, CONFIG_VT=y, .mailcap has
 || application/pdf; /usr/local/bin/fbpdf %s
 ||
 || What am I doing wrong?
 |
 |With regards to another ML, Cement shoes?
 |Haha, funny!!
 |Hmm.  Maybe you are running under X?
 |What does /usr/local/bin/fbpdf say when called directly in the
 |same environment?
 |It really should not matter, but you could set "needsterminal".

I also have CONFIG_VT_CONSOLE=y.

P.S.: i was coming over
  https://git.kraxel.org/cgit/fbida/tree/fbpdf.c#n324
and
  https://git.kraxel.org/cgit/fbida/tree/vt.c#n84
in case that helps.

Try adding VT_CONSOLE.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to