Unable to execute a command because it's truncated.
Posted: Sat Apr 20, 2024 9:33 am
CoolTerm Version 2.1.1, macOS 13.5.2
After establishing a connection to /dev/cu.usbmodem<...> I'm not able to send command like ```echo moreThanSixtyTwoCharactersLongString > file_name.txt```. It seems like the line is truncated after hitting return, and only first 62 characters are taken into account (so that "> file_name.txt" part is completely missing), so I'm not able to successfully run this command.
I also tried to write the same line in parts so I did
```echo firstPartOrTheLine > file_name.txt```, which executed successfully.
Then I tried ```echo -n secondPartOfTheLine >> file_name.txt```, but this only adds "-n secondPartOfTheLine" as another line.
I played around with settings, but nothing helped me so far to execute this seemingly simple task: to write predefined lines into a file using serial connection.
After establishing a connection to /dev/cu.usbmodem<...> I'm not able to send command like ```echo moreThanSixtyTwoCharactersLongString > file_name.txt```. It seems like the line is truncated after hitting return, and only first 62 characters are taken into account (so that "> file_name.txt" part is completely missing), so I'm not able to successfully run this command.
I also tried to write the same line in parts so I did
```echo firstPartOrTheLine > file_name.txt```, which executed successfully.
Then I tried ```echo -n secondPartOfTheLine >> file_name.txt```, but this only adds "-n secondPartOfTheLine" as another line.
I played around with settings, but nothing helped me so far to execute this seemingly simple task: to write predefined lines into a file using serial connection.