E&S CVS Commit: PEAK - add -i flag to n2, to read input from a named streamfactory

tsarna at eby-sarna.com tsarna at eby-sarna.com
Thu Dec 16 18:20:01 EST 2004

Module Name:	PEAK
Committed By:	tsarna
Date:		Thu Dec 16 23:19:27 UTC 2004

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

Log Message:
add -i flag to n2, to read input from a named streamfactory

This does 4 things:

- improved command line compatability with my most-used sqsh flag
- like sqsh, does not print prompts when this flag is given
- allows use of URLs for input (potentially useful with pkgfile:
  URLs during install of software to load DDL, for example)
- changes only the n2 commands stdin, not sys.stdin, so that sys.stdin
  could still be used explicity for reading passwords or what have you.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/tools/n2/main.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/tools/n2/ns.py
cvs rdiff -r1.27 -r1.28 PEAK/src/peak/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