<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>COPYING</filename>
    </added>
    <added>
      <filename>INSTALL</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -22,7 +22,8 @@
 _Dbg_help_add down \
 'down [COUNT]	-- Set the call stack position down by COUNT.
 
-If COUNT is omitted use 1.'
+If COUNT is omitted use 1. Count can be any arithmetic expression'
+
 _Dbg_do_down() {
   _Dbg_not_running &amp;&amp; return 1
   typeset -i count=${1:-1}
@@ -30,6 +31,8 @@ _Dbg_do_down() {
   _Dbg_print_location
 }
 
+_Dbg_alias_add 'd' down
+
 _Dbg_help_add frame \
 'frame FRAME-NUM	-- Move the current frame to the FRAME-NUM.'
 
@@ -44,7 +47,7 @@ _Dbg_do_frame() {
 _Dbg_help_add up \
 'up [COUNT]	-- Set the call stack position up by  COUNT. 
 
-If count is omitted use 1.'
+If COUNT is omitted use 1. Count can be any arithmetic expression'
 
 _Dbg_do_up() {
   _Dbg_not_running &amp;&amp; return 1
@@ -52,3 +55,5 @@ _Dbg_do_up() {
   _Dbg_frame_adjust $count +1
   _Dbg_print_location
 }
+
+_Dbg_alias_add 'u' 'up'</diff>
      <filename>command/frame.sh</filename>
    </modified>
    <modified>
      <diff>@@ -88,7 +88,7 @@ _Dbg_frame_adjust() {
       ((pos=count))
     fi
   else
-    ((pos=_Dbg_stack_pos-1+(count*signum)))
+    ((pos=_Dbg_stack_pos+(count*signum)))
   fi
 
   if (( $pos &lt; 0 )) ; then 
@@ -99,7 +99,7 @@ _Dbg_frame_adjust() {
     return 1
   fi
 
-  ((_Dbg_stack_pos = pos+1))
+  ((_Dbg_stack_pos = pos))
 # #   typeset -i j=_Dbg_stack_pos+2
 # #   _Dbg_listline=${BASH_LINENO[$j]}
 # #   ((j++))</diff>
      <filename>lib/frame.sh</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>COPYING</filename>
    </removed>
    <removed>
      <filename>INSTALL</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>046b9696b192ee96bce7daf6e0781d3115abe312</id>
    </parent>
  </parents>
  <author>
    <name>R. Bernstein</name>
    <email>rocky@gnu.org</email>
  </author>
  <url>http://github.com/rocky/kshdb/commit/0243635747b1b6787692397854fd44597f1cca61</url>
  <id>0243635747b1b6787692397854fd44597f1cca61</id>
  <committed-date>2008-08-21T10:50:54-07:00</committed-date>
  <authored-date>2008-08-21T10:50:54-07:00</authored-date>
  <message>Zero origin frame handling</message>
  <tree>4b0254a5987ea7b771a09a9cfa917ba279defcb6</tree>
  <committer>
    <name>R. Bernstein</name>
    <email>rocky@gnu.org</email>
  </committer>
</commit>
