Expect

View Ticket
Login

View Ticket

Ticket Hash: 2c0992205cc784ea5a55730698caca02f25b7782
Title: overlay command doesn't work as documented
Status: Open Type: Code_Defect
Severity: Critical Priority:
Subsystem: Resolution:
Last Modified: 2019-10-13 22:08:43
Version Found In: 5.45
User Comments:
anonymous added on 2019-10-13 22:08:43:

According to the man page, overlay -# arguments should accept a spawn-id, but it only allows an integer (line 3254 in exp_command.c) and spawn ids are strings in the form "exp#", not simple integers.

If I try to use just the number after "exp", the overlay command doesn't work either. Probably, a call to Tcl_GetChannelHandle on the "exp#" channel type is missing. Also the overlay command should only accept "exp#" type handles.