How to preserve capital letter
Hi all,
I'm not sure whether it is dosemu related, but I've got this situation:
I'm sharing a clipper program with samba, and then user access it using dosemu installed in each workstation.
The program runs fine, except, when it creates a temporary file, it creates the filename in small letter (not in capital letter when run in DOS). Seems that the program is having trouble with this filename differences.
Can anyone give a clue?
Thanks
Signature · 8 lines
Fajar Priyanto | Reg'd Linux User #327841 | http://linux2.arinet.org 11:18:54 up 48 min, 2.6.11-1.1369_FC4 GNU/Linux public key: https://www.arinet.org/fajar-pub.key -- Fajar Priyanto | Reg'd Linux User #327841 | http://linux2.arinet.org 13:04:10 up 1:17, 2.6.11-1.1369_FC4 GNU/Linux public key: https://www.arinet.org/fajar-pub.key
Quoted 8 lines · Fajar Priyanto
Hi all,
I'm not sure whether it is dosemu related, but I've got this situation:
I'm sharing a clipper program with samba, and then user access it using dosemu installed in each workstation.The program runs fine, except, when it creates a temporary file, it creates the filename in small letter (not in capital letter when run in DOS). Seems that the program is having trouble with this filename differences.
I don;t understand some things, if you could be more descriptive it would help. I currently know nothing about your system, how you are using samba, from where is this filename problem, etc.
Quoted 13 lines · Justin Zygmont
Quoted 2 lines · Fajar Priyanto
Hi all,
I'm not sure whether it is dosemu related, but I've gotthis situation:
Quoted 1 line
I'm sharing a clipper program with samba, and then user
access it using dosemu
Quoted 3 lines
installed in each workstation.
The program runs fine, except, when it creates a
temporary file, it creates
Quoted 1 line
the filename in small letter (not in capital letter when
run in DOS). Seems
Quoted 8 lines
Quoted 1 line
that the program is having trouble with this filename
differences.
I don;t understand some things, if you could be more descriptive it would
help. I currently know nothing about your system, how you are using
samba, from where is this filename problem, etc.
The problem isn't Samba, it's the Windows client.
DOS/Win (Win31/9x/Me) writes filenames that conform to 8.3 name/extension (or less) in a case-insensitive way that Samba _must_ honor for compatibility with how native Windows servers also work.
NT/Win (NT4/200x/XP) always preserves filename case, regardless of name/extension length. No issues will arise on the part of Samba which emulates Windows servers.
-- Bryan
P.S. Consider using XDosEmu and running Cygwin/X on the Windows clients _instead_ of going over a SMB share. Not only will you _avoid_ these stupid SMB client-caused issues, but you'll avoid locking problems as well. ;->
Signature · 3 lines
Bryan J. Smith | Sent from Yahoo Mail mailto:[email protected] | (please excuse any http://thebs413.blogspot.com/ | missing headers)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · you
Hi!
That's not a dosemu problem, but a problem of samba configuration.Use:
default case = upper
case sensitive = no
preserve case = no
Quoted 5 lines
in
/etc/samba/samba.confHTH
Claudia
Many thanks Claudia :)
Signature · 3 lines
Fajar Priyanto | Reg'd Linux User #327841 | http://linux2.arinet.org 14:20:54 up 58 min, 2.6.11-1.1369_FC4 GNU/Linux public key: https://www.arinet.org/fajar-pub.key