Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Nov 17, 2012
0 parents commit b7f001e
Show file tree
Hide file tree
Showing 8 changed files with 1,174 additions and 0 deletions.
676 changes: 676 additions & 0 deletions COPYING

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include COPYING
include README.rst
include *.py
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

PACKAGE=trachet
all:


install:
#curl http://peak.telecommunity.com/dist/ez_setup.py | python
python setup.py install

uninstall:
yes | pip uninstall tff

clean:
rm -rf dist/ build/ $(PACKAGE).egg-info
rm -f **/*.pyc

update:
python setup.py register
python setup.py sdist upload
python2.6 setup.py bdist_egg upload
python2.7 setup.py bdist_egg upload

60 changes: 60 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
sixelterm
=========

Install
-------

via github ::

$ git clone https://github.com/saitoha/trachet.git
$ cd trachet
$ python setup.py install

or via pip ::

$ pip install trachet


Usage
-----

::

$ trachet [options] command

* Options::

-h, --help show this help message and exit
-o OUTPUT, --output=OUTPUT Specify output device or file
--version show version

* Sequense Tracing

If you specified TTY device to -o option,
you can look I/O sequence tracing on realtime.

* Step by Step debugging

- <F5>
Stop step-by-step debugging.

- <F6>
Start step-by-step debugging.

- <F7>
Step.

- <F8>
Step to next escape sequence (not control char).

Example
-------

$ trachet -o/dev/pts/4 bash


Reference
---------

- vt100.net http://vt100.net/

1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

33 changes: 33 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from trachet import __version__, __license__, __author__

setup(name = 'trachet',
version = __version__,
description = 'Provides step-by-step debugging and formatted sequence tracing service, to terminal applications.',
long_description = open("README.rst").read(),
py_modules = ['trachet'],
eager_resources = [],
classifiers = ['Development Status :: 4 - Beta',
'Topic :: Terminals',
'Environment :: Console',
'Intended Audience :: Developer',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python'
],
keywords = 'terminal debugger',
author = __author__,
author_email = 'user@zuse.jp',
url = 'https://github.com/saitoha/trachet',
license = __license__,
packages = find_packages(exclude=[]),
zip_safe = True,
include_package_data = False,
install_requires = ['tff ==0.0.7'],
entry_points = """
[console_scripts]
trachet = trachet:main
"""
)

26 changes: 26 additions & 0 deletions trachet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Copyright (C) 2012 Hayaki Saito <user@zuse.jp>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ***** END LICENSE BLOCK *****

__author__ = "Hayaki Saito (user@zuse.jp)"
__version__ = "0.0.1"
__license__ = "GPL v3"

from trachet import *

Loading

0 comments on commit b7f001e

Please sign in to comment.