Page 1 of 1

Unable to execute a command because it's truncated.

Posted: Sat Apr 20, 2024 9:33 am
by tyjka
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.

Re: Unable to execute a command because it's truncated.

Posted: Mon May 06, 2024 5:55 pm
by roger
What is the device you are communicating with? How do you know that what you enter is truncated. Does you device echo back the characters you type?