bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

specifying tab stops using tabs


From: Nick Andrik
Subject: specifying tab stops using tabs
Date: Thu, 6 Jun 2013 18:19:32 +0200

In my system, the documentation of tabs states:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Implicit Lists
       Use a single number as an option, e.g., "-5" to set tabs at the
given interval (in this case 1, 6, 11, 16, 21, etc.).  Tabs are
repeated up to the right margin
       of the screen.

       Use "-0" to clear all tabs.

       Use "-8" to set tabs to the standard interval.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

But then, when I am trying to get this functionality, this is what I get:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ tabs -d5
tabs 5
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
----*----*----*----*----*----*----*----*----*----*----*----*----*----*----*----*
        *       *       *       *       *       *       *       *       *       
*       *       *       *       *       *       *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


While what I should get is:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ tabs -d 1,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5

tabs 1,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5,+5
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
*----*----*----*----*----*----*----*----*----*----*----*----*----*----*----*----
*       *       *       *       *       *       *       *       *       *       
*       *       *       *       *       *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I believe -5 is currently equivalent to 5,+5.... while it should be to
1,+5,... according to the documentation.

Best regards,
Nick

--
=Do-
N.AND



reply via email to

[Prev in Thread] Current Thread [Next in Thread]