[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Always get two windows when using -c
From: |
Chris Green |
Subject: |
Re: Always get two windows when using -c |
Date: |
Sun, 13 Nov 2022 21:55:18 +0000 |
On Sun, Nov 13, 2022 at 03:40:43PM -0500, Thomas Dickey wrote:
> On Sun, Nov 13, 2022 at 08:11:17PM +0000, Chris Green wrote:
> > On Sun, Nov 13, 2022 at 10:55:07AM -0500, Thomas Dickey wrote:
> > > On Sun, Nov 13, 2022 at 01:57:30PM +0000, Chris Green wrote:
> > > > This relates to my recent posting about trying to use the '-c' command
> > > > line option. However it's now a more general problem/question.
> > > >
> > > > Whenever I add a '-c command' (or a '+ command', or a '-g NNN') to the
> > > > command line vile opens two windows, the file I want is in the first
> > > > window and the following is in the second (lower) window:-
> > > >
> > > > [Reading /home/chris/.vilerc]
> > >
> > > perhaps your .vilerc doesn't set nopopup-msgs (or sets popup-msgs)
> > >
> > My .vilerc is:-
> >
> >
> ...
> > source digraphs.rc
> >
> > But it's happenning before reading .vilerc isn't it?
>
> no - it's happening because of the warning message:
>
> * If no warning messages were encountered during startup, and the popup-msgs
> * mode wasn't enabled, discard the informational messages that are there
> * already.
>
> you could do this
>
> vile -c goto-end-of-file
>
Ah! Thank you, that does what I need.
However I'm still a little confused, when you say "it's happening
because of the warning message", am I getting a warning message? If
so, what is it? ... and can I stop it?
Are you saying that "source digraphs.rc" is causing it?
... I've had a boozy supper just now on my birthday today so apologies
for confused/confusing replies. :-)
--
Chris Green