Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-01
01:47 • Ticket [218617ffff] fconfigure -mode option does not allow configuration of my s... artifact: 7cd68eb8cc user: dgp
2000-10-26
08:25 • Closed ticket [218617ffff]. artifact: 2c387f7f24 user: welch
01:03 • New ticket [218617ffff]. artifact: cd7d9082bf user: nobody

fconfigure -mode option does not allow configuration of my s

Closed / Fixed218617ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:12
OriginalBugID: 1461 Bug
Version: 8.0.5
SubmitDate: '1999-03-05'
LastModified: '1999-11-29'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Linux-Red Hat
OSVersion: RedHat 5.2
Machine: Other
FixedDate: '1999-11-29'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'


Name: J.Brett Austin

ReproducibleScript:
    set tty [open "/dev/modem" r+]
    fconfigure $tty -mode 2400,n,8,1
    fconfigure $tty

ObservedBehavior:
    I was attempting to access a serial device from Tcl as per the
    instructions in Brent Welch's Practical Programming in Tcl and Tk (pages
    181-184) and found that I could not affect the mode of the serial port.
    I was running the script as "root" so I should have had the privelges
    necessary.  When I looked at the man page for fconfigure it does not
    list -mode as an option.  Does this mean that this feature has not been
    implemented yet?  Will it be at some future time?
    



DesiredBehavior:
    Expected fconfigure to change the serial device mode.
    fconfigure $tty -mode 2400,n,8,1
    fconfigure $tty -mode
    =>2400,n,8,1
    




This works as expected in 8.2 (which has improved on the
serial stuff). 
-- 11/29/1999 hobbs
welch Closed ticket [218617ffff]. [History diff]2000-10-26 08:25:11
dgp Ticket [218617ffff]: 3 changes [History diff]2001-04-01 01:47:50
Log in (anonymous is fine) to add a comment.