You can write a simple python script to insert xterm into the tk frame:
from Tkinter import * import subprocess root = Tk() termf = Frame(root, height=800, width=1000) termf.pack(fill=BOTH, expand=YES) wid = termf.winfo_id()
After installing the window
proc = subprocess.Popen('xterm -into %d -sb ' % wid,shell=True) root.mainloop()
On my computer it looks
How to make embedded xterm dynamically dimension termf frame termf even when changing frame size (by dragging the corner)?
esmit source share