If cmd = 0: invoke horizontal tab set
cmd
if cmd = 2: invoke tab clear with cmd = 0
if cmd = 5: invoke tab clear with cmd = 3
accepts cmd = 4 as alias for cmd = 5