[GRASS-dev] [GRASS GIS] #2152: cd command does not work in GUI Command console
GRASS GIS
trac at osgeo.org
Mon Jan 27 11:17:06 PST 2014
#2152: cd command does not work in GUI Command console
---------------------------------+------------------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: wxGUI | Version: 6.4.3
Keywords: cd, command console | Platform: All
Cpu: Unspecified |
---------------------------------+------------------------------------------
Comment(by wenzeslaus):
Replying to [comment:3 neteler]:
> Replying to [comment:2 wenzeslaus]:
> > Replying to [comment:1 neteler]:
> ...
> > I actually like the patch for the parser, I wanted propose
> > `--h` and inclusion of `--help` in the manual page myself.
>
> Yes, the patch adds this, too (run "make distclean" to see it).
>
> > I just don't like the wording of the `--help` description,
>
> Submitted with improved wording in r58783 (GRASS 7 only so far).
OK it works for me. The problem was that I tried writing `-` character on
numeric keypad but it works only for `-` with key code 45, so probably
only `-_` button speaking about English layout.
I fixed this in r58788. It now reacts to numeric keypad `-` key and also
to general `wx.WXK_SUBTRACT` which however, does nothing for me on Ubuntu
12.04 with US locale and USA keyboard (note also that the change gives
expected results also for Czech keyboard: the `-` reacts, `-_` key on
English layout does not). These cases now triggers the autocomplete:
{{{
event.GetKeyCode() == 45 and not event.ShiftDown()
event.GetKeyCode() == wx.WXK_NUMPAD_SUBTRACT
event.GetKeyCode() == wx.WXK_SUBTRACT
}}}
However, note that this change is in fact not much related to this ticket
about `cd` command as well as the unifying approach to `--help` in parser
(and consequently in wxGUI command console) done in r58783.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2152#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list