On Thu, 10 Nov 2022 20:20:52 +0000
Chris Green <c...@isbd.net> wrote:

> On Thu, Nov 10, 2022 at 08:58:14PM +0100, Gary Jennejohn wrote:
> > On Thu, 10 Nov 2022 17:55:49 +0000
> > Chris Green <c...@isbd.net> wrote:
> >
> > > I have a file, called .editfile which contains just a filename, e.g.:-
> > >
> > >     chris$ cat .editfile
> > >     /srv/wiki/data/pages/telecoms/umidigi.txtchris$
> > >     chris$
> > >
> > > When I open the file with vile or xvile I see (as expected) the
> > > filename and I can enter ^X-e to edit the file.
> > >
> > > However if I try the following:-
> > >
> > >     chris$ vile -ce .editfile
> > >
> > > I don't get to edit the file whose name is in .editfile, I get
> > > .editfile in one window and the following in the other window
> > > (named [Binding List] :-
> > >
> > >     [Reading /home/chris/.vilerc]
> > >     [Read 66 lines from "../.vilerc"]
> > >     [Reading /usr/share/vile/filters.rc]
> > >     [Reading /usr/share/vile/modes.rc]
> > >     [Reading /usr/share/vile/digraphs.rc]
> > >     [Reading /home/chris/wiki/.editfile]
> > >     [Read 1 line from "./.editfile"]
> > >
> > >
> > > Is there any way I can get this to work as I want?  I just want to
> > > open the file whose name is in .editfile.
> > >
> > > I've tried the alternatives of 'edit-file', 'E', 'e' and 'find-file'
> > > but they all act the same.
> > >
> >
> > Sending to the list since I'm now suscribed using my new email account.
> >
> > This works for me:
> >
> > vile `cat ^Xe .zot` where .zot contains .bashrc and vile opens .bashrc.
> >
> > ^X = ctrl-V+ctrl-X
> >
> Sadly this won't help me as I'm trying to run this from a panel
> launcher button in [x]ubuntu, thus I can't use any bash, all I can
> have is a plain text command line.
>

Good luck.  Maybe someone on the list can come up with a solution.

--
Gary Jennejohn

Reply via email to