delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/03/12:57:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: new install of cygwin with pdksh doesn't work
References: <20001221210604 DOT 15109 DOT qmail AT web116 DOT yahoomail DOT com>
From: dkarr AT tcsi DOT com (David M. Karr)
Date: 03 Jan 2001 09:53:41 -0800
In-Reply-To: Earnie Boyd's message of "Thu, 21 Dec 2000 13:06:04 -0800 (PST)"
Message-ID: <uypui4sesa.fsf@tcsi.com>
Lines: 54
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6
MIME-Version: 1.0

>>>>> "Earnie" == Earnie Boyd <earnie_boyd AT yahoo DOT com> writes:
  Earnie> --- "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> wrote:
  >> 
  >> >I guess this means that the default mode for unmapped directories is
  >> >"text" on my original installation, and "binary" for the second
  >> >installation.  Since directories like "d:/dmk" (my home directory) are
  >> >not covered by the original mount table, I would get the default.
  >> 
  >> You should be able to reset your default mode for unmapped drives using
  >> the --change-cygdrive-prefix setting for mount but specify the "-t" flag
  >> too.  I haven't tried this myself so I don't know if it actually works.

  Earnie> If you chose the "Everyone" radio button, add a -s to that.

  >> >So, when I install it again, if I select the "DOS" text file type, I
  >> >won't have to add this mount to get files on the "D:/" drive to use
  >> >DOS text file mode, correct?
  >> 
  >> Right.
  >> 
  >> >What exactly in the "cygcheck" output (or any other place, for that
  >> >matter) tells me what the default text file type is?
  >> 
  >> Nothing.  cygcheck doesn't output that yet.

  Earnie> That's not true.  The output of the registry data can tell you.  0x00000020 is
  Earnie> text mode 0x00000022 is binary mode.

Sorry for needing to rehash this, but could someone tell me EXACTLY
what I need to execute to permanently change the default text file
type to DOS?  I've tried numerous variations of what's described here,
and I can't get it to work on a third installation of this (where the
user neglected to select "DOS" on the initial install).

I've tried the following:

mount -ts --change-cygdrive-prefix /cygdrive
mount -ts --change-cygdrive-prefix /d
mount -t --change-cygdrive-prefix /d

These all just echo the usage message.

After the following:

      mount -t d: /d

I get "mount: warning - /d does not exist".  Doing "mount" after this
shows a new mount entry in textmode, but running "ksh" still gets the
usual error.

-- 
===================================================================
David M. Karr     ; w:(425)487-8312     ; TCSI & Best Consulting
dkarr AT tcsi DOT com    ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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