Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 7335f5e8 authored by deuce's avatar deuce

Fix various install bugs.

parent 297fb517
......@@ -226,6 +226,7 @@ char *input_line(char *dest,int maxlen)
}
started=1;
break;
case 8:
case KEY_BACKSPACE:
if(!started)
{
......@@ -237,7 +238,7 @@ char *input_line(char *dest,int maxlen)
}
if(inspos>1)
{
sprintf(buf,"%*.*s%s",inspos-2,inspos-2,dest,dest+inspos-1);
sprintf(buf,"%.*s%s",inspos-2,dest,dest+inspos-1);
inspos--;
xpos--;
}
......@@ -264,7 +265,7 @@ char *input_line(char *dest,int maxlen)
}
if(inspos<=strlen(dest))
{
sprintf(buf,"%*s%s",inspos-1,dest,dest+inspos);
sprintf(buf,"%.*s%s",inspos-1,dest,dest+inspos);
}
started=1;
break;
......@@ -391,7 +392,7 @@ void EnterRegis(void)
return;
}
file=fopen("tp1,cfg","w");
file=fopen("tp1.cfg","w");
GetWord(a,"Registration Line 1\r\n: ", "0");
fputs(a, file);
......@@ -467,7 +468,7 @@ char *GetDrop(char *dest, char *a)
COLOR(4,0);
PRINT(" -=-=- ");
COLOR(12,0);
PRINT("Paths almost always end with a '\' symbol. Add it now? ");
PRINT("Paths almost always end with a '/' symbol. Add it now? ");
COLOR(14,0);
PRINT("(Y/N)");
str[0]=0;
......@@ -523,6 +524,8 @@ int GetKey(int x, int Y)
COLOR(g,0);
PRINT("$");
a=getch();
if(a >= 'a' && a <= 'z')
a -= 32;
if(a == '\n' || a == '\r' || a == 32)
{
return(c);
......@@ -1137,7 +1140,7 @@ void ViewEdit(void)
}
else
{
strcpy(Az1,"linktp.bbs");
strcpy(Az1,"linkto.bbs");
strcpy(Az2,"setup.cfg");
}
......@@ -1399,7 +1402,7 @@ Billz:
}
else
{
strcpy(Az1,"linktp.bbs");
strcpy(Az1,"linkto.bbs");
strcpy(Az2,"setup.cfg");
}
NodeNum = b;
......@@ -1426,7 +1429,7 @@ Billz:
}
else
{
strcpy(Az1,"linktp.bbs");
strcpy(Az1,"linkto.bbs");
strcpy(Az2,"setup.cfg");
}
GetLinkNums(Ptt2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment