Hi, I have a freebsd 11-stable installation on a (gutless) netbook. What I'd like is full functionality via the console[1]. One of the things it needs is some graphics capability but without xorg. So I'm thinking, svga or libSDL. For example, let's say to view a jpg file. If this is possible from the console, what program or port would one use to view a gif or jpg file? [1] by console, I mean the consoles accessed via alt-f1 to alt-f7 [2] [2] can the number of consoles be increased? many thanks, -- J.
On Sat, 7 Oct 2017 15:20:19 +0100, tech-lists wrote:> I have a freebsd 11-stable installation on a (gutless) netbook. What I'd like > is full functionality via the console[1]. One of the things it needs is some > graphics capability but without xorg. So I'm thinking, svga or libSDL. > For example, let's say to view a jpg file. If this is possible from the console, > what program or port would one use to view a gif or jpg file?Maybe something svgalib-based? With the new console "vt", you basically are in graphics mode all the time, there is no text mode anymore (that was "sc"). I know there was an image viewer called zgv (console) + xzgv (X), with version 0.8_9 being the last usable version (prior to the "library shift"), but this probably isn't being maintained anymore... Still you might be successful finding a viewer that can directly interface with the "vt" graphics mode...> [1] by console, I mean the consoles accessed via alt-f1 to alt-f7 [2] > [2] can the number of consoles be increased?Yes. Edit /etc/ttys to spawn more gettys. See "man 5 ttys" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
On Sat, 7 Oct 2017 15:20:19 +0100, tech-lists wrote:> what program or port would one use to view a gif or jpg file?Additional thought: With vt, default text modes are typically much bigger than the traditional 80x25 of sc. With the "block graphics" and maybe ASCII art + foreground / background color attributes, maybe there is a viewer that converts the image into "text with control characters" that can be displayed directy in the vt text mode, without using any graphics? Just a stupid thought... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
On Oct 7, 2017 7:21 AM, "tech-lists" <tech-lists at zyxst.net> wrote: Hi, I have a freebsd 11-stable installation on a (gutless) netbook. What I'd like is full functionality via the console[1]. One of the things it needs is some graphics capability but without xorg. So I'm thinking, svga or libSDL. For example, let's say to view a jpg file. If this is possible from the console, what program or port would one use to view a gif or jpg file? [1] by console, I mean the consoles accessed via alt-f1 to alt-f7 [2] [2] can the number of consoles be increased? Tmux or screen will give you an unlimited number of virtual terminals using only a single TTY. And give you the ability to split the console into multiple windows. Cheers, Freddie