Sender: demmer AT BvB DOT LStM DOT Ruhr-Uni-Bochum DOT De Message-Id: <3207311E.3359@LSTM.Ruhr-UNI-Bochum.De> Date: Tue, 06 Aug 1996 12:48:46 +0100 From: Thomas Demmer Organization: Lehrstuhl fuer Stroemungsmechanik Mime-Version: 1.0 To: djgpp AT delorie DOT com Subject: NetBIOS Names Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, in networking, it is quite usual to access ressources with their NetBIOS names. For example \\brain1/usr/home/demmer/plan This naming convention is what Windows understands and what DOS returns if I say map root i:=usr:home # Netware specific truename i:\demmer\plan Now, DJGPP does not support this naming conventions. This is somewhat annoying, because for a lot of programs it is possible to set an environment variable which tells them where to find config files in a neat way without having to fiddle around with mapping drives and surely breaking some- thing. I just say something like SET AXUM=\\brain1/usr/home/demmer/axum/axumpath.dft (actually I say SET AXUMPATH=%~%/axum/axumpath.dft) and it works fine. I have hacked _fixpath() to recognize these names. From the few routines that use it I just checked acccess(), opendir() open() it works fine. What will for sure break is splitpath() and alikes. Is there any interest in generally incorporating this into libc, or is this just my personal pleasure? Or is even somebody thinking about the same? -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * Voice/Fax Box: +49 2561 91371 2056 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************