source: trunk/third/cns/src/include/ren.msg @ 8789

Revision 8789, 5.2 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8788, which included commits to RCS files with non-trunk default branches.
Line 
1Subject: Kerberos file renaming for short DOS names
2Date: Tue, 19 Apr 1994 13:34:28 -0700
3From: John Gilmore <gnu@cygnus.com>
4
5[edited since sending, to bring it up to date with what actually happened.]
6
7I'd like to come up with some file naming and configuration
8conventions that will work in DOS, Unix, and Mac environments.  At
9Cygnus, we are creating a single freely available K4 source tree that
10works on many Unixes, Windows, and Mac.  It currently works on Unixes.
11(To get a copy, send mail to info@cygnus.com requesting our Kerberos
12release.  It's in a hidden FTP location due to export control.)
13
14My plan, which we have used successfully in the GNU software, is to
15make sure that all filenames are unique if you take the first 8 chars
16and the first 3 after the dot.  No files have more than a single dot
17in them.  We don't restrict file names to just 8.3 characters, since
18doing so would impact readability for the (99.9%) of the developers
19who are on Unix or Mac, where long file names are fine.
20
21There's an additional complication that names longer than 14
22characters present problems to old System V Unix and to `ar' on Unix.
23DJ Delorie's excellent `doschk' program points out all these problems.
24(ftp:/prep.ai.mit.edu/pub/gnu/doschk-1.1.tar.gz).
25
26Here's my proposal for the include directory.  The largest bunch are config
27files only referenced from osconf.h.  These I renamed freely to be more
28indicative of what they're actually for.  Four files were unused.  The
29only truly painful rename would be <mit-copyright.h>, which truncates fine
30to <mit-copy.h> for DOS, but is 15 characters and blows System V.  I
31opted to leave it that way anyway, since it is a completely symbolic file
32and contains no code or definitions anyway.
33
34  MIT K4 patch10        MIT K4 PC       PROPOSED NAME   (trunc to 8.3)  old Cyg
35$1     $2               $3              $4              $5              $6
36
37@ addr_comp.h           addrcomp.h      (gone)          (gone)
38@ -                     -               AddressXlation.h        addressx.h
39@ admin_server.h        admnserv.h      (gone)          (gone)
40@ -                     -               c-386bsd.h      c-386bsd.h      conf-386bsd.h
41@ -                     -               ChangeLog       changelo
42@ conf-aixps2.h         -               c-386aix.h      c-386aix.h
43@ conf-aixrios.h        -               c-rs6000.h      c-rs6000.h
44@ -                     -               c-alpha.h       c-alpha.h       conf-alpha.h
45@ conf-aux.h            -               c-aux.h         c-aux.h         
46@ conf-bsd386i.h        -               c-sun386i.h     c-sun386.h     
47@ conf-bsdapollo.h      -               c-apollo.h      c-apollo.h     
48@ conf-bsdibm032.h      -               c-rtpc.h        c-rtpc.h       
49@ conf-bsdm68k.h        -               c-sun3.h        c-sun3.h       
50@ conf-bsdsparc.h       -               c-sunos4.h      c-sunos4.h     
51@ conf-bsdtahoe.h       -               c-tahoe.h       c-tahoe.h       
52@ conf-bsdvax.h         -               c-vax.h         c-vax.h         
53@ -                     -               c-hp68k.h       c-hp68k.h       conf-hp68k.h
54@ -                     -               c-hpsnake.h     c-hpsnak.h      conf-hpsnake.h
55@ -                     -               c-i960vx.h      c-i960vx.h      conf-i960vx.h
56@ conf-ibm370.h         -               c-ibm370.h      c-ibm370.h     
57@ -                     -               c-pyramid.h     c-pyrami.h
58@ -                     -               c-386linux.h    c-386lin.h      conf-linux386.h
59@ -                     -               c-next.h        c-next.h        conf-next.h
60@ conf-pc.h             conf-pc.h       c-pc.h          c-pc.h
61@ conf-pyr.h            conf-pyr.h      c-pyr.h         c-pyr.h
62@ -                     -               c-386sco.h      c-386sco.h      conf-sco386.h
63@ conf-sgiirix.h        -               c-sgi.h         c-sgi.h         conf-sgi.h
64@ -                     -               c-sol2.h        c-sol2.h        conf-sol20sparc.h
65@ -                     -               c-svr4.h        c-svr4.h        conf-svr4.h
66@ conf-ultmips2.h       -               c-ultmips.h     c-ultmip.h     
67@ -                     -               c-windows.h     c-window.h      conf-windows.h
68@ conf.h                conf.h          conf.h          conf.h
69@ des.h                 des.h           des.h           des.h
70@ des_conf.h            des_conf.h      des_conf.h      des_conf.h
71@ highc.h               highc.h         (gone)          (gone)
72@ kadm.h                kadm.h          kadm.h          kadm.h
73@ kdc.h                 kdc.h           kdc.h           kdc.h
74@ kdc.h.sed             -               kdc-sed.h       kdc-sed.h
75@ klog.h                klog.h          klog.h          klog.h
76@ klog.h.sed            -               klog-sed.h      klog-sed.h
77@ kparse.h              kparse.h        kparse.h        kparse.h
78@ krb.h.sed             -               krb-sed.h       krb-sed.h
79@ krb_conf.h            krb_conf.h      krb_conf.h      krb_conf.h
80@ krb_db.h              krb_db.h        krb_db.h        krb_db.h
81@ krb_db.h.sed          -               krb_db-sed.h    krb_db-s.h     
82@ -                     -               krb_driver.h    krb_driv.h
83@ -                     krberr.h        krberr.h        krberr.h
84@ -                     krblayer.h      krblayer.h      krblayer.h
85@ -                     -               krbports.h      krbports.h
86@ -                     -               kstream.h       kstream.h
87@ -                     leasherr.h      leasherr.h      leasherr.h
88@ lsb_addr_comp.h       lsbaddcm.h      lsb_addr_cmp.h  lsb_addr.h
89@ -                     -               MacTCPCommonTypes.h mactcpco.h
90@ -                     -               Makefile.in     makefile.in
91@ mit-copyright.h       mit_copy.h      mit-copyright.h mit-copy.h
92@ osconf.h              osconf.h        osconf.h        osconf.h
93@ passwd_server.h       paswserv.h      (gone)          (gone)
94@ principal.h           principa.h      principal.h     principa.h
95@ prot.h                prot.h          prot.h          prot.h
96@ -                     timeval.h       -               -
97@ -                     -               UDPPB.h         udppb.h
98@ -                     winkrbid.h      winkrbid.h      winkrbid.h
99@ -                     -               winsock.def     winsock.def
100@ -                     -               winsock.h       winsock.h
101
102I've supplied Unix shell scripts in ../lib/krb, which use the table
103from `ren.msg' in the current directory, for moving:
104 ren-pl10.sh    V4 pl10 filenames to proposed names     for converting old trees
105 ren-pc.sh      V4 MIT PC names to proposed names       for converting old trees
106 ren2long.sh    truncated names to proposed names       for moving DOS->unix
107 ren2dos.sh     proposed names to truncated names       for unix->DOS names
108
109There's also shell scripts to produce sed scripts for converting Makefiles
110and documentation.  You use them like:
111        ./sed-pl10.sh >/tmp/sed
112        sed -f /tmp/sed <Makefile >newMakefile
113sed-pl10.sh     V4 pl10 filenames to proposed names     for converting old trees
114sed-pc.sh       V4 MIT PC names to proposed names       for converting old trees
115
116I'll also supply a DOS script for moving:
117ren-pc.bat      V4 MIT PC names to proposed names       for converting old trees
118
119And an MPW script for moving
120ren-pl10.mpw    V4 pl10 filenames to proposed names     for converting old trees
121
122        John Gilmore
123        Cygnus Support
Note: See TracBrowser for help on using the repository browser.