X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <564718F6.9030501@xs4all.nl> Date: Sat, 14 Nov 2015 12:20:22 +0100 From: "Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] pcb-rnd: pcb-menures diff References: <5646E07C DOT 8090704 AT xs4all DOT nl> In-Reply-To: Content-Type: multipart/mixed; boundary="------------050202020406070701070503" Reply-To: geda-user AT delorie DOT com This is a multi-part message in MIME format. --------------050202020406070701070503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit gedau AT igor2 DOT repo DOT hu wrote: > Hello Bert, > > On Sat, 14 Nov 2015, Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via > geda-user AT delorie DOT com] wrote: > >> Hi Igor2, >> >> Trying to implement your keylist script into vanilla pcb I found a >> typo and created the attached diff for your pcb-menu.res. > > Thank you, I've applied your patch. > >> Further more crating keylist.html by hand from the util dir I get >> misaligned content and an extra column. >> >> The script seems to go wrong with special chars outside the [a-z,A-Z] >> range, like the "down" key (first occurrence where things misalign >> and an extra table field is created). > > Thanks, I've managed to fix it in r972. The problem was not any > special character but only whitepsace, as I use whitespace as field > separator while passing data from one script to another. > > Please let me know if the new version of the script still fails. > > Regards, > > Igor2 > > Hi Igor2, No, still the same results (identical files). I invoke with: ./keylist.sh ../src/gpcb-menu.res ../src/pcb-menu.res > keylist.html I assumed that is the correct way. Kind regards, Bert Timmerman. --------------050202020406070701070503 Content-Type: text/html; name="keylist.html" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="keylist.html"

Key to action bindings

key modifiers pcb-menu.res
lesstif
gpcb-menu.res
gtk
1 shift   PasteBuffer(1)
2 shift PasteBuffer(2) PasteBuffer(2)
3 shift PasteBuffer(3) PasteBuffer(3)
4 shift PasteBuffer(4) PasteBuffer(4)
5 shift PasteBuffer(5) PasteBuffer(5)
a alt   Select(All)
alt-shift   Unselect(All)
  SetSame() SetSame()
backspace   Delete(Selected) RemoveSelected()
shift Atomic(Save) Atomic(Save)
b   Flip(Object) Flip(Object)
shift   Flip(SelectedElements)
c ctrl   Mode(PasteBuffer)
    Center()
delete     Mode(Save)
shift Atomic(Save) RemoveSelected()
d     Display(PinOrPadName)
down   Cursor(Warp,0,-1,grid) Cursor(Warp,0,-1,grid)
shift Cursor(Pan,0,-50,view) Cursor(Pan,0,-50,view)
d shift Display(Pinout) Display(Pinout)
e   DeleteRats(AllRats) DeleteRats(AllRats)
enter   Mode(Notify) Mode(Notify)
e   DeleteRats(AllRats) DeleteRats(AllRats)
escape     Mode(Escape)
e shift DeleteRats(SelectedRats) DeleteRats(SelectedRats)
f10     Mode(Thermal)
f11     Mode(Arrow)
f12     Mode(Lock)
f1     Mode(Via)
f2     Mode(Line)
f3     Mode(Arc)
f4     Mode(Text)
f5     Mode(Rectangle)
f6     Mode(Polygon)
f7     Mode(PasteBuffer)
shift   PasteBuffer(Rotate,1)
f8     Mode(Remove)
f9     Mode(Rotate)
f ctrl Connection(Find) Connection(Find)
  Connection(Reset) Connection(Reset)
