[[...]] [[Describe rxvt and the one Don distributes with [Expect].]] ---- I've seen the expect example, and it works amazingly well. What I would like to know is whether or not it's possible to get the same effect with pure tcl/tk. The acid test would be to run vi within a tk based emulator without using the expect extension. [RJM] Hm. Don't know exactly what you mean. But for the sake of this pages' title an example of an extremely simple terminal emulator follows here. You can adapt/extend it for your own purpose. set serial [open com1 r+] fconfigure $serial -mode "9600,n,8,1" -blocking 0 -buffering none -translation binary fileevent $serial readable {.t insert end [read $serial]} pack [text .t] bind .t {puts -nonewline $serial %A; break} The ''break'' prevents local echo of typed characters on the text widget. ---- See also [A simple serial terminal] ---- [Category Glossary]