Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

/usr/news/gotcha


devel / comp.unix.shell / How to disable colors in vi (vim) editor on Linux (or WSL)?

SubjectAuthor
* How to disable colors in vi (vim) editor on Linux (or WSL)?James
+* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Keith Thompson
|+- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?James
|`* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Eli the Bearded
| +- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Kenny McCormack
| `- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Keith Thompson
+- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Ottavio Caruso
+- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Spiros Bousbouras
+* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Javier
|`* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Janis Papanagnou
| +- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Javier
| `- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Christian Weisgerber
`* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Chris Elvidge
 `* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Kenny McCormack
  +- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Andreas Kohlbach
  `* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Lewis
   `* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Dan Espen
    +* Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Javier
    |`- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Dan Espen
    `- Re: How to disable colors in vi (vim) editor on Linux (or WSL)?Lewis

1
How to disable colors in vi (vim) editor on Linux (or WSL)?

<b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4958&group=comp.unix.shell#4958

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:620a:430d:: with SMTP id u13mr441996qko.286.1644955982928;
Tue, 15 Feb 2022 12:13:02 -0800 (PST)
X-Received: by 2002:a05:620a:12d9:: with SMTP id e25mr161692qkl.375.1644955982755;
Tue, 15 Feb 2022 12:13:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Tue, 15 Feb 2022 12:13:02 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=104.34.107.228; posting-account=hymNdgoAAAA3VQM_RIwplrWVqXsleVGC
NNTP-Posting-Host: 104.34.107.228
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Subject: How to disable colors in vi (vim) editor on Linux (or WSL)?
From: hslee...@yahoo.com (James)
Injection-Date: Tue, 15 Feb 2022 20:13:02 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: James - Tue, 15 Feb 2022 20:13 UTC

All I want is white on dark background or vise versa.

Thanks
James

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<87iltfkh3a.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4959&group=comp.unix.shell#4959

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Tue, 15 Feb 2022 12:30:49 -0800
Organization: None to speak of
Lines: 9
Message-ID: <87iltfkh3a.fsf@nosuchdomain.example.com>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="260a4baa6532ce1fe41858f912d59591";
logging-data="4123"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BqPdQ5bFekabJ+i4GuNAt"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:1sEPouUrKHo4T5KHNEsmF4q8eIo=
sha1:JWBMM+zuIn2ReRV8Ri8K2FKkMK8=
 by: Keith Thompson - Tue, 15 Feb 2022 20:30 UTC

James <hslee911@yahoo.com> writes:
> All I want is white on dark background or vise versa.

Try ":syntax off".

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<9ffb96b7-1c7c-42bc-82a5-fa42736bc407n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4960&group=comp.unix.shell#4960

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ad4:5963:: with SMTP id eq3mr760874qvb.74.1644958123986;
Tue, 15 Feb 2022 12:48:43 -0800 (PST)
X-Received: by 2002:a05:6214:e41:: with SMTP id o1mr708027qvc.81.1644958123801;
Tue, 15 Feb 2022 12:48:43 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Tue, 15 Feb 2022 12:48:43 -0800 (PST)
In-Reply-To: <87iltfkh3a.fsf@nosuchdomain.example.com>
Injection-Info: google-groups.googlegroups.com; posting-host=104.34.107.228; posting-account=hymNdgoAAAA3VQM_RIwplrWVqXsleVGC
NNTP-Posting-Host: 104.34.107.228
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com> <87iltfkh3a.fsf@nosuchdomain.example.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9ffb96b7-1c7c-42bc-82a5-fa42736bc407n@googlegroups.com>
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
From: hslee...@yahoo.com (James)
Injection-Date: Tue, 15 Feb 2022 20:48:43 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 10
 by: James - Tue, 15 Feb 2022 20:48 UTC

On Tuesday, February 15, 2022 at 12:30:56 PM UTC-8, Keith Thompson wrote:
> James writes:
> > All I want is white on dark background or vise versa.
> Try ":syntax off".
>
> --
> Keith Thompson (The_Other_Keith) Keith.S.T...@gmail.com
> Working, but not speaking, for Philips
> void Void(void) { Void(); } /* The recursive call of the void */

Thanks, it worked. Also added in ~/.vimrc

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<eli$2202151600@qaz.wtf>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4961&group=comp.unix.shell#4961

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *...@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Tue, 15 Feb 2022 21:00:21 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2202151600@qaz.wtf>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com> <87iltfkh3a.fsf@nosuchdomain.example.com>
Injection-Date: Tue, 15 Feb 2022 21:00:21 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="8715"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
 by: Eli the Bearded - Tue, 15 Feb 2022 21:00 UTC

In comp.unix.shell, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
> James <hslee911@yahoo.com> writes:
>> All I want is white on dark background or vise versa.
> Try ":syntax off".

That turns off syntax highlighting, but colors can still slip through
(I think search highlighting, for example).

I use ":set t_Co=0" to tell vim the terminal supports zero colors, then
it doesn't ever try to use them. If enabled, syntax highlighting falls
back to things like bold text.

Elijah
------
but usually disables syntax highlighting, too

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<suh88p$gp3f$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4962&group=comp.unix.shell#4962

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Tue, 15 Feb 2022 22:08:25 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <suh88p$gp3f$1@news.xmission.com>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com> <87iltfkh3a.fsf@nosuchdomain.example.com> <eli$2202151600@qaz.wtf>
Injection-Date: Tue, 15 Feb 2022 22:08:25 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="549999"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Tue, 15 Feb 2022 22:08 UTC

In article <eli$2202151600@qaz.wtf>,
Eli the Bearded <*@eli.users.panix.com> wrote:
....
>I use ":set t_Co=0" to tell vim the terminal supports zero colors, then
>it doesn't ever try to use them. If enabled, syntax highlighting falls
>back to things like bold text.

That's really neat! I've long been frustrated by the fact that syntax
highlighting looks like junk on the default terminal setup on the RPi.

I really like syntax highlighting, so I don't want to turn it off, and I
usually use GVIM, wherein the colors are handled right and it is very
pretty, but in the terminal, it is junk.

I note, incidentally, that you can't put this in a modeline (it complains),
but you can do:

$ vim -c 'set t_Co=0' file

and it works nicely.

--
Modern Conservative: Someone who can take time out from flashing her
wedding ring around and bragging about her honeymoon to complain that a
fellow secretary who keeps a picture of her girlfriend on her desk is
"flauting her sexuality" and "forcing her lifestyle down our throats".

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<87ee43k7r1.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4963&group=comp.unix.shell#4963

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Tue, 15 Feb 2022 15:52:34 -0800
Organization: None to speak of
Lines: 19
Message-ID: <87ee43k7r1.fsf@nosuchdomain.example.com>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<87iltfkh3a.fsf@nosuchdomain.example.com> <eli$2202151600@qaz.wtf>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="26d26228f254bbe732694c21ab40db7a";
logging-data="16287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19B8NVfjXNl3z11a5gxthnG"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:b4OyCDHM5t6kmcwySKUhsQufJE0=
sha1:jZ3n5ngStzRXwQQO2FLxaAaKknY=
 by: Keith Thompson - Tue, 15 Feb 2022 23:52 UTC

Eli the Bearded <*@eli.users.panix.com> writes:
> In comp.unix.shell, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>> James <hslee911@yahoo.com> writes:
>>> All I want is white on dark background or vise versa.
>> Try ":syntax off".
>
> That turns off syntax highlighting, but colors can still slip through
> (I think search highlighting, for example).
>
> I use ":set t_Co=0" to tell vim the terminal supports zero colors, then
> it doesn't ever try to use them. If enabled, syntax highlighting falls
> back to things like bold text.

":help termcap-options" for more information.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<suiar5$74m$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4967&group=comp.unix.shell#4967

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ottavio2...@yahoo.com (Ottavio Caruso)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Wed, 16 Feb 2022 07:58:29 +0000
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <suiar5$74m$1@dont-email.me>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 16 Feb 2022 07:58:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d5765d36223cfcf0213be71a7d83cb96";
logging-data="7318"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/L5Qk1AlWaIiRury/W3AuXfv4FkJd2+o8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.0.3
Cancel-Lock: sha1:Vhjp6xvw0jJtgBpKlDNC1OsU1+4=
X-No-Archive: yes
In-Reply-To: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Content-Language: en-GB
 by: Ottavio Caruso - Wed, 16 Feb 2022 07:58 UTC

Le 15/02/22 à 20:13, James a écrit :
> All I want is white on dark background or vise versa.
>
> Thanks
> James
>

I don't know if it's only me, but if I save the file as .txt, the syntax
highlighting is off.

--
Ottavio Caruso

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<=4De7IaaPaAYVCjPe@bongo-ra.co>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=4968&group=comp.unix.shell#4968

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: spi...@gmail.com (Spiros Bousbouras)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Wed, 16 Feb 2022 17:00:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <=4De7IaaPaAYVCjPe@bongo-ra.co>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 16 Feb 2022 17:00:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="237f8c39a37a2f5f7c4aeba4fdf20e22";
logging-data="23189"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19W4tZyKY4wU23Sd9OrffDR"
Cancel-Lock: sha1://KmCMYQ53aJY/7mF4e6gsezo6c=
In-Reply-To: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
X-Organisation: Weyland-Yutani
 by: Spiros Bousbouras - Wed, 16 Feb 2022 17:00 UTC

On Tue, 15 Feb 2022 12:13:02 -0800 (PST)
James <hslee911@yahoo.com> wrote:
> All I want is white on dark background or vise versa.

For future reference , comp.editors is more appropriate for this kind
of question.

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<S_OdncuPtrOCZ7b_nZ2dnUU7-evNnZ2d@brightview.co.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5015&group=comp.unix.shell#5015

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 11 Mar 2022 19:40:47 -0600
From: inva...@invalid.invalid (Javier)
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Newsgroups: comp.unix.shell
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Message-ID: <S_OdncuPtrOCZ7b_nZ2dnUU7-evNnZ2d@brightview.co.uk>
Date: Fri, 11 Mar 2022 19:40:47 -0600
Lines: 7
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-UqgQ2D5keeIDQmaOXkAmu5gS4cqWUK7dG0aU2dl3nqDRgSa4mX0eNd3xmRJKnQlifxI0RZSWYSfp0dG!Crq9xZO/Lt4X1QHQAZrsJ4/fsMY34hXa6pcwUM8BFyOhrqz9XzYskh4WYC+gzYPVPRuEW2P2UA1z!08DD14Kd8+tLgYTzLRIoTxDgVg==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1115
 by: Javier - Sat, 12 Mar 2022 01:40 UTC

James <hslee911@yahoo.com> wrote:
> All I want is white on dark background or vise versa.

Just make vi (or any other program) believe that you are working in an
old monochrome terminal.

TERM=vt220 vi

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<t0h9gm$m1a$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5016&group=comp.unix.shell#5016

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Sat, 12 Mar 2022 06:02:14 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <t0h9gm$m1a$1@dont-email.me>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<S_OdncuPtrOCZ7b_nZ2dnUU7-evNnZ2d@brightview.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Mar 2022 05:02:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="40e0064aba3bfbeeea3d4c7cbeb68dcc";
logging-data="22570"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1BJXV2ZwPxZ3by/kuXY07"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:7KLzMXTQZLezTblso+iFD9Qdtdo=
In-Reply-To: <S_OdncuPtrOCZ7b_nZ2dnUU7-evNnZ2d@brightview.co.uk>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Sat, 12 Mar 2022 05:02 UTC

On 12.03.2022 02:40, Javier wrote:
> James <hslee911@yahoo.com> wrote:
>> All I want is white on dark background or vise versa.
>
> Just make vi (or any other program) believe that you are working in an
> old monochrome terminal.
>
> TERM=vt220 vi

I recall from former times that a generic term (pun not intended) for
the terminal identifier was 'dumb' (TERM=dumb vi). I just tried and
noticed that it works but (e.g.) using the arrow keys for navigation
would not be possible any more (as opposed to using vt100 or similar),
so you'd have to use HJKL. - Are there such side effects for mimicking
any VT terminal? - If so, the syntax-deactivation would be preferable.

Janis

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<7KednaSqGscs87H_nZ2dnUU7-enNnZ2d@brightview.co.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5017&group=comp.unix.shell#5017

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 12 Mar 2022 03:58:09 -0600
From: inva...@invalid.invalid (Javier)
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Newsgroups: comp.unix.shell
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com> <S_OdncuPtrOCZ7b_nZ2dnUU7-evNnZ2d@brightview.co.uk> <t0h9gm$m1a$1@dont-email.me>
Message-ID: <7KednaSqGscs87H_nZ2dnUU7-enNnZ2d@brightview.co.uk>
Date: Sat, 12 Mar 2022 03:58:09 -0600
Lines: 22
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-xBp2GHSVi3x/rbgVLcm7Z/V58xix2ttGYib6mvuPWs5i7Z5MSfiy+oPeQPGWuahHQU27qC/L6hnp9QG!fGpSpS8uWJmK3yYINImVH0+ewGIFu5fjQHjD2AOVo8Gxeq4hW26ImTMPTTewsu2UNAcbpTR4HGLE!PE8p+wjr5HG1cqSGGoqKcTABRw==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2043
 by: Javier - Sat, 12 Mar 2022 09:58 UTC

Janis Papanagnou <janis_papanagnou@hotmail.com> wrote:
> On 12.03.2022 02:40, Javier wrote:
>> James <hslee911@yahoo.com> wrote:
>>> All I want is white on dark background or vise versa.
>>
>> Just make vi (or any other program) believe that you are working in an
>> old monochrome terminal.
>>
>> TERM=vt220 vi
>
> I recall from former times that a generic term (pun not intended) for
> the terminal identifier was 'dumb' (TERM=dumb vi). I just tried and
> noticed that it works but (e.g.) using the arrow keys for navigation
> would not be possible any more (as opposed to using vt100 or similar),
> so you'd have to use HJKL. - Are there such side effects for mimicking
> any VT terminal? - If so, the syntax-deactivation would be preferable.

With TERM=vt220 all keys should be working. With something older
like 'TERM=vt100 vi' you would be missing 'Page Up/Page Down' keys.

That's why I used TERM=vt220 in my former message, as it is more modern
(from year 1990) and had more features than vt100 (like Page Up/Page Down).

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<slrnt2q248.2hn3.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5018&group=comp.unix.shell#5018

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: nad...@mips.inka.de (Christian Weisgerber)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Sat, 12 Mar 2022 20:54:32 -0000 (UTC)
Message-ID: <slrnt2q248.2hn3.naddy@lorvorc.mips.inka.de>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<S_OdncuPtrOCZ7b_nZ2dnUU7-evNnZ2d@brightview.co.uk>
<t0h9gm$m1a$1@dont-email.me>
Injection-Date: Sat, 12 Mar 2022 20:54:32 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="83684"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Sat, 12 Mar 2022 20:54 UTC

On 2022-03-12, Janis Papanagnou <janis_papanagnou@hotmail.com> wrote:

>> TERM=vt220 vi
>
> I recall from former times that a generic term (pun not intended) for
> the terminal identifier was 'dumb' (TERM=dumb vi). I just tried and
> noticed that it works but (e.g.) using the arrow keys for navigation
> would not be possible any more (as opposed to using vt100 or similar),

Traditionally, a "dumb" terminal has the features of a teletype or
such:

$ TERM=dumb infocmp
# Reconstructed via infocmp from file: /usr/share/terminfo/d/dumb
dumb|80-column dumb tty,
am,
cols#80,
bel=^G, cr=^M, cud1=^J, ind=^J,

In particular, it does not support arbitrary cursor positioning.
vi(1) is not usable with it, although ex(1) is.

> so you'd have to use HJKL. - Are there such side effects for mimicking
> any VT terminal? - If so, the syntax-deactivation would be preferable.

It's not what you had in mind, but there were VT terminals before
the VT100. The control sequences of the VT52 are not compatible
with the VT100 et seq.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<t0klig$j7j$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5019&group=comp.unix.shell#5019

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chr...@mshome.net (Chris Elvidge)
Newsgroups: comp.unix.shell
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Sun, 13 Mar 2022 11:46:24 +0000
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <t0klig$j7j$2@dont-email.me>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 13 Mar 2022 11:46:25 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d9c9dde14aaae3f1d46025b68cf61c6f";
logging-data="19699"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EMddLwOljsJ4NY5o2wDYYBoUryCDLFp4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.2.1 Lightning/5.4
Cancel-Lock: sha1:DNTUQdJ5jlSCdxmk2fa7EsOfZws=
In-Reply-To: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
Content-Language: en-GB
 by: Chris Elvidge - Sun, 13 Mar 2022 11:46 UTC

On 15/02/2022 20:13, James wrote:
> All I want is white on dark background or vise versa.
>
> Thanks
> James
>

Put 'syntax off' at the end of your .vimrc file.

--
Chris Elvidge
England

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<t0l1ri$1j650$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5020&group=comp.unix.shell#5020

  copy link   Newsgroups: comp.unix.shell comp.editors
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell,comp.editors
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Sun, 13 Mar 2022 15:16:02 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <t0l1ri$1j650$1@news.xmission.com>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com> <t0klig$j7j$2@dont-email.me>
Injection-Date: Sun, 13 Mar 2022 15:16:02 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1677472"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Sun, 13 Mar 2022 15:16 UTC

In article <t0klig$j7j$2@dont-email.me>,
Chris Elvidge <chris@mshome.net> wrote:
>On 15/02/2022 20:13, James wrote:
>> All I want is white on dark background or vise versa.
>>
>> Thanks
>> James
>>
>
>Put 'syntax off' at the end of your .vimrc file.

Or just turn the computer off. (I.e., turning syntax off is about as
stupid as turning the whole computer off).

Anyway, this question was recently raised and answered - in a slightly
different guise, but the same basic question - in one or the other of these
newsgroups - I think either this one (shell) or comp.editors. And the
answer, provided, I think, by Mr. Elijah, was to do:

set t_Co=0

This tells vim that your terminal has zero colors. You still get syntax
highlighting (which is key), but it is all done with shades of black,
white, and grey.

I find this useful - and have an alias of:

alias vi='vim -c "set t_Co=0"'

in my LXDE windows. Because for some reason, the combination of LXDE's
default color scheme (white on black) and VIM's color scheme for syntax
highlighting (particularly, for shell scripts) is horrid.

--
"If our country is going broke, let it be from feeding the poor and caring for
the elderly. And not from pampering the rich and fighting wars for them."

--Living Blue in a Red State--

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<878rtdbxz2.fsf@usenet.ankman.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5021&group=comp.unix.shell#5021

  copy link   Newsgroups: comp.unix.shell comp.editors
Followup: comp.editors
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ank...@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.unix.shell,comp.editors
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Followup-To: comp.editors
Date: Sun, 13 Mar 2022 12:48:01 -0400
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <878rtdbxz2.fsf@usenet.ankman.de>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<t0klig$j7j$2@dont-email.me> <t0l1ri$1j650$1@news.xmission.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="5f20fb4e86d5b878c62ed778a29bfdff";
logging-data="2705"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oZbyFmB6mAhQtWGKzjz9w"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:csYr4+8m7dzigxg5qU689HZkVP4=
sha1:RWHJorrBoDBshhobjtJMIkq9oWg=
X-No-Archive: Yes
 by: Andreas Kohlbach - Sun, 13 Mar 2022 16:48 UTC

On Sun, 13 Mar 2022 15:16:02 -0000 (UTC), Kenny McCormack wrote:
>
> In article <t0klig$j7j$2@dont-email.me>,
> Chris Elvidge <chris@mshome.net> wrote:
>>On 15/02/2022 20:13, James wrote:
>>> All I want is white on dark background or vise versa.
>>>
>>Put 'syntax off' at the end of your .vimrc file.
>
> Or just turn the computer off. (I.e., turning syntax off is about as
> stupid as turning the whole computer off).

With highlighting it looks bad on my greyscale CRT. ;-)

But highlighting also consumes CPU time. That was noticed on a fairly
large text file.

| 'redrawtime' exceeded, syntax highlighting disabled

It also take about 3 seconds to loads. Irritating that parts of the text
has syntax highlighting, the other not.

Solution is

set re=0

to disable the regex machine. With that the large page loads in a flash.

F'up2 comp.editors
--
Andreas

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<slrnt2sea1.lth.g.kreme@zephyrus.local>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5022&group=comp.unix.shell#5022

  copy link   Newsgroups: comp.unix.shell comp.editors
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: comp.unix.shell,comp.editors
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Sun, 13 Mar 2022 18:34:41 -0000 (UTC)
Organization: Miskatonic U
Lines: 29
Message-ID: <slrnt2sea1.lth.g.kreme@zephyrus.local>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<t0klig$j7j$2@dont-email.me> <t0l1ri$1j650$1@news.xmission.com>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Sun, 13 Mar 2022 18:34:41 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="53c5e57dd5237f6a5cfaf8765e8495fa";
logging-data="898"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mM4+0jdWRLETsGRKwDRtV"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:f3c9qlHZ9bVixS9w0IXe5Qfy43U=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Sun, 13 Mar 2022 18:34 UTC

In message <t0l1ri$1j650$1@news.xmission.com> Kenny McCormack <gazelle@shell.xmission.com> wrote:
> In article <t0klig$j7j$2@dont-email.me>,
> Chris Elvidge <chris@mshome.net> wrote:
>>On 15/02/2022 20:13, James wrote:
>>> All I want is white on dark background or vise versa.
>>>
>>> Thanks
>>> James
>>>
>>
>>Put 'syntax off' at the end of your .vimrc file.

> Or just turn the computer off. (I.e., turning syntax off is about as
> stupid as turning the whole computer off).

> Anyway, this question was recently raised and answered - in a slightly
> different guise, but the same basic question - in one or the other of these
> newsgroups - I think either this one (shell) or comp.editors. And the
> answer, provided, I think, by Mr. Elijah, was to do:

> set t_Co=0

That will come in handy for those times where one particular color
(usually the dark blue) is unreadable my screen. I'd completely
forgotten about this setting but I did use it quite some time ago when I
had a greyscale 'page view' monitor.

--
Everybody knows the "secret sexy maid on the outside" trope.

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<t0lpec$jd6$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5027&group=comp.unix.shell#5027

  copy link   Newsgroups: comp.unix.shell comp.editors
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dan1es...@gmail.com (Dan Espen)
Newsgroups: comp.unix.shell,comp.editors
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Sun, 13 Mar 2022 17:58:33 -0400
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <t0lpec$jd6$1@dont-email.me>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<t0klig$j7j$2@dont-email.me> <t0l1ri$1j650$1@news.xmission.com>
<slrnt2sea1.lth.g.kreme@zephyrus.local>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="781bf8e100be4fbfee42c01e036e25a1";
logging-data="19878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aoq7MD/glZPxCTtT39pc+TnaxkkcRG1E="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:0kPsAhKrXv/t3g6sy0UKrBYu748=
 by: Dan Espen - Sun, 13 Mar 2022 21:58 UTC

Lewis <g.kreme@kreme.dont-email.me> writes:

> In message <t0l1ri$1j650$1@news.xmission.com> Kenny McCormack <gazelle@shell.xmission.com> wrote:
>> In article <t0klig$j7j$2@dont-email.me>,
>> Chris Elvidge <chris@mshome.net> wrote:
>>>On 15/02/2022 20:13, James wrote:
>>>> All I want is white on dark background or vise versa.
>>>>
>>>> Thanks
>>>> James
>>>>
>>>
>>>Put 'syntax off' at the end of your .vimrc file.
>
>> Or just turn the computer off. (I.e., turning syntax off is about as
>> stupid as turning the whole computer off).
>
>> Anyway, this question was recently raised and answered - in a slightly
>> different guise, but the same basic question - in one or the other of these
>> newsgroups - I think either this one (shell) or comp.editors. And the
>> answer, provided, I think, by Mr. Elijah, was to do:
>
>> set t_Co=0
>
> That will come in handy for those times where one particular color
> (usually the dark blue) is unreadable my screen. I'd completely
> forgotten about this setting but I did use it quite some time ago when I
> had a greyscale 'page view' monitor.

That dark blue is a hazard.
Depending on your terminal program you can get rid of it.
xterm and rxvt can be tuned with x-resources.
I use cornflowerblue instead.
Other terminals are pretty sure to have a way.
Just because the escape sequence sent to the terminal is asking for blue
doesn't mean the terminal has to display blue.

--
Dan Espen

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<e7CdncnkwrHpdrL_nZ2dnUU7-RWdnZ2d@brightview.co.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5032&group=comp.unix.shell#5032

  copy link   Newsgroups: comp.unix.shell comp.editors
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 14 Mar 2022 20:27:16 -0500
From: inva...@invalid.invalid (Javier)
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Newsgroups: comp.unix.shell,comp.editors
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com> <t0klig$j7j$2@dont-email.me> <t0l1ri$1j650$1@news.xmission.com> <slrnt2sea1.lth.g.kreme@zephyrus.local> <t0lpec$jd6$1@dont-email.me>
Message-ID: <e7CdncnkwrHpdrL_nZ2dnUU7-RWdnZ2d@brightview.co.uk>
Date: Mon, 14 Mar 2022 20:27:16 -0500
Lines: 15
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-5Y0cYCwiy7RVTHIPuqAzLU1zjkls9+uV29MunUCVHr4nf5ROqF3JQuz9EpvJXvgNWIvk5ieWrR1Ltt0!Eilul9BbD7TfeJQk5MvaKhQdWhE8Q9nQ+tvmsVEpjzWUPiudufCreqXzglB/JFh4fut9klBZ6qus!tW3r3LWTc0DzCUylk671dv9NIA==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1681
 by: Javier - Tue, 15 Mar 2022 01:27 UTC

In comp.unix.shell Dan Espen <dan1espen@gmail.com> wrote:
>
> That dark blue is a hazard.
> Depending on your terminal program you can get rid of it.
> xterm and rxvt can be tuned with x-resources.
> I use cornflowerblue instead.
> Other terminals are pretty sure to have a way.
> Just because the escape sequence sent to the terminal is asking for blue
> doesn't mean the terminal has to display blue.

I also get anoyed by the dark blue on black background. It's especially
common in the syntax highlighting in 'emacs -nw'.

Which is the X-resource for xterm that disables a specific color?
I never used that.

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<t0p2ct$6ve$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5034&group=comp.unix.shell#5034

  copy link   Newsgroups: comp.unix.shell comp.editors
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dan1es...@gmail.com (Dan Espen)
Newsgroups: comp.unix.shell,comp.editors
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Mon, 14 Mar 2022 23:49:47 -0400
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <t0p2ct$6ve$1@dont-email.me>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<t0klig$j7j$2@dont-email.me> <t0l1ri$1j650$1@news.xmission.com>
<slrnt2sea1.lth.g.kreme@zephyrus.local> <t0lpec$jd6$1@dont-email.me>
<e7CdncnkwrHpdrL_nZ2dnUU7-RWdnZ2d@brightview.co.uk>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="21df041f84eaf05a4989c2d019837be8";
logging-data="7150"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18j9c/ZduxDPljnOQTxYbCuC7zWABXoMiw="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:hHE1Mb+uzTB9hmw9kmaG7irJe9s=
 by: Dan Espen - Tue, 15 Mar 2022 03:49 UTC

Javier <invalid@invalid.invalid> writes:

> In comp.unix.shell Dan Espen <dan1espen@gmail.com> wrote:
>>
>> That dark blue is a hazard.
>> Depending on your terminal program you can get rid of it.
>> xterm and rxvt can be tuned with x-resources.
>> I use cornflowerblue instead.
>> Other terminals are pretty sure to have a way.
>> Just because the escape sequence sent to the terminal is asking for blue
>> doesn't mean the terminal has to display blue.
>
> I also get anoyed by the dark blue on black background. It's especially
> common in the syntax highlighting in 'emacs -nw'.
>
> Which is the X-resource for xterm that disables a specific color?
> I never used that.

Try this:

XTerm*color0: Black
XTerm*color1: Red
XTerm*color2: Green
XTerm*color3: Yellow
XTerm*color4: cornflowerBlue
XTerm*color5: Magenta
XTerm*color6: Cyan
XTerm*color7: White
XTerm*color8: gray
XTerm*color9: pink
XTerm*color10: YellowGreen
XTerm*color11: orange
XTerm*color12: turquoise
XTerm*color13: wheat
XTerm*color14: lightblue
XTerm*color15: tan

Rxvt accepts the "XTerm" resources.

--
Dan Espen

Re: How to disable colors in vi (vim) editor on Linux (or WSL)?

<slrnt310uf.2np8.g.kreme@zephyrus.local>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5035&group=comp.unix.shell#5035

  copy link   Newsgroups: comp.unix.shell comp.editors
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!kreme.dont-email.me!.POSTED!not-for-mail
From: g.kr...@kreme.dont-email.me (Lewis)
Newsgroups: comp.unix.shell,comp.editors
Subject: Re: How to disable colors in vi (vim) editor on Linux (or WSL)?
Date: Tue, 15 Mar 2022 12:17:19 -0000 (UTC)
Organization: Miskatonic U
Lines: 43
Message-ID: <slrnt310uf.2np8.g.kreme@zephyrus.local>
References: <b7277ec2-bdd8-4ab1-be3e-83cebc068f89n@googlegroups.com>
<t0klig$j7j$2@dont-email.me> <t0l1ri$1j650$1@news.xmission.com>
<slrnt2sea1.lth.g.kreme@zephyrus.local> <t0lpec$jd6$1@dont-email.me>
Reply-To: g.kreme@gmail.don-t-email-me.com
Injection-Date: Tue, 15 Mar 2022 12:17:19 -0000 (UTC)
Injection-Info: kreme.dont-email.me; posting-host="a10ebd91056a79d5e379d299c9abfae1";
logging-data="29163"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VlqmwxDKkQGeG1AyUSfWN"
User-Agent: slrn/1.0.3 (Darwin)
Cancel-Lock: sha1:enKxT/9AduGljsBeFNUubj5ho7A=
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
X-Clacks-Overhead: GNU Terry Pratchett
Mail-Copies-To: nobody
 by: Lewis - Tue, 15 Mar 2022 12:17 UTC

In message <t0lpec$jd6$1@dont-email.me> Dan Espen <dan1espen@gmail.com> wrote:
> Lewis <g.kreme@kreme.dont-email.me> writes:

>> In message <t0l1ri$1j650$1@news.xmission.com> Kenny McCormack <gazelle@shell.xmission.com> wrote:
>>> In article <t0klig$j7j$2@dont-email.me>,
>>> Chris Elvidge <chris@mshome.net> wrote:
>>>>On 15/02/2022 20:13, James wrote:
>>>>> All I want is white on dark background or vise versa.
>>>>>
>>>>> Thanks
>>>>> James
>>>>>
>>>>
>>>>Put 'syntax off' at the end of your .vimrc file.
>>
>>> Or just turn the computer off. (I.e., turning syntax off is about as
>>> stupid as turning the whole computer off).
>>
>>> Anyway, this question was recently raised and answered - in a slightly
>>> different guise, but the same basic question - in one or the other of these
>>> newsgroups - I think either this one (shell) or comp.editors. And the
>>> answer, provided, I think, by Mr. Elijah, was to do:
>>
>>> set t_Co=0
>>
>> That will come in handy for those times where one particular color
>> (usually the dark blue) is unreadable my screen. I'd completely
>> forgotten about this setting but I did use it quite some time ago when I
>> had a greyscale 'page view' monitor.

> That dark blue is a hazard.
> Depending on your terminal program you can get rid of it.

Oh, on MY terminal it's not a problem, but I am often using other
people's computers when I am trying to fix them, and changing the colors
every time is just annoying.

Also, my terminal is iTerm2, and on others machines I am in the Mac's
default Terminal.app, so there I would have to remember how to change
the color and then change the color.

--
I'm from a predominately black family --Eddie Murphy

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor