linux - is there a way to set "WONT NAWS" with "telnet" command? -


i turned on displaying of options .telnetrc file:

default    toggle options 

and run telnet , among options displays:

sent naws sent iac sb naws 0 100 (100) 0 93 (93) 

is there way set "wont naws"? system i'm connecting doesn't handle it. (it ignores columns setting , defaults 80, injecting cr/lf characters. know if "wont naws", stop injecting cr/lf characters.)

there more 1 implementation. answer question, have read source code. example,

       if (telnetport) {         send_do(telopt_sga, 1);         send_will(telopt_ttype, 1);         send_will(telopt_naws, 1);         send_will(telopt_tspeed, 1);         send_will(telopt_lflow, 1);                send_will(telopt_linemode, 1);         send_will(telopt_environ, 1);            send_do(telopt_status, 1);         if (env_getvalue("display", 0))           send_will(telopt_xdisploc, 1);         if (eight)                      tel_enter_binary(eight);       } 

of course, having source, can modify , make feature configurable.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -