Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dfe7e736304ef4679ed18acd581a5c897325655e
Ticket: 412504ffffffffffffffffffffffffffffffffff
fileevent readable translation mode auto
User & Date: nobody on 2001-04-11 21:50:27
Changes

  1. icomment:
    Logged In: NO 
    
    Andreas,
    
    Thanks for checking into this.
    
    I can see from the "shout" file that your echo
    command doesn't know about printf-style character
    sequences, like \r, \t, etc. or is in a mode
    where it is pretending not to know about them.  I
    guess maybe I should have used a C program
    instead of a Bourne-shell script to generate the
    test output.  Sorry about that. The echo thing is
    a common portability problem with scripts.
    
    Anyway, I have written a little C program to do
    the same thing, and I will upload it (if I can
    figure out how!). Obviously, you can compile it
    with something like "gcc -o fileeventthing
    fileeventthing.c" .  Then edit
    fileeventthing-tclsh to call fileeventthing
    instead of the Bourne shell script.
    
    Note that I've put in an fflush after each number
    in the C program.
    
    Your numbergen script does not exactly duplicate
    what fileeventthing.c and fileeventthing-sh do,
    since you are outputting a CR at the end of each
    line, not the beginning.  I did try it, though,
    and it worked the same for me as for you.
    
    So, let's start all over, but please use the
    fileeventthing.c program instead. Thanks!
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"