Re: [Emc-users] MDI edit/UI question

2017-08-25 Thread Gene Heskett
On Friday 25 August 2017 13:18:32 Les Newell wrote:

> Thinking about it, I noticed this bug as well but completely forgot
> about it.
>
> Les
>
All I wound up doing was applying that email to /usr/bin/axis.py. which 
was a copy of /usr/bin/axis.  Then:patch -p1 axis.py  On 25/08/2017 18:13, Gene Heskett wrote:
> > On Friday 25 August 2017 02:58:29 Andy Pugh wrote:
> >>> On 24 Aug 2017, at 09:00, suavesteve 
> >>> wrote:
> >>>
> >>>
> >>> Just a thought, but after you applied the patch, you did rebuild /
> >>> install?
> >>
> >> It would probably suffice to patch /use/bin/axis directly.
> >
> > The one helpfull patch applier I know about is kompare.  But thats
> > part of kde and that install drags in over 300 megabyte of kde for
> > dependencies.
> >
> > This jessie/armhf install is just about the minimum lightdm version,
> > enough to make X run albeit not uber-fawncy.
> >
> > So in that case, do I even have a gui for looking at .diff files?
> >
> > I found meld and installed it, but all it could do was copy the diff
> > over the original file. Fortunately I had sense enough to make a
> > backup. Since I had the backup, I renamed axis to axis.py, and let
> > patch -p1 <0001-[tab] take a whack at it.  The axis.py looked good
> > in geany, so I copied it over axis and then ran linuxcnc -l again. 
> > I cannot see anything else effected by the patch, but I CAN now edit
> > in the mdi box using the lft-rt-arrow keys to position the curser to
> > where I want to edit. IOW, it works.
> >
> > Merge it please.
> >
> > Now if I can find whats resetting the key repeat interval from 200
> > ms and usable, back to 2ms the next morning without a reboot, that
> > would be one more step to bliss.
> >
> > Since the wifi also feeds noise into the input circuit, and that
> > path bypasses the usb2 pinhole, along with some I assume is from
> > wlan0, which does go tru the pinhole, I added a couple turn off
> > commands to /boot/config.txt to turn off bluetooth and wlan0, after
> > giving up on finding the keyboard or mouse with the bluetoothctl
> > utility. The keyboard and mouse seem to be considerably less subject
> > to missed events.  That took a cold reboot, and the keyboard was so
> > bad it took me about 10 minutes worth of pecking to get the word
> > "reboot" in the buffer, and to actually do it, keyboard except for
> > the repeat speed, seems to be 100% now.
> >
> > Thanks everybody.
> >
> >> ---
> >>---  Check out the vibrant tech community on one of the
> >> world's most engaging tech sites, Slashdot.org!
> >> http://sdm.link/slashdot
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> > Cheers, Gene Heskett
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-25 Thread Les Newell
Thinking about it, I noticed this bug as well but completely forgot 
about it.


Les

On 25/08/2017 18:13, Gene Heskett wrote:

On Friday 25 August 2017 02:58:29 Andy Pugh wrote:


On 24 Aug 2017, at 09:00, suavesteve  wrote:


Just a thought, but after you applied the patch, you did rebuild /
install?

It would probably suffice to patch /use/bin/axis directly.


The one helpfull patch applier I know about is kompare.  But thats part
of kde and that install drags in over 300 megabyte of kde for
dependencies.

This jessie/armhf install is just about the minimum lightdm version,
enough to make X run albeit not uber-fawncy.

So in that case, do I even have a gui for looking at .diff files?

I found meld and installed it, but all it could do was copy the diff over
the original file. Fortunately I had sense enough to make a backup.
Since I had the backup, I renamed axis to axis.py, and let patch -p1
<0001-[tab] take a whack at it.  The axis.py looked good in geany, so I
copied it over axis and then ran linuxcnc -l again.  I cannot see
anything else effected by the patch, but I CAN now edit in the mdi box
using the lft-rt-arrow keys to position the curser to where I want to
edit. IOW, it works.

Merge it please.

Now if I can find whats resetting the key repeat interval from 200 ms and
usable, back to 2ms the next morning without a reboot, that would be one
more step to bliss.

Since the wifi also feeds noise into the input circuit, and that path
bypasses the usb2 pinhole, along with some I assume is from wlan0, which
does go tru the pinhole, I added a couple turn off commands
to /boot/config.txt to turn off bluetooth and wlan0, after giving up on
finding the keyboard or mouse with the bluetoothctl utility. The
keyboard and mouse seem to be considerably less subject to missed
events.  That took a cold reboot, and the keyboard was so bad it took me
about 10 minutes worth of pecking to get the word "reboot" in the
buffer, and to actually do it, keyboard except for the repeat speed,
seems to be 100% now.

Thanks everybody.


--
 Check out the vibrant tech community on one of the world's
most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-25 Thread Gene Heskett
On Friday 25 August 2017 02:58:29 Andy Pugh wrote:

> > On 24 Aug 2017, at 09:00, suavesteve  wrote:
> >
> >
> > Just a thought, but after you applied the patch, you did rebuild /
> > install?
>
> It would probably suffice to patch /use/bin/axis directly.
>
The one helpfull patch applier I know about is kompare.  But thats part 
of kde and that install drags in over 300 megabyte of kde for 
dependencies.

This jessie/armhf install is just about the minimum lightdm version, 
enough to make X run albeit not uber-fawncy.

So in that case, do I even have a gui for looking at .diff files?

I found meld and installed it, but all it could do was copy the diff over 
the original file. Fortunately I had sense enough to make a backup.  
Since I had the backup, I renamed axis to axis.py, and let patch -p1 
<0001-[tab] take a whack at it.  The axis.py looked good in geany, so I 
copied it over axis and then ran linuxcnc -l again.  I cannot see 
anything else effected by the patch, but I CAN now edit in the mdi box 
using the lft-rt-arrow keys to position the curser to where I want to 
edit. IOW, it works.

Merge it please.

Now if I can find whats resetting the key repeat interval from 200 ms and 
usable, back to 2ms the next morning without a reboot, that would be one 
more step to bliss.

Since the wifi also feeds noise into the input circuit, and that path 
bypasses the usb2 pinhole, along with some I assume is from wlan0, which 
does go tru the pinhole, I added a couple turn off commands 
to /boot/config.txt to turn off bluetooth and wlan0, after giving up on 
finding the keyboard or mouse with the bluetoothctl utility. The 
keyboard and mouse seem to be considerably less subject to missed 
events.  That took a cold reboot, and the keyboard was so bad it took me 
about 10 minutes worth of pecking to get the word "reboot" in the 
buffer, and to actually do it, keyboard except for the repeat speed, 
seems to be 100% now.

Thanks everybody.

>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-25 Thread Andy Pugh


> On 24 Aug 2017, at 09:00, suavesteve  wrote:
> 
> 
> Just a thought, but after you applied the patch, you did rebuild /
> install?

It would probably suffice to patch /use/bin/axis directly. 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-24 Thread David Berndt

I jumped through the hoops of fire. It works.

Thanks for the patch and support.

Dave

On Thu, 24 Aug 2017 15:30:03 -0400, David Berndt   
wrote:



Sigh.

No.

It's a python file. I'm not a python expert, but that totally sounds  
like the kind of thing that'll just get realtime interpreted. Why would  
anyone want to rebuild... Now I have to remember back 4 months ago to  
when I built initially, figure out how the heck to rebuild, any what if  
any special configurations/switches/whatever are required.


Sigh.

Thanks for the help though.

Dave

On Thu, 24 Aug 2017 04:37:39 -0400, suavesteve   
wrote:




Just a follow-up, showing it working on my SIM v2.7.8 machine,

https://youtu.be/TGBxozl6aIg

Philip


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users







--
Using Opera's mail client: http://www.opera.com/mail/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-24 Thread David Berndt

Sigh.

No.

