[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Always get two windows when using -c
From: |
Thomas Dickey |
Subject: |
Re: Always get two windows when using -c |
Date: |
Sun, 13 Nov 2022 19:16:43 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun, Nov 13, 2022 at 09:55:18PM +0000, Chris Green wrote:
> 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?
The error message was this -
"/home/chris/wiki/data/pages/boating/diary/2011/05/20.txt"]
[Not that many lines in buffer: 20]
>
> Are you saying that "source digraphs.rc" is causing it?
no :-
> ... I've had a boozy supper just now on my birthday today so apologies
> for confused/confusing replies. :-)
>
> --
> Chris Green
>
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature