Hi Lanas

I have a console definition on the inittab file as:
ttyS1::respawn:/sbin/getty -L ttyS1 9600 vt100
Then I have the node definition built upon bootup on /dev as:
crw--w----    1 root     root       4,  65 Nov  2 17:53 ttyS1
And I do not start uml with any con config. Then uml set ups the console
once it finishes bootup.

Hope it helps

David
On Sun, Nov 1, 2009 at 7:09 PM, lanas <la...@securenet.net> wrote:

> All,
>
>  This is about using a serial line between a uml and the host
> without having xterm popping in the way
>
>  I'm following the book so here's how I do it.  The problem is
> with a xterm popping up unexpectedly (at least until it is
> understood why) when the uml is launched with the pts.  Here's
> how it goes:
>
> 1) With unwanted xterm
>
> [... uml1 command line ...] con8=pts
>
> uml1 # cat < /dev/tty8
>
> A xterm window appears on the desktop and uml_mconsole returns:
>
> host # uml_mconsole uml1 config con8
> OK xterm
>
> 2) W/o xterm (wished use)
>
> On the other hand, if the uml is *not* started with con8=pts and
> the following is done after it has booted:
>
> host # uml_mconsole uml1 config con8=pts
>
> Then doing the following does not pop up a xterm window on the
> desktop, and the serial port can be used from the host side
> thereafter.
>
> uml1 # cat < /dev/tty8
>
> The mconsole on the host then returns not an xterm, but a pts, as
> it should:
>
> host # uml_mconsole uml1 config con8
> OK pts:/dev/pts/7
>
> Why does it work now ?
>
> I do not understand where the difference lies.  I'd like to be
> able to launch the uml with a con device ready to use, w/o having
> the xterm in the way.
>
> Thanks for any hints/suggestions/ideas.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to