Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5485d4b3fcee8f6990dd90c23aba985f90d90576
Ticket: 218193ffffffffffffffffffffffffffffffffff
Pipe to 16 bit program not working under Windows NT 4
User & Date: nobody on 2000-10-26 00:54:20
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2368 Bug
    Version: 8.1.1
    SubmitDate: '1999-07-16'
    LastModified: '2000-01-07'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    RelatedBugIDs: 2330
    OS: Windows NT
    OSVersion: Win NT 4.0 + ServicePack 4
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '2000-01-07'
    
    
    Name:Martin Conrad
    
    ReproducibleScript:
    The following scripts can be invoked by tclsh82 or wish82. First you
    must insert a formatted high density floppy disk into drive A:, then you
    type
    
        tclsh82 initfd
        or
        wish82 initfd
        
    In both cases, the script sends commands to debug which build a new BIOS
    parameter block, FAT tables and an empty directory (for higher total
    capacity).
        
    If you use tclsh81, you can see some output on the console screen, if
    you use wish, you see nothing, but the floppy drive LED should be turned
    on and off.
        
        Here the scripts:
        ------------------------------------------ initfd (1st version)
        
        puts "Start initialization drive 0"
        set fdp [open "| debug" w]
        puts $fdp "
        l200 0 0 2
        f20d,20d 8
        f211,211 30
        f215,215 f0
        f216,216 2
        f400,400 f0
        f403,11ff 0
        f800,802 f0 ff ff
        w200 0 0 8
        q
        "
        puts "Close command pipe now"
        close $fdp
        puts "Initialisierung beendet"
        exit
        
        --------------------------------------------------------- initfd (2nd
        version)
        
        exec debug << "
        l200 0 0 2
        f20d,20d 8
        f211,211 30
        f215,215 f0
        f216,216 2
        f400,400 f0
        f403,11ff 0
        f800,802 f0 ff ff
        w200 0 0 8
        q
        "
        exit
        
        ---------------------------------------------------------
    
    ObservedBehavior:
    If you use wish81, the script hangs. The task manager shows a process
        NTVDM.EXE,
        which consumes nearly all cpu time. If you stop that process, an error
        message
        pops up, with the following contents (1st version):
                broken pipechild process exited abnormally
                  while executing
                "close $fdp"
                  (file "...\initfd" line 16)
        Contents for 2nd version:
                child process exited abnormally
                  while executing
                "exec debug << "
                     :
                     :
                        q
                ""
                  (file "...\initfd" line 1
    
    DesiredBehavior:
    As with wish80, the debug commands written to the pipe should be
        executed and the script should stop afterwards.
    
    
    
    The report is a bit confusing and needs clarification.  The FoundIn
    is listed as 8.1.1, but the user mentions both 8.0, 8.1 and 8.2,
    each of which have slightly different characteristics (bug fixes
    and all that), so we need to know exactly which failed (or if one
    worked at any time).
    
    Also, does this work with tclsh fully and just not with wish?
    It could be that wish is not a console app.  The user might
    try redirecting output to NUL: or when running wish, | it to
    cat32.exe (wish | cat32.exe) so that they can see the output
    in the DOS console box to get more info to narrow this down. 
    -- 01/07/2000 hobbs
    
  4. foundin changed to: "final: 8.1.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "60. NRE and coroutines"
  10. title changed to:
    Pipe to 16 bit program not working under Windows NT 4
    
  11. type changed to: "Bug"