Change terminals

Joshua Oreman oremanj at webserver.get-linux.org
Tue Jul 8 09:14:22 PDT 2003


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 at 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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list