Telnet

Hi,
When we use telnet (from unix workstation or windows) to remotely access the Unix server, the environment variables such as: DISPLAY, TERM, LOGNAME are communicate to the telnet server during the telnet session negotiation. By default these variables are passed to the server.

We can also manual enter these variables.

I am interest to know that is there anyway to store these variables in a file from the telnet client terminal. Then every time the telnet client is started, these variables will the read from the file and then pass to the server.

Thanks,

Acutally, default variables are stored on the remote UNIX system under your home directory in .profile or .cshrc. The default is under /etc/profile if it is not defined in your home directory config file.

I am not sure if what you ask can be done. Outside of having a script run on the box when you login. You can have a .login that runs when you login to execute variables.

:cool: :smiley: