0707070000020024611006660007640001440000010147660350332113100000500000000003Size60 0707070000020021061006660007640001440000010147470350332050300000600000000143Files./Size ./Files ./Install ./Name ./Remove ./md_format ./md_write ./MSDOS.memo ./MAKEcpio ./MAKEflop 0707070000020020131007770007640001440000010147500350332101100001000000001545InstallLIST0="md_write md_format" LIST1=MSDOS.memo echo "MS-DOS write and format routines are being installed." echo "Please stand by. . . " for i in $LIST0 do mv $i /usr/bin chown bin /usr/bin/$i chgrp bin /usr/bin/$i chmod 755 /usr/bin/$i done echo "Name = Write MS-DOS Disk" > /tmp/t echo "Expert" >> /tmp/t echo "Default = Open" >> /tmp/t echo "Open = EXEC -d /usr/bin/md_write" >> /tmp/t uaupd -r "Write MS-DOS Disk" -a /tmp/t Floppy rm -f /tmp/t echo "Name = Format MS-DOS Disk" > /tmp/t echo "Expert" >> /tmp/t echo "Default = Open" >> /tmp/t echo "Open = EXEC -d /usr/bin/md_format" >> /tmp/t uaupd -r "Format MS-DOS Disk" -a /tmp/t Floppy echo "A memo entitled MSDOS.memo will be placed in the Filecabinet" echo " of $LOGNAME. It is suitable for printing." chmod 666 MSDOS.memo chown $LOGNAME MSDOS.memo ln MSDOS.memo ${HOME}/Filecabinet rm -f /tmp/t 0707070000020021351006660007640001440000010147340350332026300000500000000070NameWrite and Format MS-DOS Disk (6/5/85) - FROM THE STORE! 0707070000020021341007770007640001440000010147160350062354100000700000000164Removeuaupd -r "Write MS-DOS Disk" Floppy uaupd -r "Format MS-DOS Disk" Floppy rm /usr/bin/md_write rm /usr/bin/md_format 0707070000020021721007550007640001440000010317530350332015100001200000013126md_formatRWî @V2* .text @ .data V@.bss V V2*€.lib 8€ 8€/< 8€N¹1X OQ.˜/HJ˜fÿü/H#È0N¹Ê/N¹1x0<N@NVÿø ®ÿÿÿÿg .j D€âˆD€`N^NuâˆÐ®"nAñ-Hÿü .j D€€D€`€g( nÿü nÿür® 鉃 nÿü". èA`ÿª nÿü.ÿ nÿü(ð nÿü". àƒ(`ÿzNVÿøp.€//.N¹1ØPJ€lJ.¹0/< p//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€/.NºÄX.¼/. /.N¹1ÚP-@ÿüJ€m €gJ.¹0/< (p//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€/.NºTXN^NuNVÿô y p"H.©& (N¹1žR€r ã¨-@ÿøp.€/.ÿø/.N¹1ØPJ€lJ.¹0/< Kp//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€/.NºÊX.¼/. /.N¹1ÚP-@ÿüJ€m €gJ.¹0/< vp//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€/.NºZXN^NuNVÿô .S€r ã¨-@ÿøp.€/.ÿø/.N¹1ØPJ€lJ.¹0/< œp//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€/.NºâX.¼/. /.N¹1ÚP-@ÿüJ€m €gJ.¹0/< Îp//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€/.NºrXN^NuNVÿü.¼Øp/N¹1nX.¼Øp/N¹1nX.¼êp/N¹1nXN^NuNVÿüp.€N¹16N^NuNVÿü.¼êp/N¹1nXN^NuNVÿü.¼G/.N¹1ÀXrÿ°fF.¹0/< ûp//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€N¹16.®N¹1Brÿ°fF.¹0/< 'p//p/N¹14ßüJ¹ lgp.€/9 lN¹1(Xp.€N¹16.® N¹16N^NuNVÿüNº”Nº¬Nºâ.¼ /9 8xN¹àX.¼ t/9 8xN¹¸Xp.€/< t/9 8xN¹²Pp.€/< t/9 8xN¹²P.¼  p//p/N¹14ßü p.€/9 8xN¹XN^NuNVÿüB¹ lN¹šNºÜNºÊN^NuNVÿôHîÿüt` ëˆ"| tAñ-HÿøBR‚ y p´¨mÞLîÿüN^NuNVÿäHî|ÿì y p (ëˆ"H.© N¹1ª, y p"H.©& (N¹1žR€Ð†-@ÿè y p.¨N¹1ª( y p"H.© ("N¹1ª* y p"H.© (N¹1ž#À 8|t` åˆ"| t#¼UUUUR‚"9 8|ä‰ ´€eÞv`T.ƒNºr°f.ƒ/<ð/< tN¹ /dev/null 2>&1Failed to open floppy disk drive. (%d)Failed to set froppy drive i/o controls. (%d)Failed to search for cluster. (%d)Please make sure the diskette is properly inserted. Failed to write to the floppy diskette. (%d)Failed to search for cluster. (%d)Failed to read floppy diskette. (%d)0707070000020021661007550007640001440000010320310350332015300001100000021506md_writeRW´ ¾F"F .text¾ .data F@.bss F F"F€.lib )Œ )Œ/< )ŒN¹1X OQ.˜/HJ˜fÿü/H#È0N¹*/N¹1x0<N@NVÿúp0. áˆ=@ÿþp0. àˆnÿþp0.ÿþN^NuNVÿø .râ¨r2.NºÿÆ-@ÿü0. @ÿÿr2.Nºÿ°r㨮ÿü .ÿüN^NuNVÿö-nÿúp0."≠r2.Ò€Ó®ÿú nÿúR®ÿúB@=@ÿþp0.ÿþáˆ"nÿúBA€A=@ÿþp0.ÿþ.€NºÿL=@ÿþp0.€g 0.ÿþèH=@ÿþ`nÿÿþp0.ÿþN^NuNVÿøp.€0./NºVX//.N¹1ØP y \ (r ã¨.€/< F/.N¹1,P-@ÿü.®/< F/. N¹1ÚP-@ÿüN^NuNVÿô y \"H.©& (N¹1žR€"y \.© N¹1ž-@ÿüJn gb y \ (ëˆ"HЩ S€.© N¹1ª"y \.© N¹1žÐ®ÿü-@ÿøp0. U€"y \.©N¹1ž"y \.© N¹1žÐ®ÿøN^NuNVÿøHîÿüJnf y \ (LîÿüN^Nut` nød R‚p0..€/.NºþN^NuNVÿÎHî<ÿðt y \"H.© ("N¹1ª&x` r2./< dN¹žXJ€fR‚R„¸ƒmÞ y \.¨ N¹1ž"y \.© N¹1ž*HnÿÒ/9 )pN¹1€Prÿ°f4.¹0/< ‚p//p/N¹14ßüp.€/9 )tN¹dXº®ÿàl..¼ ±p//p/N¹14ßü p.€/9 )tN¹dX#îÿà )xLî<ÿðN^NuNVÿØHîüÿè y \"H.© ( N¹1ž$.‚N¹1B @-Hÿà y \"H.© ("N¹1ª&z|ÿxB®ÿÜ`p r2./< dN¹žXJ€fRJ…f*.‚/.ÿà/9 )pN¹1,P-@ÿä €ÿÿÿÿf4.¹0/< Ýp//p/N¹14ßüp.€/9 )tN¹dXJ®ÿäf$p-@ÿÜ.†/NºÔX.®ÿàN¹1HLîüÿèN^Nu .ÿä°‚lp-@ÿÜp.€/N¹†X//9 )tN¹1ØPrÿ°f4.¹0/< ýp//p/N¹14ßüp.€/9 )tN¹dX.®ÿä/.ÿà/9 )tN¹1ÚP.¾®ÿäl4.¹0/< "p//p/N¹14ßüp.€/9 )tN¹dX.†//< dN¹œP,R„J®ÿÜfÿ¸ƒlÿ`þ‚NVÿø y \"H.©& (N¹1žR€r ã¨#À )hp.€/9 )h/9 )tN¹1ØPJ€l4.¹0/< Fp//p/N¹14ßüp.€/9 )tN¹dX.¼/< d/9 )tN¹1,P-@ÿüJ€m €g4.¹0/< up//p/N¹14ßüp.€/9 )tN¹dXNº,N^NuNVÿèHîÿø.® /<ø/< dN¹œPHnÿôN¹1žXHnÿôN¹1X @-Hÿðt` åg R‚ y \´¨l ëˆ"| dEñJfÚp.€/< )|/ N¹1rPp.€/< )ˆAê/N¹1rPB* nÿð (r ã¨=@ÿî (ëˆnÿî nÿð jøD€âˆD€nÿîp0.ÿî.€N¹<=@ÿîp.€HnÿîAê/N¹1rP nÿð (rPr ã¨=@ÿì (R€ëˆnÿì nÿð0(nÿìp0.ÿì.€N¹<=@ÿìp.€HnÿìAê/N¹1rPp0. .€N¹<5@.¹ )xN¹b%@p.€/< d/9 )tN¹Pp.€/< d/9 )tN¹P.¼ d/9 )tN¹XLîÿøN^Nuâˆ`ÿ NVÿN¹1$p.€p/N¹1 Xp.€p /p.¹0/< p//p/N¹14ßüp.€/9 `N¹1(Xp.€N¹16 y ø1|( y ø1| y ø1| y ø1| y øB( y øB( y ø1| y ø1|.¹ ø/<G/9 )tN¹1ÀPrÿ°f4.¹0/< Fp//p/N¹14ßüp.€/9 )tN¹dXN^NuNVÿô#ü )dp.€/9 )d/9 )tN¹1ØPJ€l4.¹0/< zp//p/N¹14ßüp.€/9 )tN¹dX.¼/< d/9 )tN¹1,P-@ÿøJ€m €g4.¹0/< °p//p/N¹14ßüp.€/9 )tN¹dXB®ÿüB¹ \`Dp*.€ .ÿüN¹1ž"| P1°9 df p*.€ .ÿüN¹1ž"| PAñ#È \`R®ÿü ®ÿüm²J¹ \f8p9 d.€/<  p//p/N¹14ßüp.€/9 )tN¹dXN^NuNVÿü.¹ ø/<G/9 )tN¹1ÀPJ€l4.¹0/< Cp//p/N¹14ßüp.€/9 )tN¹dX y ø"y \1i y ø"y \1i y ø"y \1i y \"H.© (N¹1ž"y ø3@ y øB( y øB( y ø"y \1i  y ø1|.¹ ø/<G/9 )tN¹1ÀPJ€l4.¹0/< wp//p/N¹14ßüp.€/9 )tN¹dXN^NuNVÿüp.€/.N¹1X#À )p €ÿÿÿÿfF.¹0/< «p//p/N¹14ßüp.€/9 `N¹1(Xp.€/9 )tN¹dXN^NuNVÿôHîÿøt`b ëˆ"| dEñJgL ågFp.€/< )|/ N¹1lPJ€f..¼ Ïp//p/N¹14ßü p.€/9 )tN¹dXR‚ y \´¨mÿ”LîÿøN^NuNVÿôHî ÿø.¼ )|N¹1 &f..¼ òp//p/N¹14ßü p.€/9 )tN¹dXt`š | )|0(H€HÀ"|0 1H€HÀr€f0(H€HÀ"|0 1g0 | )|0(H€HÀ"|0 1gB"| )|1( (`..¼  p//p/N¹14ßü p.€/9 )tN¹dXR‚´ƒmÿd$` | )|¼ (R‚p´€mì.¼ )ˆN¹1 &t`š | )ˆ0(H€HÀ"|0 1H€HÀr€f0(H€HÀ"|0 1g0 | )ˆ0(H€HÀ"|0 1gB"| )ˆ1( (`..¼ )p//p/N¹14ßü p.€/9 )tN¹dXR‚´ƒmÿd$` | )ˆ¼ (R‚p´€mìLî ÿøN^NuFailed to search for Boot Record. (%d)Failed to write Boot Record. (%d)Failed to search for Root Directory. (%d)Failed to write Root Directory. (%d)Failed to search for File Allocation Table. (%d)Failed to write File Allocation Table. (%d)Failed to dismount floppy disk drive. (%d)Failed to close floppy disk drive. (%d)þ(@@ü( @hÿ(p€ý( pÐ F r ~ Ž Õ ç   K  /dev/rfp020Unix file name Enter Full Unix Path Name or Filecabinet Relative File, then hit EnterMS-DOS file name Enter MS-DOS File Name, then hit EnterMS-DOS file ext Enter MS-DOS File Extension, then hit EnterMSDOS file write MS-DOS write successfully completed.Failed to determine status of Unix file. (%d)Not enough space available on the diskette.Failed to read Unix file. (%d)Failed to search the diskette. (%d)Failed to write the diskette. (%d)Failed to search for the Root Directory. (%d)Failed to read the Root Directory. (%d)MSDOS disk write MS-DOS disk write. Please insert an MS-DOS formatted diskette. Hit any key to continue. DOCFailed to open the floppy disk drive. (%d)Failed to set the floppy driver i/o controls. (%d)Failed to search for the File Allocation Table. (%d)Please make sure diskette is inserted properly. Failed to read File Allocation Table. (%d)Unknown Floppy Format in File Allocation Table = 0x%x.Failed to get the floppy driver i/o controls. (%d)Failed to set the floppy driver i/o controls. (%d)Failed to open the Unix file. (%d)Duplicate Floppy file name exists.MD_name cannot be blank.MD_name must be alphanumeric.MD_ext must be alphanumeric.0707070000020021361006660007640000000000010147060350332043500001300000014075MSDOS.memo AAAATTTT&&&&TTTT IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn SSSSyyyysssstttteeeemmmmssss subject: MS-DOS Write and Format date: June 5, 1985 Utilities from: W. N. Gregory FJ 1311 1H-100A x5785 _P_R_O_G_R_A_M_M_E_R_'_S__N_O_T_E_S 1. IIIInnnnttttrrrroooodddduuuuccccttttiiiioooonnnn Utilities for formatting and writing MS-DOS floppy diskettes are now available for the Unix* PC. They are designed to be accessed from the Floppy Disk Operations menu under Administration, just as the 2.0 Read MS-DOS Disk utility is currently accessed. These procedures can be installed from floppy diskettes using the normal installation procedures. Arrangements are being made to deliver source code to Convergent Technologies so that these functions can be integrated into the 3.0 version of the Foundation Set. 2. FFFFoooorrrrmmmmaaaatttt UUUUttttiiiilllliiiittttyyyy The Format MS-DOS Disk utility prompts the user to insert a floppy diskette into the drive and wait for completion. It formats double sided, double density diskettes with 8 sectors per track for a total of 320 sectors per side. Empty Root Directory and File Allocation Tables are created on the diskette. A surface check is performed and bad blocks are marked in the File Allocation Tables. The standard MS-DOS format facility allows a user to specify a volume name for the diskette. It also allows for the creation of "system formatted" diskettes which contain the two system files IBMBIO.COM and IBMDOS.COM. These features are not now available with the Unix PC Format MS-DOS Disk utility. __________ * Unix is a trademark of Bell Laboratories. - 2 - 3. WWWWrrrriiiitttteeee UUUUttttiiiilllliiiittttyyyy The Write MS-DOS Disk utility also prompts the user to insert a floppy diskette. It then displays a form on which the user enters a Unix file name, an MS-DOS file name, and an MS-DOS file extension. The Unix file name may be a full path name or a path name relative to the user's Filecabinet directory. Only one file may be written at a time to the diskette's Root Directory. The utility checks whether there is enough available space on the diskette to hold the file before writing. A standard MS-DOS machine, like the AT&T 6300, will format an unformated diskette when copying a file from the hard disk to it. Files can also be written to subdirectories underneath the Root Directory. These functions are not provided by the Unix PC Write MS-DOS Disk utility. 4. AAAApppppppplllliiiiccccaaaattttiiiioooonnnn DDDDeeeeppppeeeennnnddddeeeennnntttt FFFFiiiilllltttteeeerrrrssss When writing to an MS-DOS diskette, files are copied as simple byte streams. That is, bytes appear in the same order in the MS-DOS target file as they occurred in the Unix source file. (This is also true of the 2.0 Read MS-DOS Disk utility.) No attempt is made to change the byte ordering within words or long words to reflect the different architectures of the Intel 8088/6 and the Motorola MC68000 processors. Thus, applications executing on an Intel processor which reference files containing binary data will require application dependent filters to successfully access files created by the Unix PC Write MS-DOS Disk utility. The same point applies to applications using ASCII text files that expect control-M carriage returns after new lines and control-Z End-of-File markers. Standard Unix files do not contain these control characters. Hence, Unix files written to an MS-DOS formatted diskette will have to have these characters inserted by a filter before processing by these applications. It may be appropriate to provide filters as menu selected options for commonly used applications in releases after 3.0. This subject is currently under investigation. - 3 - 5. RRRReeeellllaaaattttiiiioooonnnn ttttoooo tttthhhheeee RRRReeeeaaaadddd UUUUttttiiiilllliiiittttyyyy TheMS-DOS format and write utilities were implemented without modifying the existing MS-DOS Read utility source code. Some of the same header files are referenced in the new code, but the intention was to isolate the write and format source code from Convergent Technologies' read source code, while providing a similar user interface. This was done in order to protect the existing read facility from any hasty changes that might have been made in attempting to meet Release 3.0 schedules. It is anticipated, however, that in releases after 3.0 the software will be integrated either by Convergent Technologies or ATT-IS to take advantage of common subroutines and to increase maintainability. W. N. Gregory Copy to H. O. Burton E. V. Courte R. T. Tran R. R. Babu S. J. Thayer L. S. Greenbaum R. J. Costantini G. P. Pasternack T. R. Thompson W. Stockman O. A. Bloom Members of the Product Development Group Members of the Quality Assurance and System Test Group Members of the Product Engineering Group Members of the Product Planning and Test Group Members of the Product Enhancement Group Members of the Product Software Group Members of the Product Introduction Group 0707070000020021431007770007640001440000010147650350063303600001100000000040MAKEcpiocat Files | cpio -ocBv > MSDOSW 0707070000020021401007770007640001440000010147640350062357000001100000000044MAKEflopcat Files | cpio -ocBv > /dev/fp021 0707070000020021401007770007640001440000010147640350062357000001300000000000TRAILER!!!rite MS-DOS Disk utility. The same point applies to applications using ASCII text files that expect control-M carriage returns after new lines and control-Z End-of-File markers. Standard Unix files do not contain these control characters. Hence, Unix files written to an MS-DOS formatted diskette will have to have these characters inserted by a filter before processing by these applications. It may be appropriate to provide filters as menu selected options for commonly used applications in releases after 3.0. This subject is currently under investigation. - 3 - 5. RRRReeeellllaaaattttiiiioooonnnn ttttoooo tttthhhheeee RRRReeeeaaaadddd UUUUttttiiiilllliiiittttyyyy TheMS-DOS format and write utilities were implemented without modifying the existing MS-DOS Read utility source code. Some of the same header files are referenced in the new code, but the intention was to isolate the write and format source code from Convergent Technologies' read source code, while providing a similar user interface. This was done in order to protect the existing read facility from any hasty changes that might have been made in attempting to meet Release 3.0 schedules. It is anticipated, however, that in releases after 3.0 the software will be integrated either by Convergent Technologies or ATT-IS to take advantage of common subroutines and to increase maintainability. W. N. Gregory Copy to H. O. Burton E. V. Courte R. T. Tran R. R. Babu S. J. Thayer L. S. Greenbaum R. J. Costantini G. P. Pasternack T. R. Thompson W. Stockman O. A. Bloom Members of the Product Development Group Members of the Quality Assurance and System Test Group Members of the Product Engineering Group Members of the Product Planning and Test Group Members of the Product Enhancement Group Members of the Product Software Group Members of the Product Introduction Group 0707070000020021431007770007640001440000010147650350063303600001100000000040MAKEcpiocat Files | cpio -ocBv > MSDOSW 0707070000020021401007770007640001440000010147640350062357000001100000000044MAKEflopcat Files | cpio -ocBv