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