shift Display(Redraw) Display(Redraw)
g     SetValue(Grid,+)
:     Command()
/   Display(CycleClip) Display(CycleClip)
.     Display(Toggle45Degree)
|     Display(ToggleThindraw)
=   djopt(simple) djopt(simple)
]   Mode(Release) Mode(Release)
[   Mode(Save) Mode(Save)
g shift   SetValue(Grid,-)
h ctrl ChangeHole(Object) ChangeHole(Object)
  ToggleHideName(Object) ToggleHideName(Object)
shift ToggleHideName(SelectedElements) ToggleHideName(SelectedElements)
i     DoWindows(Library)
insert     Mode(InsertPoint)
j   ChangeJoin(Object) ChangeJoin(Object)
shift ChangeJoin(SelectedObjects) ChangeJoin(SelectedObjects)
k ctrl ChangeClearSize(SelectedObjects,+) ChangeClearSize(SelectedObjects,+)
ctrl-shift ChangeClearSize(SelectedObjects,-) ChangeClearSize(SelectedObjects,-)
  ChangeClearSize(Object,+) ChangeClearSize(Object,+)
shift ChangeClearSize(Object,-) ChangeClearSize(Object,-)
left   Cursor(Warp,-1,0,grid) Cursor(Warp,-1,0,grid)
shift Cursor(Pan,-50,0,view) Cursor(Pan,-50,0,view)
l   SetValue(LineSize,+) SetValue(LineSize,+)
shift SetValue(LineSize,-) SetValue(LineSize,-)
m ctrl MarkCrosshair() MarkCrosshair()
  MoveToCurrentLayer(Object) MoveToCurrentLayer(Object)
shift   MoveToCurrentLayer(Selected)
n ctrl New() New()
    ChangeName(Object)
shift AddRats(Close) AddRats(Close)
o ctrl ChangeOctagon(Object) ChangeOctagon(Object)
  Atomic(Block) Atomic(Block)
shift Atomic(Save) Atomic(Save)
/   Display(CycleClip) Display(CycleClip)
=   djopt(simple) djopt(simple)
]   Mode(Release) Mode(Release)
[   Mode(Save) Mode(Save)
p ctrl   AutoPlaceSelected()
ctrl-shift   Display(ToggleThindrawPoly)
  Polygon(PreviousPoint) Polygon(PreviousPoint)
shift Polygon(Close) Polygon(Close)
q ctrl Quit() Quit()
  ChangeSquare(Object) ChangeSquare(ToggleObject)
r alt   AutoRoute(SelectedRats)
ctrl ReportObject() ReportObject()
  Report(NetLength) Report(NetLength)
right   Cursor(Warp,1,0,grid) Cursor(Warp,1,0,grid)
shift Cursor(Pan,50,0,view) Cursor(Pan,50,0,view)
r   Report(NetLength) Report(NetLength)
shift   Redo()
s alt ChangeDrillSize(Object,+5,mil) ChangeDrillSize(Object,+5,mil)
alt-shift ChangeDrillSize(Object,-5,mil) ChangeDrillSize(Object,-5,mil)
ctrl Save(Layout) Save(Layout)
ctrl-shift Save(LayoutAs) Save(LayoutAs)
  ChangeSize(Object,+) ChangeSize(Object,+)
= shift djopt(auto) djopt(auto)
space   Mode(Arrow) Mode(Arrow)
s   ChangeSize(Object,+) ChangeSize(Object,+)
shift ChangeSize(Object,-) ChangeSize(Object,-)
tab ctrl   SwapSides(R)
ctrl-shift   SwapSides()
  SwapSides(V) SwapSides(V)
shift SwapSides(H) SwapSides(H)
t   SetValue(TextScale,+10,mil) SetValue(TextScale,+10,mil)
shift SetValue(TextScale,-10,mil) SetValue(TextScale,-10,mil)
u     Undo()
up   Cursor(Warp,0,1,grid) Cursor(Warp,0,1,grid)
shift Cursor(Pan,0,50,view) Cursor(Pan,0,50,view)
v alt SetValue(ViaDrillingHole,+5,mil) SetValue(ViaDrillingHole,+5,mil)
alt-shift SetValue(ViaDrillingHole,-5,mil) SetValue(ViaDrillingHole,-5,mil)
ctrl   Mode(PasteBuffer)
ctrl-shift SetValue(ViaSize,-5,mil) SetValue(ViaSize,-5,mil)
    Zoom()
shift SetValue(ViaSize,+5,mil) SetValue(ViaSize,+5,mil)
w   AddRats(AllRats) AddRats(AllRats)
shift AddRats(SelectedRats) AddRats(SelectedRats)
x ctrl   Mode(PasteBuffer)
y   Puller() Puller()
z alt Undo()  
    Zoom(-1.2)
shift   Zoom(+1.2)
--------------050202020406070701070503--