I have read in forums that process output may be cut every 4098 characters, but comint mode seems to send only the first 4096 chars of a command if there is no newline, and wait for the next linebreak to send the remaining part. This makes pg hang because the commands are "stripped" of CR before being sent to the comint buffer.
Don't know the right fix here. Stripping is done to ensure having only one prompt per command.
I have read in forums that process output may be cut every 4098 characters, but comint mode seems to send only the first 4096 chars of a command if there is no newline, and wait for the next linebreak to send the remaining part. This makes pg hang because the commands are "stripped" of CR before being sent to the comint buffer.
Don't know the right fix here. Stripping is done to ensure having only one prompt per command.