> -----Original Message-----
> From: Jarod Masters [mailto:jrd_mstrs@;hotmail.com]
> Sent: dinsdag 29 oktober 2002 14:32
> To: [EMAIL PROTECTED]
> Subject: multiple terminals in vnc
> 
> 
> >It sounds like you just need to open another Xterm and do your thing,
> >just as you would if you were using X directly on the machine in
> >question.  The Xterm you see in VNC has nothing to do with 
> the virtual
> >terminals at the console (tty01-ttyxx).  If you are running 
> just a text
> >based app, maybe using SSH would be more bandwidth friendly, 
> though you
> >would have to use something like screen to make your sessions
> >persistent.
> >--
> >William
> 
> The text-based program that i'm using places it's output 
> (screen) on another 
> terminal. My program asks me to press F3 for example, telling 
> me to change 
> terminal. If i open an xterm through my client, i get a 
> prompt (#). If i'm 
> working on my sco machine, the program switches automaticly, 
> but what the 
> program does it's the same as ctrl-alt-F?.
> So what i'm trying to do is switch terminals to see the output of the 
> program. Do i have to have servers running on all tty's or not.

I think you can have your program working in xterms with the next hack:

Find out which tty's are used by your program. Say you find /dev/tty02 and
/dev/tty03.
Remove those devices from /dev/ (move them to a subdirectory or rename
them).
Open new xterms and see which tty's they use (inside them, type `tty`)
Create a softlink from /dev/tty02 and /dev/tty03 to the tty's of the Xterms.
Now run your program and see what you get in the xterms.

Some details:
Better not to rename the console device that is used by the system.
/dev/console is on most systems a softlink to /dev/tty00 or such.
The terminal type of the origional tty's will differ from the xterm so the
view might not be perfect. If the origional terminal type is `vt100` (most
likely on PC based hardware) then try to find xvt, a xterm like terminal
emulator that mimics the vt100.


As noted above, considder this as a hack, if you get some results, try to
make a nice script that sets and resets the situation.

As with hacking, some chops mis the target and might chop into something
valuable. Hence no guaranties...


Succes

CBee
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to