set more off
Really appreciate the work you've put in to make this work — thank you!
When I run a long regression in Stata 16 from the kernel, it truncates the output with the ---more--- indicator. I can work round this by putting in a set more off myself, but shouldn't this be automatic?
more was/is one of the buggiest parts of the kernel. I'm struggling to remember the reasoning for the current use of more. I set more on by default when the kernel starts:
https://github.com/kylebarron/stata_kernel/blob/65819645a0b8a698acbaf352113b13fbf8e243cc/stata_kernel/stata_session.py#L106
I think the idea was to make the defaults the same as a usual Stata session, to behave as a user might expect. If you run set more off, permanently, is more still turned on within the kernel when it starts?
Anyways, I don't have access to Stata anymore, so it's hard to test changes (transitioning to geospatial developer; you have some cool projects by the way).
I have set more off, permanently and the kernel does flip it back. That being said, I'd be very hesitant to tinker with the current default behavior of more...
Determining when Stata has finished parsing and executing commands was a major issue when developing the kernel because there is no API that can help, so the kernel has to check the log file and use regexes to figure out what Stata's doing. As Kyle said, more was specially problematic in this respect, and we couldn't figure out a way to deal with more interactively, so the behavior of the kernel is to cut off the output when more appears. This is annoying for the exact reason you point out, so Kyle's original solution actually was to run set more off at the start of every kernel session. However, as part of a major refactor (and I also don't recall the exact reason) set more on was set to always run at the start of the kernel.
hi mr MacKerron please help me i sent you an email i used https://github.com/jawj/IKEv2-setup to creat strongswan in my ubuntu server i've done everything as you said, but my problem is, i can't connect to my server, i just wget https://raw.githubusercontent.com/jawj/IKEv2-setup/master/setup.sh chmod u+x setup.sh ./setup.sh run these command, and i passed the stepp, i can connect to strongswan, but i can't connect to my server, for example, when it asked me for my new ssh username and password, i typed my ssh username and password, but i can't connect to it, i even changed it, but i can't connect, now i reinstalled my os, but i need help to use your script my email [email protected] telegram alirezaM192 thank's