pzinn / Macaulay2Web

Macaulay2 web app with support for KaTeX and HTML output
MIT License
15 stars 4 forks source link

Input incorrectly sent back by shell #13

Closed pzinn closed 4 years ago

pzinn commented 6 years ago

as the title says. typically happens with long input. Macaulay2 sends to the server ANSI sequences such as b [escape] 5b [ 41 A then a bunch of zeroes then back to previous input then 1b [escape] 5b [ 4b K the server then forwards to the client. unclear how to filter. has no impact on functionality. is it a bug with Macaulay2 itself?

pzinn commented 4 years ago

this is presumably due to readline. Note that readline is turned off when running Macaulay with e.g. emacs.

pzinn commented 4 years ago

presumably fixed with stty cols(some large number). needs testing.