X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C87193857815
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=moss@cs.umass.edu
Subject: Re: Trouble with setting ini files : gnuplot and vi
To: Fergus Daly <fergusd84@outlook.com>,
        "'cygwin@cygwin.com'" <cygwin@cygwin.com>
References: <DB6PR03MB301372308688E730EC57E2F3A4C00@DB6PR03MB3013.eurprd03.prod.outlook.com>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <36027e5f-1240-8660-28c3-7e2aa855c2c8@cs.umass.edu>
Date: Mon, 21 Dec 2020 09:07:25 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
 Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <DB6PR03MB301372308688E730EC57E2F3A4C00@DB6PR03MB3013.eurprd03.prod.outlook.com>
Content-Language: en-US
X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: moss@cs.umass.edu
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On 12/21/2020 8:36 AM, Fergus Daly via Cygwin wrote:
> Despite best efforts I cannot find a way of setting user preferences for vi (e.g. preferred syntax-sensitive settings)
> and gnuplot (e.g. preferred line colours / thickness).
> I have tried editing /etc/vimrc, /etc/virc for vi; and /etc/X11/app-defaults/Gnuplot for gnuplot accordingly.
> (I use gnuplot-x11.) No change from standard representation.
> Any ideas?

The first thing I would check is whether you have an individual ~/.virc or ~/.gnuplot file that is 
overriding the settings of interest.  For gnuplot, at least, the man page says that its "show 
loadpath" command will indicate where it looks for gnuplotrc.  On my system that is 
/usr/share/gnuplot/5.4/.  Since my gnuplot offers x11 for "set term", I think I'm looking at the 
right thing, but if gnuplot-x11 is truly different, then maybe try the "show loadpath" command for 
it.  I don't have vi installed (only vim) so I can't speak to that.

The next thing I would check are the various permissions, to make sure the program can actually read 
the file(s) in question.

Maybe you have done all this, in which case I'm sorry my ideas were not helpful ...

Best wishes - Eliot Moss
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
