Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-01-30
18:35 • Closed ticket [1216074fff]: TIP#208: Finish implementation (chan command) pl... artifact: 3fb20e5a16 user: dkf
2007-11-15
03:15 • Ticket [1216074fff]: 5 changes artifact: 9d0fa05557 user: dkf
02:54 • Ticket [1216074fff]: 4 changes artifact: 1a399d6ebb user: andreas_kupries
2007-11-07
01:34 • Add attachment chanio.test.gz to ticket [1216074fff] artifact: 42bb296b25 user: andreas_kupries
01:34 • Ticket [1216074fff] TIP#208: Finish implementation (chan command) status sti... artifact: 4c6d9770d4 user: andreas_kupries
2007-11-06
03:55 • Ticket [1216074fff]: 5 changes artifact: fd22339ba0 user: andreas_kupries
2007-10-31
23:33 • Ticket [1216074fff]: 1 change artifact: 4bc54b9da9 user: dgp
2005-10-06
01:15 • Ticket [1216074fff]: 1 change artifact: 53ae2a0930 user: andreas_kupries
2005-09-01
21:31 • Ticket [1216074fff]: 4 changes artifact: 2602ff13a1 user: dkf
2005-08-30
04:41 • Ticket [1216074fff]: 4 changes artifact: be33177485 user: andreas_kupries
2005-06-08
04:58 • Ticket [1216074fff]: 5 changes artifact: 63992ff6d1 user: dkf
2005-06-07
00:03 • New ticket [1216074fff]. artifact: 5485e9998f user: dkf

TIP#208: Finish implementation (chan command)

Closed / Fixed1216074fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 18 years ago
Descriptionplain2005-06-07 00:03:20
More docs
More tests
Implement on non-POSIX (Win only?)
dkfplain2005-06-08 04:58:29
Logged In: YES 
user_id=79902

Implemented on Win
andreas_kupriesplain2005-08-30 04:41:18
Logged In: YES 
user_id=75003

As far as I can see this has been implemented by JeffH for
Unix as well, including docs and tests.
dkfplain2005-09-01 21:31:29
Logged In: YES 
user_id=79902

No, this bug is a reminder to write *more* docs (e.g.
examples) and *more* tests (we've only got one test of
functional behaviour right now)
andreas_kupries Ticket [1216074fff]: 1 change [History diff]2005-10-06 01:15:25
dgp Ticket [1216074fff]: 1 change [History diff]2007-10-31 23:33:50
andreas_kupriesplain2007-11-06 03:55:09
Logged In: YES 
user_id=75003
Originator: NO

#208, that is the general 'chan' ensemble command for the various channel ops.
One test of functional behavior ? Which ? Where ?

I find lots in iocmd.test for 'chan postevent', 'chane create', i.e. the #219 reflection, and also some in chan.test ... Ok, the latter seems to be mostly 'chan pending' (#287) and syntax error conditions.

I guess that for testing we could in general copy the tests from io.test to chan.test and then modify them for the new 'chan' syntax, right?
Regarding more examples, it seems that we would have to copy the examples of the old channel commands and add them to chan.n. Sufficient ?
andreas_kupriesplain2007-11-07 01:34:23
File Added - 253103: chanio.test.gz

Logged In: YES 
user_id=75003
Originator: NO

Attached a chanio.test. This is basically 'io.test' with all suitable commnds rewritten to their 'chan' form.

File Added: chanio.test.gz
andreas_kupriesplain2007-11-15 02:54:36
Logged In: YES 
user_id=75003
Originator: NO

The file chanio.test has been committed now.
Nothing done for examples yet.
dkfplain2007-11-15 03:15:17
Logged In: YES 
user_id=79902
Originator: YES

Remember with examples: they don't need to be complete. It's enough to just tantalize and hint what you can do with the commands documented. :-)
dkfplain2009-01-30 18:35:27
allow_comments - 1

There are now two examples that demonstrate various subcommands. Should be good enough for now.
Log in (anonymous is fine) to add a comment.

Attachments: