E&S CVS Commit: PEAK - SQSH-like (but not 100% compatible, nor intended to be) multiple buffers

tsarna at eby-sarna.com tsarna at eby-sarna.com
Fri Aug 1 11:57:00 EDT 2003


Module Name:	PEAK
Committed By:	tsarna
Date:		Fri Aug  1 15:56:39 UTC 2003

Modified Files:
	PEAK/src/peak/running/tools/n2: sql.py

Log Message:
SQSH-like (but not 100% compatible, nor intended to be) multiple buffers
implementation. !. is current buffer, !! is the last command executed.
!n and \history are not implemented. go uses !! if !. is empty, like
sqsh, so "go" again will repeat the last thing you did. Added more
\buf-xxx commands from sqsh, and enhanced existing ones with multibuf
features.

still need \redraw, the logic for which is also needed to fix a big
remaining state problem.

XXX hmm, should buffers other than !!/!. perhaps be implemented as
reading/writing the python interactor's namespace? that would be kinda
cool, as you could drop into \python (or start there and navigate to an
sql connection or whatever), create/manipulate some SQL, and then
\buf-copy it in and run it.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/running/tools/n2/sql.py.diff?r1=1.7&r2=1.8

To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 PEAK/src/peak/running/tools/n2/sql.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list