Macaulay2 / M2-emacs

Macaulay2 emacs files
GNU General Public License v3.0
5 stars 3 forks source link

1023 character limit for a single line in commint-mode #11

Open tom111 opened 5 years ago

tom111 commented 5 years ago

This was discussed https://groups.google.com/forum/#!msg/macaulay2/bdvO1fKyZWk/KjAYTiXOpBEJ;context-place=forum/macaulay2

Observations

It's 2018. Let's try to fix this.

DanGrayson commented 5 years ago

This might be relevant: https://unix.stackexchange.com/a/131221/236484

I tried "stty cbreak" and it worked as described there.

tom111 commented 5 years ago

So shall we modify commint-mode so that it does not use "canonical input mode"?

DanGrayson commented 5 years ago

No, for then C-d will stop working to indicate EOF.

tom111 commented 5 years ago

Shouldn't emacs be able to do all the things that canonical input mode does? If I delete a character in M2-mode, is it deleted by emacs or by the shell in its internal buffer? I'll have to read up on what the emacs mode actually does...

DanGrayson commented 5 years ago

I'm not sure what your question is about -- character deletion in an emacs buffer is handled by emacs.

mikestillman commented 5 years ago

What is the status of this? I too find it annoying that I cannot use f11 to send a long line to M2...!

tom111 commented 5 years ago

I don’t know how to solve this. Other projects have this problem too, but no solution had emerged when I looked into it last year.