It's a python file. I'm not a python expert, but that totally sounds like  
the kind of thing that'll just get realtime interpreted. Why would anyone  
want to rebuild... Now I have to remember back 4 months ago to when I  
built initially, figure out how the heck to rebuild, any what if any  
special configurations/switches/whatever are required.


Sigh.

Thanks for the help though.

Dave

On Thu, 24 Aug 2017 04:37:39 -0400, suavesteve   
wrote:




Just a follow-up, showing it working on my SIM v2.7.8 machine,

https://youtu.be/TGBxozl6aIg

Philip


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




--
Using Opera's mail client: http://www.opera.com/mail/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-24 Thread suavesteve

Just a follow-up, showing it working on my SIM v2.7.8 machine,

https://youtu.be/TGBxozl6aIg

Philip


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-24 Thread suavesteve
That's odd;

Just a thought, but after you applied the patch, you did rebuild /
install? The patch applies in the working tree, but the build process
copies and renames axis.py (One of the last steps, I think).

Philip


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-24 Thread David Berndt
I got no joy on this one, or I don't understand the expected result of the  
patch.


In 2.7.8 that I pulled/built a few months back. Changes appear to apply  
just fine, but when scrolling through the history list I can't press home,  
left, right, end, etc to begin edittng.


Turns out insert works, which I didn't know previously. I restored the  
pre-patch axis.py and tested again, insert works there as well, so no  
actual change. But having any key that lets me get into edit mode is all I  
really needed. The choice of insert seems a little dubious to me.


On Tue, 22 Aug 2017 05:10:18 -0400, suavesteve   
wrote:



I've ran into this problem, too; best as I could see, it wasn't possible
to use the keys with that particular entry box, so I made a few
modifications to the axis.py script to give me left + right, home and
end keys. It seems to have worked fine for me, for > 6 months.

Philip


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-23 Thread Gene Heskett
On Wednesday 23 August 2017 08:33:34 andy pugh wrote:

> On 23 August 2017 at 01:30, Gene Heskett  wrote:
> > There is a file named axis there, but Kompare cannot make a showing
> > of what the patch would do using that "axis" as the src file.
>
> Does it look like a python file? Does it begin with #!/usr/bin/python
> ?

yes and yes but its not the same as the git-cloned copy I have from early 
June, it looks like its been merged with another .py file, and not a lot 
of that mdi related Tcl stanza still exists.

> That's axis.py but it seems to lose the .py after being installed. 
> You will find it is identical to the (corresponding version) of
> https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/axis
>/scripts/axis.py

I haven't tried to apply the patch to that file. I suspect I'd have to 
edit the patch to remove the .py's from its a & b filepaths.  Is that 
feasable?

Or is it in process and waiting for the buildbot? In which case I'll 
wait.

Next, only mildly related subject.

Because of the narrow usb2 pinhole most of the i/o data has to go thru, 
and this includes any mice/keyboards plugged into the usb ports on this 
r-pi, collisions and dropped keyboard/mouse events are a major PITA, and 
has broken some tooling for me because the machine didn't stop when the 
key was released. (it also din't move the first time the key was 
pressed, but that can be tolerated) So since the pine folks are claiming 
that bottleneck doesn't exist in the rock64, I have just now asked 
Bertho S. if he would be interested in making sure that rpspi.ko will 
run on a rock64.  I'll send him one to play with, if. 

IMO theres more than sufficient cpu power, but memory, and oom problems 
are ever present as things quit working after uptimes get long, and I 
sometimes have to reboot it many times to get a temporarily working most 
of the time keyboard. FWIW, my front of the apron dials do NOT suffer 
from this problem because their data never goes thru the usb pinhole in 
the pi, they go straight in thru the gpio.  And they Just Work(TM).

The rock64, with 2GB of memory, is $33+ship, or with 4GB, $44+ship. It 
doesn't have some of the stuff the pi has, but isn't being used anyway.

The atoms I have run nicely on 2GB so I don't see any advantage in buying 
the 4GB model.

Whats your opinion on it. Do you see a showstopper?

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-23 Thread andy pugh
On 23 August 2017 at 01:30, Gene Heskett  wrote:

> There is a file named axis there, but Kompare cannot make a showing of
> what the patch would do using that "axis" as the src file.

Does it look like a python file? Does it begin with #!/usr/bin/python ?
That's axis.py but it seems to lose the .py after being installed.
You will find it is identical to the (corresponding version) of
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/axis/scripts/axis.py

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-22 Thread Gene Heskett
On Tuesday 22 August 2017 16:03:45 andy pugh wrote:

> On 22 August 2017 at 13:57, Gene Heskett  wrote:
> > The "axis.py" file this patch apply's to, does not exist in the
> > latest (as of yesterday) 2.8-pre install on my raspberry pi running
> > jessie.
>
> If the file doesn't exist then you won't be able to run the Axis GUI,
> so the cursor problem seem immaterial.
>
> (Have you looked in usr/bin ?)

There is a file named axis there, but Kompare cannot make a showing of 
what the patch would do using that "axis" as the src file.

Calling kompare with nothing but the patch file shows the comparison just 
fine, but appears to pull the source file out of thin air, it does not 
exist on this machine that I can find.  Some sort of black magic?

So if I move this patch to the armhf/jessie machine, how would I go about 
pulling a fresh git image,(or updating the about 60 day old copy I 
have), actually applying the patch, then building and installing what I 
believe is a uspace install over the top of the current 2.8.0-pre* 
install?

Thanks Andy.
Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-22 Thread andy pugh
On 22 August 2017 at 13:57, Gene Heskett  wrote:

> The "axis.py" file this patch apply's to, does not exist in the latest
> (as of yesterday) 2.8-pre install on my raspberry pi running jessie.

If the file doesn't exist then you won't be able to run the Axis GUI,
so the cursor problem seem immaterial.

(Have you looked in usr/bin ?)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-22 Thread Gene Heskett
On Tuesday 22 August 2017 05:10:18 suavesteve wrote

0001-axis.py-add-support-for-MDI-cursor-movement.patch

The "axis.py" file this patch apply's to, does not exist in the latest 
(as of yesterday) 2.8-pre install on my raspberry pi running jessie.

I have a now out of date git pull that I am not running that does have 
this file.

So what file in the current 2.8.0-pre1-3308-g510e1a9 install should I try 
to merge this into by hand?

It is a sorely needed patch.

Thanks

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] MDI edit/UI question

2017-08-22 Thread suavesteve
I've ran into this problem, too; best as I could see, it wasn't possible
to use the keys with that particular entry box, so I made a few
modifications to the axis.py script to give me left + right, home and
end keys. It seems to have worked fine for me, for > 6 months.

Philip

>From 17a55baf3af55a5f70a5e9e034810b790d6a06a4 Mon Sep 17 00:00:00 2001
From: Philip Mullen 
Date: Tue, 22 Aug 2017 09:53:45 +0100
Subject: [PATCH] axis.py add support for MDI cursor movement

Allow the keyboard to move the cursor in the MDI entry box
---
 src/emc/usr_intf/axis/scripts/axis.py | 38 ---
 1 file changed, 35 insertions(+), 3 deletions(-)

diff --git a/src/emc/usr_intf/axis/scripts/axis.py b/src/emc/usr_intf/axis/scripts/axis.py
index 55ad515..dfe50a8 100755
--- a/src/emc/usr_intf/axis/scripts/axis.py
+++ b/src/emc/usr_intf/axis/scripts/axis.py
@@ -2298,7 +2298,6 @@ class TclCommands(nf.TclCommands):
 if mdi_history_index != (widgets.mdi_history.size() - 1):
 widgets.mdi_history.selection_set(mdi_history_index, mdi_history_index)
 vars.mdi_command.set(widgets.mdi_history.get(mdi_history_index))
-widgets.mdi_command.selection_range(0, "end")
 
 def mdi_down_cmd(*args):
 if args and args[0].char: return   # e.g., for KP_Up with numlock on
