Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 09:14:25 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        "Marvin J. Kosmal" <lamsokvr@xprt.net>
Cc:        questions@freebsd.org
Subject:   Re: Change terminals
Message-ID:  <20030708161425.GB3790@webserver.get-linux.org>
In-Reply-To: <1057642510.726.140.camel@farm-libranet>
References:  <1057642510.726.140.camel@farm-libranet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 07, 2003 at 10:35:08PM -0700 or thereabouts, Marvin J. Kosmal wrote:
> 
> 
> Question
> 
> When you ssh into your work machine from home
> How or can you change the terminal you are on..
> 
> example below
> 
> Last login: Mon Jul  7 22:23:50 2003 from clark.lab
> mkosmal@libranet-lab2:~$ w
>  22:31:55 up 4 days,  8:42,  7 users,  load average: 1.16, 1.03, 1.01
> USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
> mkosmal  :0       -                Thu13   ?xdm?  14:27   4.09s
> /usr/bin/icewm-experimental
> mkosmal  pts/0    :0               Thu13    4days  4days  4days
> ./setiathome
> mkosmal  pts/1    :0               Thu13    4days  0.07s  0.07s -bash
> mkosmal  pts/2    :0.0             Thu15    4days  0.31s  0.28s ssh
> mkosmal@lab
> mkosmal  pts/3    :0.0             Thu16    4days  0.00s  0.00s -bash
> mkosmal  pts/4    :0.0             Thu16    4days  0.04s  0.04s -bash
> mkosmal  pts/5    pdx-ppp374.pop1. 22:31    0.00s  0.04s  0.02s w
> 
> I did the w.  and am on pts/5
> 
> How do I get to pts/0??????

To see what's on it: /usr/sbin/vidcontrol -P < /dev/pts/0

To "write" to the program that's on it:
(as root) watch -w /dev/pts/0 (press Ctrl+G to exit)

-- Josh

> 
> 
> TIA
> 
> 
> 
> 
> 
> -- 
> Marvin J. Kosmal
> Linux Activist
> Registered User # 88512
> Brought to by Libranet 2.7
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030708161425.GB3790>