troubleshooting Question

Help with ~/.telnetrc

Avatar of surya_prabhakar
surya_prabhakar asked on
Linux
7 Comments1 Solution5269 ViewsLast Modified:
Hello friends,
   A quick help!! I created a .telnetrc in my home directory with the following entries

$ cat ~/.telnetrc

DEFAULT
        environ define MYVAR "surya p"
        environ export MYVAR
-------------------

In here MYVAR is user defined variable. When I telnet to other machine I cant find this variable exported . How do I do this? This should work seamlessly across all unix's.

On my linux machine I am printing the telnet operating parameters?
$ echo display | telnet
telnet> will flush output when sending interrupt characters.
won't send interrupt characters in urgent mode.
won't send login name and/or authentication information.
won't skip reading of ~/.telnetrc file.
won't map carriage return on output.
will recognize certain control characters.
won't turn on socket level debugging.
won't print hexadecimal representation of network traffic.
won't print user readable output for "netdata".
won't show option processing.
won't print hexadecimal representation of terminal traffic.

echo            [^E]
escape          [^]]
rlogin          [\377]
tracefile       "(standard output)"
flushoutput     [^F]
interrupt       [\241]
quit            [^D]
eof             [\336]
erase           [^H]
kill            [x]
lnext           [|]
susp            [^H]
reprint         [{]
worderase       [^H]
start           [\266]
stop            [^F]
forw1           [@]
forw2           [@]
ayt             [^T]
-----------------------------------------

Anything else needs to be done?

Please update me.

Thank you.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros