Skip to contentSkip to conversation

ski and gcc-3.x

lia64-sim Matt Chapman 2 participants 2 messages Feb 21, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · David Mosberger

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

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Matt Chapman

Matt> On Thu, Feb 20, 2003 at 11:23:22PM -0800, David Mosberger

Quoted 6 lines · Matt> wrote:
Quoted 6 lines

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