Re: Experimental Python-based shell

2012-10-04 Thread Terry Reedy
On 10/3/2012 4:22 PM, Terry Reedy wrote: Indexing Python code is ugly. I suggest prefixing non-Python with $. Indenting, meaning indenting the Python header lines but not non-Python lines. On 10/3/2012 1:24 PM, Jonathan Hayward wrote: I am open to suggestions and patches. I don't think the

Re: Experimental Python-based shell

2012-10-04 Thread Terry Reedy
Indexing Python code is ugly. I suggest prefixing non-Python with $. On 10/3/2012 1:24 PM, Jonathan Hayward wrote: I am open to suggestions and patches. I don't think the syntax strange, though: it offers a clear and distinct way to differentiate Python and shell commands, and shell commands can

RE: Experimental Python-based shell

2012-10-04 Thread Prasad, Ramit
(A little quoting manipulation to make it easier to read with appropriate context.) > > On Wed, Oct 3, 2012 at 11:25 AM, Amirouche Boubekki > > wrote: > > > 2012/10/3 Jonathan Hayward > > > The chief benefit besides the searching, so far, is that you can use Py3k > > > mixed with shell command

Re: Experimental Python-based shell

2012-10-03 Thread Jonathan Hayward
I am open to suggestions and patches. I don't think the syntax strange, though: it offers a clear and distinct way to differentiate Python and shell commands, and shell commands can access Python variables when specified. And it is a simple rule, without footnotes needed. On Wed, Oct 3, 2012 at 11

Re: Experimental Python-based shell

2012-10-03 Thread Amirouche Boubekki
2012/10/3 Jonathan Hayward > The chief benefit besides the searching, so far, is that you can use Py3k > mixed with shell commands as the scripting language--so script in Python > instead of bash. > > When using Python for scripting, Python lines are indented by an extra tab > (or four spaces) wh

Re: Experimental Python-based shell

2012-10-03 Thread Jonathan Hayward
The chief benefit besides the searching, so far, is that you can use Py3k mixed with shell commands as the scripting language--so script in Python instead of bash. When using Python for scripting, Python lines are indented by an extra tab (or four spaces) while shell-like commands are not indented

Re: Experimental Python-based shell

2012-10-03 Thread Amirouche Boubekki
Héllo, 2012/10/3 Jonathan Hayward > I've made an experimental Python-based Unix/Linux shell at: > > http://JonathansCorner.com/cjsh/ > > An experimental Unix/Linux command line shell, implemented in Python 3, > that takes advantage of some more recent concepts in terms of usability and > searchi

Re: Experimental Python-based shell

2012-10-03 Thread Jorgen Grahn
On Tue, 2012-10-02, Jonathan Hayward wrote: > I've made an experimental Python-based Unix/Linux shell at: > > http://JonathansCorner.com/cjsh/ > > An experimental Unix/Linux command line shell, implemented in Python > 3, that takes advantage of some more recent concepts in terms of > usability and

Re: Experimental Python-based shell

2012-10-02 Thread Tim Roberts
Jonathan Hayward wrote: > >I've made an experimental Python-based Unix/Linux shell at: > >http://JonathansCorner.com/cjsh/ > >An experimental Unix/Linux command line shell, implemented in Python 3, >that takes advantage of some more recent concepts in terms of usability >and searching above pinpoi