48 lines
1022 B
Plaintext
48 lines
1022 B
Plaintext
/*
|
|
This is the startup file for new local users.
|
|
|
|
If you modify this file, you should place it
|
|
into your HOME directory. This version is the
|
|
default for accounts without a version in HOME.
|
|
*/
|
|
|
|
UseConsoleLtf("USER.MUZ");
|
|
Fs->answers_displayed=2; //from 0-8
|
|
|
|
LoadAdam3;
|
|
|
|
Fs->EditPlugIns=&My_EditPlugIns;
|
|
Ltf *l=Fs->cur_ltf;
|
|
l->EditPlugIns=&My_EditPlugIns;
|
|
if (l=l->menu_ltf)
|
|
l->EditPlugIns=&My_EditPlugIns;
|
|
|
|
U8 F(I1 *pattern,I1 *flags="+r+i")
|
|
{
|
|
return Grep(pattern,"/LT/"TEXT_FILE_MASK,flags);
|
|
}
|
|
|
|
U8 R(I1 *pattern,I1 *replace_text=NULL,I1 *flags="+r+l")
|
|
{
|
|
return Grep(pattern,"/LT/"TEXT_FILE_MASK,flags,replace_text);
|
|
}
|
|
|
|
U8 FD(I1 *pattern,I1 *flags="+r+i")
|
|
{
|
|
return Grep(pattern,TEXT_FILE_MASK,flags);
|
|
}
|
|
|
|
U8 RD(I1 *pattern,I1 *replace_text=NULL,I1 *flags="+r+l")
|
|
{
|
|
return Grep(pattern,TEXT_FILE_MASK,flags,replace_text);
|
|
}
|
|
|
|
PutSysText("ST_USER_STARTUP");
|
|
Type("/LT/DOC/Help.TXZ");
|
|
Fs->scroll_speed=10;
|
|
Bts(&Fs->crt_flags,CRTf_SHOW);
|
|
|
|
|
|
Type("/LT/DOC/StartUp.TXZ");
|
|
|