Skip to content
Tcl Source Code History Of Ticket 227412
Login

History Of Ticket 227412

Artifacts Associated With Ticket 227412

  1. Ticket change [0364ea7669] (rid 119818) by sgalthof on 2001-01-03 15:28:11:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      On 1/2/2001 I got TCLPro 1.4
      I use prowish83
      
      I enter:
      set port [open /dev/ttya w+]
      fconfigure $port -mode "9600,0,8,1"
      
      In responce I get:
      Error in startup script: bad option "-mode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation
          while executing
      "fconfigure $port -mode "9600,0,8,1""
          (file "devnet" line 36)
      
      I've seen this error before in the Bug Database, but I couldn't tell from the posts how to fix it.  The previous bug reports say this error has been fixed, but it doesn't seem to have been, in later versions of tcl.
      
      A possible cause of the problem would be that tcl might not recognize /dev/ttya as a serial port.  Maybe open should have a flag so you can explicitly specify that a connection is a serial port or not.
      
    4. foundin initialized to: "obsolete: 8.3.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "sgalthof"
    9. subsystem initialized to: "62. (unused)"
    10. title initialized to:
      fconfigure -mode doesn't appear to work in TCLPro 1.4
      
    11. type initialized to: "Bug"
  2. Ticket change [c53c58e77c] (rid 111964) by sgalthof on 2001-01-03 22:56:29:

    1. icomment:
      I retested it with all the versions of tcl and wish provided by tclpro 1.4:
      protclsh83*, tcl*, expect*, tclsh8.3*, expectk*, prowish83*, wish8.3*, and wishx*
      
      The all failed.  I then tryed an old version of wish8.0 (8.0.3) that I had.  And when I entered:
      set port [open /dev/ttya w+]
      fconfigure $port -mode "9600,n,8,1"
      This worked.  Note: I was missusing the parity field in my origional post, this does not invalidate the bug I'm reporting.  If I use the code that worked in 8.0.3 in any other load that I have the code doesn't work.
      
      It seems wierd that the newer versions don't work, but the older one does.
      
      
    2. login: "sgalthof"
    3. mimetype: "text/plain"
    4. username: "sgalthof"
  3. Ticket change [020be3fa6c] (rid 119579) by dkf on 2001-01-03 23:20:59:

    1. icomment:
      Hmm.  A quick glance through the code indicates that the isatty() call (tcl/unix/tclUnixChan.c:1346) must be failing for some reason, but I've no idea why (I've no serial devices attached to this machine and messing around with my virtual terminals doesn't seem 100% wise to me...)  Oh well, perhaps this will at least make the bug easier to hunt down.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [33f0fa92ed] (rid 106678) by dkf on 2001-02-01 04:02:02:

    1. icomment:
      Could this in fact be due to the known build problem on some platforms (notably RedHat and SuSE Linuxes) where their automated build procedures result in a failure to detect what serial API is present and cause libtcl to be built without any serial support at all?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. subsystem changed to: "27. Channel Types"
    5. username: "dkf"
  5. Ticket change [66dd024865] (rid 102803) by hobbs on 2001-03-28 08:56:23:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      My guess is that this is related to the misconfiguration on 
      Linux that causes improper recognition of valid tty's.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  6. Ticket change [3b49d8a9b4] (rid 112713) by hobbs on 2001-04-03 13:29:24:

    1. assignee changed to: "hobbs"
  7. Ticket change [d8b66a73f7] (rid 107493) by hobbs on 2001-04-05 02:03:05:

    1. closedate changed to: "2001-04-04T19:03:05"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      There was a general problem of tty detection in some linux 
      builds due to configure not configuring right.  This is 
      fixed by patch 402923 in 8.4a3/8.3.3.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"