<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 4:07 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On Tue, Jun 10, 2014 at 10:04 PM, Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br>


> Hi,<br>
><br>
> 2014-06-10 22:02 GMT+02:00 Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>>:<br>
><br>
>> but might that cause harm in the wxGUI?<br>
><br>
> right, it was the main reason why all modules (should be) in G7 has<br>
> been modified in this way (no default answer for input, stdin requires<br>
> `-`).<br>
<br>
</div>I see. So that's<br>
<a href="http://trac.osgeo.org/grass/ticket/2156" target="_blank">http://trac.osgeo.org/grass/ticket/2156</a><br>
<br>
I wonder if the could additionally allow for a more human readable<br>
form than input=- like we do for separator=...<br>
"stdin" isn't much better for many users, any other ideas?<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div>I don't see a need for more human readable value of input option. Considering a user-beginner using GUI dialog, "no default answer policy" saves him or her from running the module and blocking the GUI* as Martin says.<br>

<br></div><div>And advanced user using the real command line probably knows about this convention and what stdin and standard output are and if not, he or she is not interested in using input=-.<br>Option output=- is set by default (or is default implicitly as in r59115, hopefully everywhere?), so he or she gets standard output which is expected in both GUI and command line and can set a file if this is what he or she wants.</div>

<div><br>* although some clever GUI could parse all commands and refuse file options set to -<br>r59115 <a href="http://trac.osgeo.org/grass/changeset/59115">http://trac.osgeo.org/grass/changeset/59115</a><br>#2156 <a href="http://trac.osgeo.org/grass/ticket/2156" target="_blank">http://trac.osgeo.org/grass/ticket/2156</a><br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
Markus<br>
</font></span><div class=""><div class="h5">_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</div></div></blockquote></div><br></div></div>