Re: console-only freebsd

2017-10-10 Thread tech-lists

On Mon, Oct 09, 2017 at 07:58:12AM -0700, Chris H wrote:


You might also find this article by Warren Block of value:

http://www.wonkity.com/~wblock/docs/html/hiresconsole.html


interesting, I guess that's another way of looking at it. Bear in mind 
though that the cpu really is low powered. On top of that, it's a netbook so
keeping power consumption low is important 


In the meantime I've found that links2 might do what I want as it supports
text and graphics in svga/framebuffer.

thanks for the suggestion

--
J.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-10 Thread Jakub Lach
Exactly, I would still use X, just with a frugal wm (dwm).



--
Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-stable-f3932046.html
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-09 Thread Chris H
On Sat, 7 Oct 2017 09:49:40 -0700 Freddie Cash  wrote

> On Oct 7, 2017 7:21 AM, "tech-lists"  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.

You might also find this article by Warren Block of value:

http://www.wonkity.com/~wblock/docs/html/hiresconsole.html

--Chris
> 
> Cheers,
> Freddie
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-08 Thread Brian Reichert
On Sat, Oct 07, 2017 at 04:43:08PM +0200, Polytropon wrote:
> 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... ;-)

I wonder if AA-lib is still viable; it was fun to play with back in
the day: :)

  http://aa-project.sourceforge.net/index.html

> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

-- 
Brian Reichert  
BSD admin/developer at large
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-07 Thread Ian Smith
On Sat, 7 Oct 2017 16:37:10 +0200, Polytropon wrote:
 > 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...

You'd earlier said that you couldn't use sc anymore as you couldn't get 
X to work with it - that it lost video when quitting X or switching to 
vtys from X, which presumably is still an issue.

But since tech-lists specifically doesn't intend running X, is there any 
other reason to avoid still using sc(4)?  It's still optional, isn't it?

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

cheers, Ian
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-07 Thread Freddie Cash
On Oct 7, 2017 7:21 AM, "tech-lists"  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
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-07 Thread tech-lists

On Sat, Oct 07, 2017 at 04:37:10PM +0200, Polytropon wrote:

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


thanks for the tip. I'll checkout zgv.

Basically I'm looking for the console equivalent of all the
programs one would expect to use on a desktop. So for example,
my favourite email program is mutt. So for mutt, to view a
html email I pipe it through w3m, to view a jpg attachment
I guess I'll need to edit the mailcap file to make it load
zgv. I'm interested in any suggestions the list(s) have
concerning console equivalents of desktop programs.


Still you might be successful finding a viewer that can
directly interface with the "vt" graphics mode...


Yeah that's what I hope. The laptop is AMD C-70 which has an
AMD/Radeon APU. It will run xorg but console mode is much faster
and consumes a lot less power. What's nice about the netbook is
that it's just about the ideal size of keyboard and screen, the
case is high quality glossy black plastic and it has a usb3
port and the video is recognised by radeonkms, which gives a
really nice clear console. The downside is the CPU isn't
powerful, so I need to optimise everything for it, and this
"console-only" idea is part of the optimisation I'm attempting.


Yes. Edit /etc/ttys to spawn more gettys. See "man 5 ttys"
for details.


thanks for this tip as well
--
J.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-07 Thread Polytropon
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, ...
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: console-only freebsd

2017-10-07 Thread Polytropon
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, ...
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


console-only freebsd

2017-10-07 Thread tech-lists

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.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"