Changeset 4689 for trunk/Ohana/src/opihi/pcontrol/pcontrol.c
- Timestamp:
- Jul 31, 2005, 1:04:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/pcontrol.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/pcontrol.c
r4450 r4689 7 7 # define opihi_rcfile ".pcontrolrc" 8 8 9 void InitPcontrol ();10 void InitBasic ();11 12 void welcome () {13 fprintf (stderr, "\n");14 fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description);15 }16 17 9 /* program-dependent initialization */ 18 10 void initialize (int argc, char **argv) { 19 11 20 FILE *f;21 22 12 auto_break = TRUE; 23 13 … … 39 29 /* load the commands used by this implementation */ 40 30 InitBasic (); 31 InitData (); 41 32 InitOutfile (); 42 33 InitPcontrol (); … … 50 41 set_str_variable ("PROMPT", opihi_prompt); 51 42 set_str_variable ("RCFILE", opihi_rcfile); 43 # ifdef HELPDIR_DEFAULT 44 set_str_variable ("HELPDIR", MACRO_NAME(HELPDIR_DEFAULT)); 45 # endif 52 46 53 47 /* ignore the history file. to change this, see, eg, mana.c */ 54 48 signal (SIGINT, SIG_IGN); 55 49 return; 50 } 51 52 /* standard welcome message */ 53 void welcome () { 54 fprintf (stderr, "\n"); 55 fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description); 56 56 } 57 57
Note:
See TracChangeset
for help on using the changeset viewer.
