Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-03-15
05:52 • Ticket [666770ffff] Query of channel set to translation binary returns lf st... artifact: b7328141ad user: andreas_kupries
05:52 • Closed ticket [666770ffff]. artifact: 7c369fa2c8 user: andreas_kupries
2003-10-15
21:52 • Ticket [666770ffff]: 6 changes artifact: 768a75f5bd user: vincentdarley
20:07 • Open ticket [666770ffff]. artifact: 987c8ccd29 user: dkf
2003-01-17
11:21 • Ticket [666770ffff]: 6 changes artifact: ed9eb0c97b user: dkf
2003-01-14
02:00 • Closed ticket [666770ffff]. artifact: 39829af073 user: hobbs
2003-01-12
19:50 • New ticket [666770ffff]. artifact: 29159c007d user: gwlester

Query of channel set to translation binary returns lf

Closed / Fixed666770ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 21 years ago
Descriptionplain2003-01-12 19:50:26
When a channel's translation is set to binary and later queried, the result of the query is lf not binary.

See:

fconfigure stdin -blocking yes -buffering none -translation {binary binary}
puts [fconfigure stdin]
flush stdout
hobbsplain2003-01-14 02:00:51
Logged In: YES 
user_id=72656

That is the correct value, as lf means \n == \n.
dkfplain2003-01-17 11:21:41
Logged In: YES 
user_id=79902

But it's surprisingly surprising to many people; perhaps a doc 
improvement is called for to note that "binary" is highly 
magical?
dkfplain2003-10-15 20:07:44
Logged In: YES 
user_id=79902

Reopening to remind that a doc improvement is needed
vincentdarleyplain2003-10-15 21:52:53
Logged In: YES 
user_id=32170

This is a channel issue, not a fs one.
andreas_kupriesplain2006-03-15 05:52:24
Logged In: YES 
user_id=75003

Committed a clarification to both HEAD and 8.4 branch.
andreas_kupries Ticket [666770ffff]: 2 changes [History diff]2006-03-15 05:52:25
Log in (anonymous is fine) to add a comment.