You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "masayuki2009 (via GitHub)" <gi...@apache.org> on 2023/04/24 00:44:16 UTC

[GitHub] [nuttx] masayuki2009 commented on pull request #8950: driver/telnet: Remove TELNET_CHARACTER_MODE

masayuki2009 commented on PR #8950:
URL: https://github.com/apache/nuttx/pull/8950#issuecomment-1519224791

   @no1wudi 
   
   I noticed that an unnecessary ^J is shown when running telnet to esp32-devkitc:wifi_smp.
   The symptom also happens with spresense:wifi_smp and spresense:rndis_smp.
   
   ```
   Trying 192.168.10.30...
   Connected to 192.168.10.30.
   Escape character is '^]'.
   
   NuttShell (NSH) NuttX-12.0.0
   nsh> uname -a^JNuttX  12.0.0 c7a935dc1a Apr 24 2023 09:33:56 xtensa esp32-devkitc
   nsh> cat /proc/uptime^J     46.30
   nsh> ps^J  PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK           STACK   USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Assigned           0000000000000000 002016 000768  38.0%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Assigned           0000000000000000 002016 000432  21.4%  CPU1 IDLE
       2     2 --- 100 RR       Kthread --- Waiting  Mutex:3   0000000000000000 001984 000904  45.5%  lpwork 0x3ffb0570
       3     3   0 100 RR       Task    --- Running            0000000000000000 003008 002584  85.9%! nsh_main
       4     4 --- 223 RR       Kthread --- Waiting  Semaphore 0000000000000000 001984 000680  34.2%  rt_timer
       5     5 --- 253 RR       Kthread --- Waiting  MQ empty  0000000000000000 006600 001912  28.9%  wifi
       6     6 --- 100 RR       Task    --- Waiting  Semaphore 0000000000000000 001992 000952  47.7%  telnetd
      31    31 --- 100 RR       Task    --- Waiting  Semaphore 0000000000000000 001976 000808  40.8%  webserver
      43    43   1 100 RR       Task    --- Running            0000000000000000 003000 002120  70.6%  Telnet session
   nsh> free^J                   total       used       free    largest  nused  nfree
           Umem:     240600      83296     157304     110000    198      8
   nsh> ifconfig^Jwlan0	Link encap:Ethernet HWaddr ac:67:b2:71:65:2c at RUNNING
   	inet addr:192.168.10.30 DRaddr:192.168.10.1 Mask:255.255.255.0
   
                IPv4   TCP   UDP  ICMP
   Received     25ce  259d  0031  0000
   Dropped      0000  0000  0000  0000
     IPv4        VHL: 0000   Frg: 0000
     Checksum   0000  0000  0000  ----
     TCP         ACK: 0000   SYN: 0000
                 RST: 0000  0000
     Type       0000  ----  ----  0000
   Sent         380a  3808  0002  0000
     Rexmit     ----  0005  ----  ----
   nsh> exit^JConnection closed by foreign host.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org