1837968 Members
2763 Online
110124 Solutions
New Discussion

Another emulation ...

 
Manuales
Super Advisor

Another emulation ...

how can i take another emulation "tty" being root?

thanks ..Manuales
8 REPLIES 8
Raj D.
Honored Contributor

Re: Another emulation ...

Hi Manuales ,

Try , # TERM=vt100 ; expor TERM

To see the current emulation check with # echo $TERM

If you mean something else , pls post some more in details.

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Manuales
Super Advisor

Re: Another emulation ...

for example, my friend yoyo has an emulation and i have anoter emulation, i need she sees all commands i'm typing from my emulation for that reason i need take her emulation and then she will see without writte anything ok?' how can i do this?

thanks Manuales.
Sยภเl Kย๓คг
Respected Contributor

Re: Another emulation ...

Hi,

Use #export TERM=, like vt100 or vt220 like.

If u want to set this emulation specifically for a user, u can include this entry in the .profile located in home dir of that particular user. Else if u want to set it common for the server, u can put the entry in the /etc/profile file.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
Manuales
Super Advisor

Re: Another emulation ...

i think you win submit without see the example:

again:

for example, my friend yoyo has an emulation and i have anoter emulation, i need she sees all commands i'm typing from my emulation for that reason i need take her emulation and then she will see without writte anything ok?' how can i do this?

thanks Manuales.
dirk dierickx
Honored Contributor

Re: Another emulation ...

take a look at the 'screen' tool, it will also allow 'screens' with mutliple users at once.

another solution is to use the 'script' command, which will save everything (in/output) to a file, anybody should be able to follow what you did by reading that file. (though, if you use ncurses programs this will not work).
Sยภเl Kย๓คг
Respected Contributor

Re: Another emulation ...

Hi,

I don't think so, in unix will have that facility. Only think which u can do is to use netmeeting kind of tools. Or else u use the same user login u can review the old commands typed by ur collegue by type esc+k sequence. No other go

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
Raj D.
Honored Contributor

Re: Another emulation ...

Hi Mamuales ,

You need to put script command in the users .profile , and you will come to know all the commands and output of that user by viewing the file generated by script.

# vi .profile
add this
script -a filename
--------------------



For seeing what command she is typing you can open another terminal window and put this command :
# tail -f ~her_username/.sh_history

Another thing , you can use the talk command also , for quick chat purpose, unix inbuilt.

And finally Netmeeting is good , if you want to take control of others terminal window.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: Another emulation ...

Hi Manuales ,

If you are working through GSP , both can see and work and one can take control the terminal with (^Ecf ) Ctrl+E+c+f command, at a time.

Enjoy ,
Cheers,
Raj
" If u think u can , If u think u cannot , - You are always Right . "