Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Telnet on the command line, annoying tab handling

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
rin67630
Posts: 4
Joined: 2019-07-27 21:26

Telnet on the command line, annoying tab handling

#1 Post by rin67630 »

Hi
I am using Telnet on the command line in WSL.

I am a bit irritated by a linefeed the is automatically added in the output.

When i call for example a report with tabs separated data in the full terminal window, i get

Code: Select all

X

eXcel Calibration Report
ADC_VinRaw:     0       Vin:    00.000  ADCIinRaw:      16      Iin:    00.021  ADC_VoutRaw:    491     Vout:   13.290 ADC_IoutRaw:                                                                                                                                                                                                                64       Iout:   -0.122  ADC_IloadRaw:   -4      Iload:  -0.883  PWM_SetVout:    0330    SetVout:        14.400  PWM_SetIout:                                                                                                                                                                                                                       0053     SetIout:        00.300  PWM_Fan:        0011

When i call the same report with a reduced terminal window, and expenad it later, i get it correctly.

Code: Select all

X

eXcel Calibration Report
ADC_VinRaw:     0       Vin:    00.000  ADCIinRaw:      16      Iin:    00.021  ADC_VoutRaw:    492     Vout:   13.285     ADC_IoutRaw:    64      Iout:   -0.121  ADC_IloadRaw:   -2      Iload:  -0.877  PWM_SetVout:    0330    SetVout:   14.400  PWM_SetIout:    0053    SetIout:        00.300  PWM_Fan:        0011

So telnet is appending a linefeed after max 80 characters?

How can i change that?
Thank you

reinob
Posts: 1189
Joined: 2014-06-30 11:42
Has thanked: 97 times
Been thanked: 45 times

Re: Telnet on the command line, annoying tab handling

#2 Post by reinob »

You are aware that you are on the debian forum. WSL is Windows, so any questions regarding the akwardness of Windows console/terminal handling should be directed to them (after all, you are paying for the product).

Post Reply