bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inconsistent output in terminal emulator


From: Mike Stroyan
Subject: Re: Inconsistent output in terminal emulator
Date: Mon, 24 Aug 2009 09:57:24 -0600
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Aug 24, 2009 at 09:44:36AM +0200, Ralf Goertz wrote:
> I hope you don't mind my jumping in with a question that is only
> remotely related. But since you guys seem to be experts on tty…
> 
> I have an embedded device running a linux kernel that uses a serial port
> as console (console=ttyAS0,115200). I can log on to that device via
> telnet. Is it possible to see what is written to that console from
> within the telnet session using features provided by the shell?

  It is very likely that an embedded device is using busybox as the shell
rather than bash.  That would be good news for you as there is a setconsole
builtin for busybox that will redirect console output to a different device
such as the telnet pty.  Bash does not include console redirection.
Busybox may be built with or without the setconsole feature.  See the
http://man-wiki.net/index.php/1:busybox manual and check the details of
your device.

-- 
Mike Stroyan <mike@stroyan.net>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]