Lan Barnes wrote:

Thought you might enjoy a Tcl solution:

#!/usr/bin/tclsh
package require Tk
frame .f -container yes
pack .f -fill both -expand yes
exec xterm -into [expr [ winfo id .f ]] -e $env(EDITOR) &

When you run it, the editor window might be tiny and need to be dragged
open ... but that's an implementation detail.

Bingo. And there are a *ton* of these "implementation details". And they all differ depending upon your windowing widgets.

Thanks for the concrete demonstration of what makes integrating an editor such a PITA.

-a


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to