Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems

From: Nicolas Pitre
Date: Sun Apr 02 2017 - 17:41:22 EST


On Sun, 2 Apr 2017, Andi Kleen wrote:

> Nicolas Pitre <nicolas.pitre@xxxxxxxxxx> writes:
> >
> > Of course, making it "mini" means there are limitations to what it does:
> >
> > - This supports serial ports only. No VT's, no PTY's.
>
> No PTYs seems like a big limitation. This means no sshd?

Again, my ultimate system target is in the sub-megabyte of RAM. I
really doubt you'll be able to fit an SSH server in there even if PTYs
were supported, unless sshd (or dropbear) can be made really tiny.
Otherwise you most probably have sufficient resources to run the regular
TTY code.

That being said, maybe there could be a way to cheaply support PTYs. I
just didn't investigate it.

> > But again, most small embedded systems simply don't need those things.
>
> They don't need a (debug) way to login over the network? Hard to
> believe.

This most likely won't be via a standard shell.


Nicolas