Re: A widget for the user's editor of choice



Lan schrieb:
Some Linux friends were bemoaning all the apps that have their own
editors. Why can't you just tell the app which editor you prefer (as,
for example, one can specify vim in mutt)? There should be a simple,
direct way to do this in Tcl.

It *should* work like this:

package require Tk
frame .f -container yes
pack .f -fill both -expand yes
exec xterm -into [ winfo id .f ] -e $env(EDITOR) &

However, the xterm is not reparented into the frame on my machine. Does
anyone know what I left out?

Kind regards

Jan
.



Relevant Pages

  • Re: Tri-level sync, double-system, safe or not?
    ... how it gets rid of the dreaded "blue frame" for editors. ... Some camera guys have said that external gens on each camera is a bit ...
    (rec.arts.movies.production.sound)
  • Re: Responses to the list
    ... > Sorry if it seems OT, but all talk is about Thunderbird, KMail, mutt ... ... > but not Gnus. ... text editors in the conversation. ...
    (Debian-User)
  • using aspell from within Mutt
    ... a blind friend of mine is new to Linux and to Mutt; he'd like to use aspell from within its Mutt (note: he's using nano, a pico clone, or joe as text editors); how can he do that from within Mutt? ...
    (comp.mail.mutt)