On Mon, Jan 22, 2024 at 10:00:44PM +0700, Max Nikulin wrote:
> On 22/01/2024 05:44, phoebus phoebus wrote:
> > Handling Returns: When the filter receives returns from the serial
> > printer, it directly transmits them to the terminal application without
> > any modification or addition. Thus, information from the serial printer
> > is relayed as is to the terminal application without altering the
> > pass-through mode.
> 
> I feel that I miss something. Shouldn't data from devices connected to the
> serial port be sent to the server (the application running on the server)
> not to the terminal application that just displays text?

But it's only the "terminal application" who has contact to the server,
so it has to play middleman.

That's the way it was built -- just mimicking the "real terminal cum
firmware" which was replaced with "DOS/Windows PC cum terminal application".

Of course, if you look closer, you'll somehow find several components,
whether they run in one address space or in separate processes :-)

> >    The PuTTY application has been evaluated to meet consultation needs but 
> > does not fulfill the requirements related to sales, especially concerning 
> > access to the serial printer.
> >    Terminals details include the use:
> >    Coonection by key type: ed25519 with passphrase
> >    The backspace key:  Control-? (127)
> >    The function keys and keypad: Xterm 216+
> 
> "Xterm 216" is unclear for me.
> 
> If there was no requirement for passthrough printing then would putty have
> some features unavailable e.g. in the following case?
> 
>     xterm -e ssh example.com
> 

The things missing there are "escape sequence to start sending stuff
via serial port to the printer" and "send everything coming from the
serial port to the app".

I envision a small program in the middle of all spawning an SSH,
opening the serial port and running in an xterm (so your ssh is
just wrapped in that process).

> ...or with any of libvte-based terminal applications. Would it be enough to
> run ssh in a VT (TERM=linux)?

So yes... nearly:-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to