public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* filenames with BANG
@ 2011-11-16 23:46 pen
  2011-11-16 23:49 ` filenames with HASH pen
  0 siblings, 1 reply; 5+ messages in thread
From: pen @ 2011-11-16 23:46 UTC (permalink / raw)
  To: cygwin


Need help, Cant access html file from lynx, even though its readable by other
commands. 

$ ls -l "test bay#, wwid" 
-rw-r--r--+ 1 test Users 50999 Nov 17 03:22 test bay#, wwid 
$ file "test bay#, wwid" 
test bay#, wwid: HTML document, ASCII text, with very long lines 
$ head -2 "test bay#, wwid" 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 
> 
$ lynx -dump "test bay#, wwid" 

Can't Access `file://localhost/cygdrive/e/test%20bay#,%20wwid' 
Alert!: Unable to access document. 

lynx: Can't access startfile 

Played around and found that if i create any file with "#, " lynx cant
understand it. 

Appreciate your help. 

-- 
View this message in context: http://old.nabble.com/filenames-with-BANG-tp32858508p32858508.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* 3.Using Cygwin, Special filenames, Invalid filenames
@ 2011-01-28 11:13 Masaki_Takasu
  2011-01-28 11:41 ` Csaba Raduly
  0 siblings, 1 reply; 5+ messages in thread
From: Masaki_Takasu @ 2011-01-28 11:13 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]

Hello;

Cygwin1.7.7 has a problem that incorrect to interpret the files created by Macintosh.

Steps
(1) Create a '"' in name of a file using Macintosh.(Mac OS X 10.6.6)
(2) To transfer file(created at step (1)) to Windows from Macintosh by SMB protocol.
(3) '"' in name of a file is converted to Unicode 0xF020 according to SMB protocol.
(4) To verify the file transferred to Windows using Cygwin "ls"command. 
(5) Cygwin interprets Unicode 0xF020 as ' '(Spaces) in name of a file.

  ※ Character conversion table mapping code in SMB protocol
     References   http://support.microsoft.com/kb/q117258/ 

     Macintosh ANSI  Unicode 
     -------------------------------- 
     0x01-0x1F       0xF001-0xF01F 
     "               0xF020 
     *               0xF021 
     /               0xF022 
     <               0xF023 
     >               0xF024 
     ?               0xF025 
     \               0xF026 
     |               0xF027

Thanks.

---
Masaki_Takasu
  mailto:takasu_masaki@soarsystem.co.jp
---

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 27857 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-16 23:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-16 23:46 filenames with BANG pen
2011-11-16 23:49 ` filenames with HASH pen
  -- strict thread matches above, loose matches on Subject: below --
2011-01-28 11:13 3.Using Cygwin, Special filenames, Invalid filenames Masaki_Takasu
2011-01-28 11:41 ` Csaba Raduly
2011-01-28 11:45   ` Corinna Vinschen
2011-11-16 23:35     ` filenames with BANG pen
2011-11-16 23:45       ` Eric Blake
2011-11-16 23:47         ` pen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).