1,22 → 1,16 |
|
int cmd_more(char file[]) |
{ |
int cmd_more(char file[]) { |
|
kol_struct70 k70; |
kol_struct_BDVK bdvk; |
unsigned result, i; |
unsigned long long filesize, pos; |
char buf[81]; //¡ãä¥à |
char buf[81]; //���� |
char temp[FILENAME_MAX]; |
unsigned flags; |
|
if (strlen(file)<1) |
{ |
#if LANG_ENG |
printf (" more <filename>\n\r"); |
#elif LANG_RUS |
printf (" more <¨¬ï ä ©« >\n\r"); |
#endif |
if (strlen(file)<1) { |
printf (CMD_MORE_USAGE); |
return TRUE; |
} |
|
51,11 → 45,11 |
k70.p20 = 0; |
k70.p21 = temp; |
|
result = kol_file_70(&k70); // ¯®«ãç ¥¬ ¨ä®à¬ æ¨î ® ä ©«¥ |
result = kol_file_70(&k70); // ����砥� ���ଠ�� � 䠩�� |
if ( 0 != result ) |
return FALSE; |
|
filesize = bdvk.p32; // ¯®«ãç ¥¬ à §¬¥à ä ©« |
filesize = bdvk.p32; // ����砥� ࠧ��� 䠩�� |
|
buf[80]=0; |
flags = con_get_flags(); |
73,7 → 67,7 |
k70.p20 = 0; |
k70.p21 = temp; |
|
result = kol_file_70(&k70); // ç⥨¥ 80 ᨬ¢®«®¢ |
result = kol_file_70(&k70); // �⥭�� 80 ᨬ����� |
for (i=0; i<80; i++) |
{ |
|