Re: A widget for the user's editor of choice
- From: Jan Kandziora <jjj@xxxxxx>
- Date: Fri, 29 Jun 2007 11:33:26 +0200
Lan schrieb:
Some Linux friends were bemoaning all the apps that have their ownIt *should* work like this:
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.
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
.
- Follow-Ups:
- Re: A widget for the user's editor of choice
- From: Schelte Bron
- Re: A widget for the user's editor of choice
- From: Larry W. Virden
- Re: A widget for the user's editor of choice
- From: Jan Kandziora
- Re: A widget for the user's editor of choice
- References:
- A widget for the user's editor of choice
- From: Lan
- A widget for the user's editor of choice
- Prev by Date: Re: unload state
- Next by Date: Re: A widget for the user's editor of choice
- Previous by thread: A widget for the user's editor of choice
- Next by thread: Re: A widget for the user's editor of choice
- Index(es):
Relevant Pages
|