public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [lia64-sim] Re: [Linux-ia64] ski and gcc-3.x
@ 2003-02-21  7:35 Matt Chapman
  2003-02-21 16:08 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Chapman @ 2003-02-21  7:35 UTC (permalink / raw)
  To: linux-ia64

On Thu, Feb 20, 2003 at 11:23:22PM -0800, David Mosberger wrote:
> 
> I'm afraid you'll be out of luck without X: you _can_ run in
> batch-mode without X, but then you don't get the debugger.  If you
> want the debugger, there must be a way to create a simulated console
> and that's done by starting a slave xterm.  Without X, that's hard to
> do.  If I work remotely, I use ssh X forwarding to prevent this
> problem.

X forwarding is painful over a modem :)

To get around this, I wrote a small program that sits in place of xterm
(I put it first in my path with a wrapper script).  It relays to a pty
device; I then connect to the slave device with another program like
screen or minicom.

http://www.cse.unsw.edu.au/~matthewc/files/fake-xterm.c

Matt



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lia64-sim] Re: [Linux-ia64] ski and gcc-3.x
  2003-02-21  7:35 [lia64-sim] Re: [Linux-ia64] ski and gcc-3.x Matt Chapman
@ 2003-02-21 16:08 ` David Mosberger
  0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger @ 2003-02-21 16:08 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Fri, 21 Feb 2003 18:35:35 +1100, Matt Chapman <matthewc@cse.unsw.edu.au> said:

  Matt> On Thu, Feb 20, 2003 at 11:23:22PM -0800, David Mosberger
  Matt> wrote:
  >>  I'm afraid you'll be out of luck without X: you _can_ run in
  >> batch-mode without X, but then you don't get the debugger.  If
  >> you want the debugger, there must be a way to create a simulated
  >> console and that's done by starting a slave xterm.  Without X,
  >> that's hard to do.  If I work remotely, I use ssh X forwarding to
  >> prevent this problem.

  Matt> X forwarding is painful over a modem :)

  Matt> To get around this, I wrote a small program that sits in place
  Matt> of xterm (I put it first in my path with a wrapper script).
  Matt> It relays to a pty device; I then connect to the slave device
  Matt> with another program like screen or minicom.

  Matt> http://www.cse.unsw.edu.au/~matthewc/files/fake-xterm.c

Heh, that's neat.

	--david


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-21 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-21  7:35 [lia64-sim] Re: [Linux-ia64] ski and gcc-3.x Matt Chapman
2003-02-21 16:08 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox