Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread Offray Vladimir Luna Cárdenas
Maybe Leo Textual User Interface (as opposed to "Graphical"). Consonle
seems kind of "tekkie".

Cheers,

Offray


On 17/06/17 08:00, Chris George wrote:
> A small nit.
>
> gui = Graphical User Interface
>
> Using the acronym in reference to a console application is a bit of
> stretch given its historical meaning. A gui is everything BUT.
>
> Chris
>
> On Sat, Jun 17, 2017 at 3:43 AM, Edward K. Ream  > wrote:
>
> On Sat, Jun 17, 2017 at 1:30 AM, lewis  > wrote:
>
> I've prepared a User Guide for Leo when running the curses gui.
> It is based upon your comments about the pre-alpha code and
> some alpha testing :)
>
>
> ​Thanks so much for this. I'm looking forward to seeing it.​
>  
>
>
> A few questions:
>
> How do you want to refer to Leo running the curses gui?
>
>
> ​How about, Leo's console gui?
> ​
>  
>
> Where to put Leo's curses gui user guide in the documentation?
> At first glance First Downloading, Installing & Running Leo
> (http://leoeditor.com/getting-started.html
> ) seems
> appropriate. A single page for ease of navigation would be
> better than an addition to 'Leo's command-line options'
>
>
> The preliminary docs should be mention of --gui=curses
> command-line arg, renamed --gui=console.
>
> ​These preliminary words should link to a longer discussion
> somewhere. Where doesn't matter all that much.
>
> Having a basic user guide will hopefully encourage more
> Leonistas to test out the pre-alpha code.
>
>
> ​I agree.
>
> Edward
> -- 
> You received this message because you are subscribed to the Google
> Groups "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to leo-editor+unsubscr...@googlegroups.com
> .
> To post to this group, send email to leo-editor@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/leo-editor
> .
> For more options, visit https://groups.google.com/d/optout
> .
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to leo-editor+unsubscr...@googlegroups.com
> .
> To post to this group, send email to leo-editor@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread Edward K. Ream
An updated console-gui guide is on the web.

An important code improvement: the Ctrl-Q dialog now presents the options 
as Yes/No rather than Yes/Cancel. The documentation makes clear that there 
is no way to cancel Ctrl-Q.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread Edward K. Ream
On Sun, Jun 18, 2017 at 8:59 AM, lewis  wrote:

> Here is the Leo-Console alpha User Guide.
>

​It's now on the web: http://leoeditor.com/console-gui.html

Thanks again, Lewis, for your excellent work.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread Edward K. Ream
On Sun, Jun 18, 2017 at 8:59 AM, lewis  wrote:

> Here is the Leo-Console alpha User Guide.
>
​...
You need to specify the Console gui with the command-line option:
--gui=console

​Rev 1624092 supports --gui=console, exactly equivalent to --gui=curses.

--gui=curses won't be mentioned in the docs, but it will remain for
compatibility.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread Edward K. Ream
>
​(Lewis): ​
​Warning: If you Tab to the [Quit Leo] button, and press Enter, Leo will
quit completely with no dialog box asking if you want to save your changes.​

Fixed at a733586.  4 Lines of code to subclass the Quit button, well over
an hour to discover how. The npyscreen class structure is only quasi object
oriented, which has both pluses and minuses.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread Edward K. Ream
On Sun, Jun 18, 2017 at 8:59 AM, lewis  wrote:

> Here is the Leo-Console alpha User Guide.
>

​Great job.  I'll put this on the web today.

​> ​
Warning: If you Tab to the [Quit Leo] button, and press Enter, Leo will
quit completely with no dialog box asking if you want to save your
changes.You will lose data!

​There should be a way of fixing this.  I'll see to this immediately.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread Edward K. Ream
On Sat, Jun 17, 2017 at 8:00 AM, Chris George  wrote:

> A small nit.
>
> gui = Graphical User Interface
>
> Using the acronym in reference to a console application is a bit of
> stretch given its historical meaning. A gui is everything BUT.
>

