<div dir="ltr"><div>Dear Long,</div><div>There is always a workaround:</div><div>$ EDITOR2=$EDITOR<br>$ export EDITOR=cat</div><div>$ echo -ne "\n\n\n\n\n" | init_so_lapw</div><div>$ export EDITOR=$EDITOR2</div><div><br></div><div>You may put desired input in echo command, or use sed to change case.inso in a more complex way. E.g.,  use 'sed -i "2s/^.\{2\}/ 6/" ${PWD##*/}.inso' (in bash, for csh ${PWD##*/} may fail) to change llmax in inso file, etc.</div><div><br></div><div>Best,</div><div>M.</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 18 Jun 2025 at 09:28, Long Zhang via Wien <<a href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear WIEN2k users, <div><br></div><div>Is there a way to run init_so_lapw in batch mode like the init_lapw? </div><div>I am trying to scan a group of structures, all with SOC. Doing init_so_lapw one by one interactively would be too tedious. </div><div><br></div><div>Thanks, </div><div>Long</div><div><br></div></div>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at:  <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote></div>