Skip to content
Tcl Source Code History Of Ticket 1657421
Login

History Of Ticket 1657421

Artifacts Associated With Ticket 1657421

  1. Ticket change [cce4663cdf] (rid 95786) by wmipf on 2007-02-11 17:42:19:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Hi,
      
        $ tclsh
        % fconfigure stdout
      
      reports on Debian linux:
      
        -blocking 1
        -buffering line
        -buffersize 4096
        -encoding iso8859-15
        -eofchar {}
        -translation crlf  <--
        -mode 38400,n,8,1
        -xchar
      
      i.e. after each output line comes a CRLF, not, as could be expected from the default in tclUnixPort.h, just LF.
      
      I can observe this with version 8.5a5, but also with the version shipped with Debian sarge, 8.4. It seems to be unimportant whether I start tclsh in a xterm, or in e.g. acme or gnome-terminal.
      
      Perhaps the additional \r normally won't be observed, since programs like xterm or gnome-terminal apparently do not display it, but acme does.
      
      The problem described in a thread "Wrong default end-of-line from tclsh", http://www.dbforums.com/showthread.php?t=938067, seems to have the same background.
      
      Michael
      
      
    4. foundin initialized to: "obsolete: 8.5a5"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "wmipf"
    10. subsystem initialized to: "None"
    11. title initialized to: "default translation of stdout on unix == crlf?"
    12. type initialized to: "Bug"
  2. Ticket change [7504ebc6b9] (rid 105323) by dkf on 2007-02-12 01:23:24:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      The type of translation depends on what stdout really is. If it is going to a terminal, it is (currently) crlf. If it is going into a pipeline or to a file, it is lf.
      
      I don't know what the correct default mode for a terminal or serial line is (I'm assured that you can't tell those two cases apart).
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [a974bab4b2] (rid 99151) by dkf on 2007-02-12 01:23:49:

    1. assignee changed to: "andreas_kupries"
    2. subsystem changed to: "27. Channel Types"
  4. Ticket change [23e4651c6f] (rid 131014) by jidanni on 2008-09-01 04:59:33:

    1. icomment:
      Logged In: YES 
      user_id=1971011
      Originator: NO
      
      This is also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364176 . Please fix.
      
      
      
    2. login: "jidanni"
    3. mimetype: "text/plain"
    4. username: "jidanni"