​Heh.  I think we can live with this inaccuracy :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-18 Thread lewis
Here is the Leo-Console alpha User Guide.

I hope it encourages all the eager users to test out Leo-Console. Feel free 
to edit and update as required; I am not attached in any way to the 
structure. Initially I started writing it to help me compare it with Leo 
and deal with the somewhat clunky feel of a console interface. I still need 
to add a requirements/installation section.

The guide has 3 goals
1. Introduce the Leo-Console interface and symbols
2. Describe the essential Leo-Console commands + limitations.
3. Detail the special features and use cases where Leo-Console will shine.

I haven't written anything on goal 3! This is likely a key part of the 
Leo-Console write-up. I'm not an expert on SSH connections so it's 
essential to get input from Terry and John Lunzer about those special 
features.

*Leo-Console User Guide*

*Starting Leo-Console*
For optimal readability you should resize your console/terminal to a 
recommended minimum size of 100x35. Leo will crash on startup if the rows 
are less than 32.
You need to specify the Console gui with the command-line option: 
--gui=console(curses) 

>launchleo.py --gui=console

If you give no file arguments on the command line Leo-Console will open 
~/.leo/workbook.leo (Leo's workbook file).
Initially, this file contains Leo’s cheat sheet and an example from the 
rst3 tutorial.

*File operations*
Leo-Console has no File menu. There is no way to open or create a new file 
from within Leo-Console; the path to the leo file must be included at the 
command line:

>launchleo.py --gui=console [path to leo file\file_name.leo]


*Leo-Console screen*
The Leo-Console screen consists of 4 windows: 

- Log Pane  (Messages from Leo are displayed here. )
- Tree Pane  (a.k.a outline pane in the fully featured Leo)
- Body Pane  (for body text)
- Minibuffer  (for command entry)
[Quit Leo] 

Please insert a suitable screen shot :)


*Window symbols*
The Tree Pane uses symbols in an an "Icon column", delimited by colons, to 
indicate the status of nodes. A node can have multiple status symbols. For 
example:

- '*'  node is the selected node. 
-  T  node has text.
-  C  node is a clone.
-  M  node is marked.
 
*Navigation*
There is limited navigation with the mouse. 
Mouse clicks properly switch nodes (change c.p)
Arrow-up and Arrow-down keys.

*Moving between window panes*
Tab - moves down from pane to pane.
Shift-Tab - moves up from pane to pane.
Mouse clicks switch between panes.
Select the [Quit Leo] button and  to exit.


*Editing *

*Editing a Node Headline*
Select the node you wish to edit, then press e to edit the node headline 
(return to end). 
i: to insert a new node.
d:  delete node

Headlines have a + or - indicating the node status.

[+:] an unexpanded node,
[-: ] an expanded node,
[   ] blank, a node without children.

*Editing Body text*
Use Tab to move down to the Body Pane, or Shift-Tab to move up to the Body 
Pane. Follow the prompts:
e to edit line (return to start a new line)
esc to end editing.
d to delete line.

*Executing a Script*
In the Tree Pane, select a node containing a script, then Ctrl-B (via 
[Ctrl] key + B)

*Keyboard commands*
Supported Ctrl commands:

- Ctrl-F

Unsupported Ctrl commands:

- Alt-S,
- Ctrl-Shift-S
- Ctrl-O
- Shift arrows  (not yet)


*Saving / Quitting*
Ctrl-Q, a Dialog box will display [Confirm. Save changes to  
before quitting? Cancel OK] 
Press Enter, the Cancel response will highlight in yellow. Using the arrow 
key Select Cancel or OK as required , and press Enter again.

Ctrl-S  * Save (works for windows cmd.exe, but not Consolez)

Warning: If you Tab to the [Quit Leo] button, and press Enter, Leo will 
quit completely with no dialog box asking if you want to save your 
changes.You will lose data!

*Log pane features*

*Broadcast and Listening*
Leo cursesGui2.py can be setup as a typical broadcaster. Using a Leo 
session in another console, you can start a socket listener, listening to 
the broadcaster on localhost.

[ Leo Qt, (listener) ] <-< [ Leo cursesGui2, (broadcaster) ]

- In a separate console, start a regular Leo Qt session, then start the 
listener with the 'listen-to-log' command.
 
- In another console, start Leo with the console gui. This starts the 
broadcaster.

- The log output will be displayed in the Leo Qt session console.

- Stopping the listener process. The 'kill-log-listener' command kills the 
listener, if it exists. Issue this command in the Leo Qt session.

*Notes - Limitations*
Cut/paste is theoretically supported, but in the absence of selections only 
paste might work.  And paste may work only in limited contexts...

Some commands can be run from the minibuffer, but there is no tab 
completion and no indication of what the correct command names are.

[end]

Regards
Lewis

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop 

Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-17 Thread Chris George
A small nit.

gui = Graphical User Interface

Using the acronym in reference to a console application is a bit of stretch
given its historical meaning. A gui is everything BUT.

Chris

On Sat, Jun 17, 2017 at 3:43 AM, Edward K. Ream  wrote:

> On Sat, Jun 17, 2017 at 1:30 AM, lewis  wrote:
>
>> I've prepared a User Guide for Leo when running the curses gui.
>> It is based upon your comments about the pre-alpha code and some alpha
>> testing :)
>>
>
> ​Thanks so much for this. I'm looking forward to seeing it.​
>
>
>>
>> A few questions:
>>
>> How do you want to refer to Leo running the curses gui?
>>
>
> ​How about, Leo's console gui?
> ​
>
>
>> Where to put Leo's curses gui user guide in the documentation?
>> At first glance First Downloading, Installing & Running Leo (
>> http://leoeditor.com/getting-started.html) seems appropriate. A single
>> page for ease of navigation would be better than an addition to 'Leo's
>> command-line options'
>>
>
> The preliminary docs should be mention of --gui=curses command-line arg,
> renamed --gui=console.
>
> ​These preliminary words should link to a longer discussion somewhere.
> Where doesn't matter all that much.
>
> Having a basic user guide will hopefully encourage more Leonistas to test
>> out the pre-alpha code.
>>
>
> ​I agree.
>
> Edward
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-17 Thread lewis
I've prepared a User Guide for Leo when running the curses gui.
It is based upon your comments about the pre-alpha code and some alpha 
testing :)

A few questions:

How do you want to refer to Leo running the curses gui?
To be honest I don't really like 'Leo curses gui' and think a name which 
matches the applications or use cases may sound better - I would be 
interested to also hear from Terry Brown and John Lunzer on this.
It deserves careful thought and once the name is adopted, should be used 
consistently.

Where to put Leo's curses gui user guide in the documentation?
At first glance First Downloading, Installing & Running Leo 
(http://leoeditor.com/getting-started.html) seems appropriate. A single 
page for ease of navigation would be better than an addition to 'Leo's 
command-line options'

Having a basic user guide will hopefully encourage more Leonistas to test 
out the pre-alpha code. 

Regards
Lewis

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-11 Thread Edward K. Ream
On Sat, Jun 10, 2017 at 7:57 PM, lewis  wrote:

> Can you confirm which commands you have seen working in the minibuffer?
> I'm not sure that the minibuffer is active.
> I tried a few without success:
> File-Open-by-name
> scroll-outline-down-line
>

​Those are not likely to work.

Try about-leo :-)  Note that case is significant.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-10 Thread lewis
Can you confirm which commands you have seen working in the minibuffer? I'm 
not sure that the minibuffer is active.
I tried a few without success:
File-Open-by-name
scroll-outline-down-line

Lewis


On Thursday, June 8, 2017 at 2:06:23 AM UTC+10, Edward K. Ream wrote:
>
>
> 5. Some commands can be run from the minibuffer, but there is no tab 
> completion and no indication of what the correct command names are.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-10 Thread lewis
Yes, using the mouse I can now select windows without any lock-up.

Lewis

>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-10 Thread lewis
Leo 5.5, Git repo info: branch = master, commit = 3c8f2b9f8ecb
Python 3.6.1, PyQt version 5.8.0
Windows 10 AMD64 

On Saturday, June 10, 2017 at 11:54:49 PM UTC+10, Edward K. Ream wrote:
>
>
> ​No. I never noticed that. What platform are you using?
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-10 Thread Edward K. Ream
On Sat, Jun 10, 2017 at 8:43 AM, lewis  wrote:

>
> Have you noticed that you can navigate between panes using a mouse-click,
> but it only works for a maximum of 2, or sometimes 3 clicks? After that you
> have to clear the blockage with a Tab, then the mouse-click works again.
>

​No. I never noticed that. What platform are you using?
​


> Strange!
>

​Perhaps I forgot to add a mouse-click handler to some class or other.
I'll look into this.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-10 Thread lewis
Thanks for the Tab tip.
Have you noticed that you can navigate between panes using a mouse-click, 
but it only works for a maximum of 2, or sometimes 3 clicks? After that you 
have to clear the blockage with a Tab, then the mouse-click works again.
Strange!

Regards
Lewis

On Saturday, June 10, 2017 at 8:43:00 PM UTC+10, Edward K. Ream wrote:
>
> I tried typing 'B', clicking on the body pane.
> ​ 
>
> You should see the prompts in each pane.  For the body the prompt is
>
> "press e to edit line, esc to end editing, d to delete line"
>
> When you are *outside* edit mode, tab moves down from pane from pane and 
> shift-tab move up from pane to pane.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-10 Thread Edward K. Ream
On Sat, Jun 10, 2017 at 3:09 AM, lewis  wrote:

​> ​
I'm able to edit and add new headlines, but I can't seem to activate a body
pane or edit body text. I tried typing 'B', clicking on the body pane.
​ ​
Can you run the instructions by again?

You should see the prompts in each pane.  For the body the prompt is

"press e to edit line, esc to end editing, d to delete line"

When you are *outside* edit mode, tab moves down from pane from pane and
shift-tab move up from pane to pane.

​> ​
What is the reason for having edit commands in the log pane?

​It's the way the underlying npyscreen classes work. Changing this
behaviour would likely require a rewrite of the classes, and I'm not
willing to do that. This is also why deleting a line must be done outside
edit mode.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-10 Thread lewis
I'm able to edit and add new headlines, but I can't seem to activate a body 
pane or edit body text. I tried typing 'B', clicking on the body pane.
Can you run the instructions by again?

I can confirm if you haven't saved your file, pressing Ctrl-Q displays a 
Dialog box, with the option to save. Save was successful.

What is the reason for having edit commands in the log pane?

Thanks
Lewis

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-09 Thread Edward K. Ream
On Thu, Jun 8, 2017 at 10:49 PM, Terry Brown  wrote:

I'm seeing very high CPU usage down arrowing through the tree pane -
> fan kicking in and rate of advance of the selected line quite slow - do
> you see anything like that?
>

​My pc doesn't have a fan ;-)​

You might want to measure calls to LeoValues.get_data and
LeoValues.__len__.  Having said that, there is probably little that can be
done to improve these two methods.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-08 Thread Terry Brown
On Thu, 8 Jun 2017 10:23:06 -0700 (PDT)
"Edward K. Ream"  wrote:

> On Thursday, June 8, 2017 at 7:53:50 AM UTC-5, Edward K. Ream wrote:
> 
> *Warning*: no prompt is made if you quit (Ctrl-Q, etc.) with unsaved 
> > changes. I'll fix this today. It involves getting npyscreen
> > "dialogs" to work properly.
> 
> Recent revs fix this and make other dialogs functional.

Very impressive, nice work.

I'm seeing very high CPU usage down arrowing through the tree pane -
fan kicking in and rate of advance of the selected line quite slow - do
you see anything like that?

Cheers -Terry

> I have just closed #488 
> .  Please reopen
> as needed.
> 
> I plan no further work on this project, except for bug fixes.  Please 
> report all bugs at #488 rather than opening new issues.
> 
> Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-08 Thread Xavier G. Domingo
Congratulations Edward! It's been a huge work from your side and a 
pleasure from our side to have you sharing with us the technical 
challenges and decisions made during the journey!


Thanks for sharing!

Xavier

El 07/06/2017 a las 13:06, Edward K. Ream escribió:
Recent work makes the cursesGui2 code minimally functional. Enable 
with --gui=curses on the command line.  All unit tests pass when run 
using the curses gui, but quite a few tests have been disabled.


*Do not assume that the code is safe.*  Instead, I recommend testing 
on files under git control.  That gives you diffs and easy reverts.


Here is a /partial /list of limitations of the code:

1. Only simple control characters are supported.  Ctrl-S will work, 
Atl-S, Ctrl-Shift-S etc. will not.  This is a limitation of the curses 
module and can not be fixed.


2. Shift arrows are not (yet) supported. *npyscreen apparently does 
not support selection ranges in text! * Subclasses could do so, but 
that would be non-trivial.


3. The body pane changes in sync with the outline pane. but editing 
the log or body pane is a bit strange.  You switch between tabs with 
tab or shift-tab.  To actually edit, you have to edit edit mode, as 
shown on the on-screen prompts.  See the screen shot.  Deleting lines 
of body text must be done /outside/ of edit mode. Doing a more Leonine 
job is basically out of the question: it would require a complete 
rewrite of the base classes.


4. Cut/paste is theoretically supported, but in the absence of 
selections only paste might work.  And paste may work only in limited 
contexts...


5. Some commands can be run from the minibuffer, but there is no tab 
completion and no indication of what the correct command names are.


6. Dialogs don't work well, or at all.  They may (temporarily?) 
overwrite the screen.


7. You must resize your console to be big enough.  Otherwise, Leo will 
crash on startup.


*Summary*

The present code /might/ just barely be useful, but there are no 
guarantees of any kind.


This is pre-alpha code. Data loss is a real possibility. You *must* be 
prepared to recover from data loss.


I am not the best tester, because I do not have an actual need for 
this code. It's up to real users to report their experiences and 
problems. I will be willing to add features, but only if a) you really 
need them and b) there are no obvious workarounds.


I have spent almost two months on the project. I will fix major 
problems, but I am not promising to do more than that.


Edward
--
You received this message because you are subscribed to the Google 
Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to leo-editor+unsubscr...@googlegroups.com 
.
To post to this group, send email to leo-editor@googlegroups.com 
.

Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

 
	Libre de virus. www.avg.com 
 



<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>



--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-08 Thread Edward K. Ream
On Thursday, June 8, 2017 at 7:53:50 AM UTC-5, Edward K. Ream wrote:

*Warning*: no prompt is made if you quit (Ctrl-Q, etc.) with unsaved 
> changes. I'll fix this today. It involves getting npyscreen "dialogs" to 
> work properly.
>

Recent revs fix this and make other dialogs functional.

I have just closed #488 
.  Please reopen as 
needed.

I plan no further work on this project, except for bug fixes.  Please 
report all bugs at #488 rather than opening new issues.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Rev e2cd63: curses gui ready for *careful* testing

2017-06-08 Thread Edward K. Ream
On Wednesday, June 7, 2017 at 11:06:23 AM UTC-5, Edward K. Ream wrote:

> Recent work makes the cursesGui2 code minimally functional.

*Warning*: no prompt is made if you quit (Ctrl-Q, etc.) with unsaved 
changes. I'll fix this today. It involves getting npyscreen "dialogs" to 
work properly.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.