@@ -2316,7 +2315,34 @@ class TclCommands(nf.TclCommands):
 if mdi_history_index != (widgets.mdi_history.size() - 1):
 widgets.mdi_history.selection_set(mdi_history_index, mdi_history_index)
 vars.mdi_command.set(widgets.mdi_history.get(mdi_history_index))
-widgets.mdi_command.selection_range(0, "end")
+
+def mdi_left_cmd(*args):
+if args and args[0].char: return
+if widgets.mdi_command.cget("state") == "disabled":
+return
+
+widgets.mdi_command.icursor(widgets.mdi_command.index(INSERT) - 1)
+
+def mdi_right_cmd(*args):
+if args and args[0].char: return
+if widgets.mdi_command.cget("state") == "disabled":
+return
+
+widgets.mdi_command.icursor(widgets.mdi_command.index(INSERT) + 1)
+
+def mdi_end_cmd(*args):
+if args and args[0].char: return
+if widgets.mdi_command.cget("state") == "disabled":
+return
+
+widgets.mdi_command.icursor(widgets.mdi_command.index(END))
+
+def mdi_home_cmd(*args):
+if args and args[0].char: return
+if widgets.mdi_command.cget("state") == "disabled":
+return
+
+widgets.mdi_command.icursor(0)
 
 def send_mdi(*event):
 if not manual_ok(): return "break"
@@ -2429,6 +2455,7 @@ class TclCommands(nf.TclCommands):
 if bbox and (event.y <= (bbox[1] + bbox[3])) and  (cursel < widgets.mdi_history.size() - 1):
 mdi_history_index = cursel
 vars.mdi_command.set(widgets.mdi_history.get(cursel))
+widgets.mdi_command.focus_set()
 else:
 widgets.mdi_history.see("end")
 widgets.mdi_history.selection_clear(0, "end")
@@ -3039,9 +3066,15 @@ widgets.mdi_command.bind("", commands.mdi_history_clip2hist)
 widgets.mdi_command.bind("", commands.send_mdi)
 widgets.mdi_command.bind("",  commands.mdi_up_cmd)
 widgets.mdi_command.bind("", commands.mdi_down_cmd)
+widgets.mdi_command.bind("",  commands.mdi_left_cmd)
+widgets.mdi_command.bind("",  commands.mdi_right_cmd)
 widgets.mdi_command.bind("", commands.send_mdi)
 widgets.mdi_command.bind("",  commands.mdi_up_cmd)
 widgets.mdi_command.bind("", commands.mdi_down_cmd)
+widgets.mdi_command.bind("",  commands.mdi_left_cmd)
+widgets.mdi_command.bind("",  commands.mdi_right_cmd)
+widgets.mdi_command.bind("", commands.mdi_home_cmd)
+widgets.mdi_command.bind("", commands.mdi_end_cmd)
 widgets.mdi_command.bind("", "break")
 widgets.mdi_command.bind("", "break")
 
@@ -3681,7 +3714,6 @@ def get_coordinate_font(large):
 
 root_window.bind("", pane_top + ".tabs raise manual")
 root_window.bind("", pane_top + ".tabs raise mdi")
-root_window.bind("", "+" + tabs_mdi + ".command selection range 0 end")
 root_window.bind("", commands.next_tab)
 
 init()
-- 
2.9.4

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] MDI edit/UI question

2017-08-21 Thread David Berndt

Maybe this is an easy one, maybe not.

When using axis in standard config, on the mdi screen, if you've selected  
the "MDI Command" text box, you can use the up/down arrows to scroll  
through the history, enter to run the currently selected history command,  
and if you use the mouse to click on a history command/the MDI Command box  
when a history command is selected you can edit the history command and  
then run it.


What is currently driving me bananas is.. How do you get into the  
"edit" mode when selecting a history command without using the mouse? In  
my experience, simply pressing end key might do it, or f2, maybe f6, right  
arrow, anything? Nothing I seem to press does it short of getting out the  
mouse. As my current mouse setup is to leave the mouse hanging off the  
back of the control cabinet, and occasionally stepping on it or kicking it  
across the garage it's not the most convenient thing, I try to avoid it...


Help..? I'm sure the answer is obvious to some other folks.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users