Home | History | Annotate | Download | only in csh
      1  0  stevel [seizo:09/09/92]
      2  0  stevel To fix #1098866, the directory structure is modified.
      3  0  stevel This directory contains machine independent source codes of csh.
      4  0  stevel Two files are currently machine dependent. These are
      5  0  stevel 	signal.c and signal.h
      6  0  stevel Machine dependent files are moved under $(MACH) directory.
      7  0  stevel 
      8  0  stevel So, if you are going to port csh for other architecture,
      9  0  stevel you have to do:
     10  0  stevel 	1) create a directory for the new architecture.
     11  0  stevel 		(Say, intel)
     12  0  stevel 
     13  0  stevel 	2) create following files. 
     14  0  stevel 	   (You can use sparc/{Makefile, signal.c, signal.h} as templates.
     15  0  stevel 		intel/Makefile
     16  0  stevel 		intel/signal.c
     17  0  stevel 			You need to modify sigvechandler()
     18  0  stevel 		intel/signal.h
     19  0  stevel 			You need to modify struct sigcontext.
     20  0  stevel 
     21  0  stevel In future, I am planning to rewrite csh so it uses modern
     22  0  stevel signal interface so csh will not have any machine dependent
     23  0  stevel portion.
     24  0  stevel 
     25  0  stevel usr/src/cmd/csh/SCCS/{s.signal.c, s.signal.h} are move under
     26  0  stevel usr/src/cmd/csh/sparc/SCCS. So, if you wish to see sccs histories
     27  0  stevel of signal.c and signal.h, please refer to usr/src/cmd/csh/sparc/SCCS.
     28