X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 31 Dec 2009 14:22:25 +0000 Message-ID: <7fad5fa0912310622g2b028422n264693a6113fb3b9@mail.gmail.com> Subject: 1.7.1 - Text editing doesn't work as Administrator in Win7 Pro x64 From: Asim Ihsan To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, As a regular non-privileged user, I'm able to edit text files using vi/vim/nano when inside the command prompt launched by "cygwin.bat". However, when I launch "cygwin.bat" as an administrator there is no text displayed for files in nano, and the directional keys in vi/vim do not work; on pressing a direction key nothing happens and after about one second the system bell sound is heared. Through the use of Sysinternals Process Monitor, I think the problem is related to cygwin, running as administor, being unable to create certain files. I've determined that, as administrator, vi/vim is unable to create the necessary temporary swap files it needs in C:\cygwin, and nano is unable to create the necessary .nanorc file it needs in c:\cygwin. I can provide the output from Process Monitor if required. Does anyone know how I can resolve texting editing in cygwin 1.7.1 when it is run with administrator privileges, or how I can determine why my current setup is broken? Please let me know what additional info I can give. Thanks, Asim -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple