delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/03/04/08:36:05

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94CD93857007
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1677936923;
bh=lpDz6yWK8yK8LPaL2oDethBiRl6EmNMdZT6osq6m1z0=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=bN9pudng+qkkXFE1KFXWmN3Gzy6jtvrJWtfevhUcymfjj1ZmNolZTyNF98KMs5J3i
UX9EZJpN8zKHFvaM3jz4vsPBUFTPZT/ABtnQyRa7zKi3IQ9P2uvvASHMiiLzPZW99D
Y6b4wXbYcaU3MtMHGqvE6EwsKbOB5TUT1wZSCJ1w=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3636B3858D1E
X-Yandex-Fwd: 1
Date: Sat, 4 Mar 2023 16:21:28 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1135047136.20230304162128@yandex.ru>
To: Kirill Frolov <frolovkirill7 AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Nano fails to open file "~/.bashrc".
In-Reply-To: <caa7e9ab-bc9f-9336-2e88-ef06e1df9384@gmail.com>
References: <0de2dd08-f532-0c21-3685-5fc7e86ef8ee AT gmail DOT com>
<165153627 DOT 20230303154721 AT yandex DOT ru>
<9abd4f0c-3c51-1626-59d7-f6b65891c99d AT gmail DOT com>
<1901530338 DOT 20230303183108 AT yandex DOT ru>
<caa7e9ab-bc9f-9336-2e88-ef06e1df9384 AT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Kirill Frolov!

> $ which nano
> /cygdrive/c/Program Files/Git/usr/bin/nano

That explains it. Cygwin does not install nano by default.
Fire up your setup.exe and install it, that will fix your issue.
As for the future, I suggest to patch your ~/.profile and exclude
unnecessary/conflicting directories from $PATH.
Something along the lines of

PATH="$(tr ":" "\\n" <<<"$PATH" | grep -v /Windows/ | tr "\\n" ":")" export PATH


-- 
With best regards,
Andrey Repin
Saturday, March 4, 2023 16:14:34

Sorry for my terrible english...


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019