[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

2163.0. "bcreating a file with specific header..." by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Wed Mar 27 1996 16:19

Date Of Receipt: 	21-MAR-1996 11:33:55.11
From: 	SMURF::ALPHA::"[email protected]" "Susan Rundbaken USG  21-Mar-1996 1128"
To: 	[email protected]
CC: 	
Subj: 	bcreating a file with specific header...

Hi! I'm running into trouble bcreating some test suite files. Some of these files 
end in .tc. There is no header for these files so the bcreate process does not 
include one. Instead, I added the header myself. When I bci the files, however, 
the log does not get updated. Is this because the comment leader isn't set 
appropriately? Do I have to go back and do a 'bcs -c"# " <filename>' on all of 
these files? Is there an easier way? How do you specify a specific header to use, 
so I won't run into this problem again?

Thanks!

Susan Rundbaken
LSM Engineer
[email protected]

T.RTitleUserPersonal
Name
DateLines
2163.1Re: bcreating a file with specific header...AOSG::FILTERAutomatic Posting Software - mail to flume::puckWed Mar 27 1996 16:2242
Date Of Receipt: 	21-MAR-1996 12:27:36.12
From: 	SMURF::FLUME::"[email protected]" "Grant Van Dyck  21-Mar-1996 1224"
To: 	[email protected]
CC: 	[email protected]
Subj: 	Re: bcreating a file with specific header...

| 
| Hi! I'm running into trouble bcreating some test suite files. Some of these f
iles 
| end in .tc. There is no header for these files so the bcreate process does no
t 
| include one. Instead, I added the header myself. When I bci the files, howeve
r, 
| the log does not get updated. Is this because the comment leader isn't set 
| appropriately? Do I have to go back and do a 'bcs -c"# " <filename>' on all o
f 
| these files?

Yes, if ode does not know the file type, it sets the comment leader to BIN, 
which you need to change as you described above. Alternatively you can bcreate 
the file with the correct comment leader:

bcreate(1)                                                         bcreate(1)

NAME
  bcreate - creates a new source file
user_options

  -c   Passes the desired comment leader of the file being created.

Now, more to the point, if you have a new file type that we currently don't 
have defined in ode, please send us the appropriate header info, and we can 
add it to the collection of headers for other file types and you won't have to 
do either of those things.


-- 

				-Grant