Skip to content

Commit

Permalink
Update README file and build instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
psankar committed Jan 2, 2011
1 parent 26befcb commit 82d6570
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Autobahn.exe: $(SOURCES) Makefile
gmcs -debug $(SOURCES) -pkg:mono-curses -r:System.Data.dll -r:Mono.Data.SqliteClient.dll

run: Autobahn.exe
mono --debug sqlite-commander.exe urlclassifier3.sqlite; stty sane
mono --debug sqlite-commander.exe <SQLITE FILE PATH>.sqlite; stty sane
19 changes: 14 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
Sqlite-Commander
================

Sqlite-Commander is a project that is aimed to display sqlite databases in Terminal using a ncurses interface. Mono.NCurses is used as the CUI framework. The name is inspired from Midnight-Commander written by Miguel De Icaza.
Sqlite-Commander is a project that is aimed to display sqlite databases in Terminal using ncurses. Mono.NCurses is used as the CUI framework. The name is inspired from Midnight-Commander written by Miguel De Icaza.

All the source code is available to you in LGPL v2 only.

Drop me a word if you like the software.
Drop me a mail if you like the software.


Features
========
+ Shows the list of tables in the left pane
+ Shows the list of tables in the left pane.
+ Allows you to navigate the list of tables using arrow keys.
+ Shows the first 30 records for the selected table in the right pane
+ Non-printable columns are shown with a ???
+ Maximum of 30 characters are displayed per column. Column data exceeding this length are shown with "..."


ToDo
====
There are few things which will be good to have. But I don't see a pressing need for these features for my workflow. So I have not implemented these. But patches are more than welcome.
There are few things which will be good to have. But I don't see a pressing need for these features in my workflow. So I have not implemented these. But patches are more than welcome. If you feel very interested about some of these items, send me a mail and I may do it :) Sending mails with patches for these features will be even more awesome.

+ Add a scroll bar and show more than 30 columns. Should be moderate/easy to implement.
+ Add a dialog box to execute any random SQL statement. Should be fairly trivial to implement.
+ Create Events such that pressing Enter on the records list will pass the currently selected record to a custom script/command.
+ Copy selections of records to clipboard. Should be moderate/easy to implement.


Hacking Sqlite-Commander
Expand All @@ -27,4 +33,7 @@ Hacking Sqlite-Commander
2) Checkout MonoCurses package from Mono source code repositories: git clone https://github.com/mono/mono-curses.git
3) ./configure --prefix=/usr ; sudo make install
4) Checkout Sqlite-Commander sources from github: git clone https://github.com/curiosity/sqlite-commander.git
5) make run
5) Substitute "<SQLITE FILE PATH>" in the Makefile with your sqlite file path.
6) make run

You can also execute sqlite-commander manually and pass the database file path as a command line option.

0 comments on commit 82d6570

Please sign in to comment.