Shell 0.7.2. 1) .shell moved to /sys/settings. 2) "cd .." command fixed.
git-svn-id: svn://kolibrios.org@4106 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1e36f2a2c8
commit
306b448222
@ -261,7 +261,7 @@ COPY_FILES:=\
|
|||||||
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
||||||
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
||||||
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
||||||
.shell:.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
settings/.shell:SETTINGS/.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
||||||
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
||||||
example.asm:EXAMPLE.ASM:$(PROGS)/develop/examples/example/trunk/example.asm \
|
example.asm:EXAMPLE.ASM:$(PROGS)/develop/examples/example/trunk/example.asm \
|
||||||
# end of list
|
# end of list
|
||||||
|
@ -261,7 +261,7 @@ COPY_FILES:=\
|
|||||||
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
||||||
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
||||||
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
||||||
.shell:.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
settings/.shell:SETTINGS/.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
||||||
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
||||||
example.asm:EXAMPLE.ASM:$(PROGS)/develop/examples/example/trunk/example.asm \
|
example.asm:EXAMPLE.ASM:$(PROGS)/develop/examples/example/trunk/example.asm \
|
||||||
# end of list
|
# end of list
|
||||||
|
@ -261,7 +261,7 @@ COPY_FILES:=\
|
|||||||
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
||||||
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
||||||
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
||||||
.shell:.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
settings/.shell:SETTINGS/.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
||||||
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey_it.ini \
|
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey_it.ini \
|
||||||
# end of list
|
# end of list
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ COPY_FILES:=\
|
|||||||
fonts/litt.chr:FONTS/LITT.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/LITT.CHR \
|
fonts/litt.chr:FONTS/LITT.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/LITT.CHR \
|
||||||
games/snake.ini:GAMES/SNAKE.INI:$(PROGS)/games/snake/trunk/snake.ini \
|
games/snake.ini:GAMES/SNAKE.INI:$(PROGS)/games/snake/trunk/snake.ini \
|
||||||
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
||||||
.shell:.shell:$(PROGS)/system/shell/bin/rus/.shell \
|
settings/.shell:SETTINGS/.shell:$(PROGS)/system/shell/bin/rus/.shell \
|
||||||
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
||||||
example.asm:EXAMPLE.ASM:$(PROGS)/develop/examples/example/trunk/rus/example.asm \
|
example.asm:EXAMPLE.ASM:$(PROGS)/develop/examples/example/trunk/rus/example.asm \
|
||||||
# end of list
|
# end of list
|
||||||
|
@ -261,7 +261,7 @@ COPY_FILES:=\
|
|||||||
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \
|
||||||
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \
|
||||||
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \
|
||||||
.shell:.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
settings/.shell:SETTINGS/.shell:$(PROGS)/system/shell/bin/eng/.shell \
|
||||||
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
settings/mykey.ini:SETTINGS/MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \
|
||||||
# end of list
|
# end of list
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Shell 0.7.2 // 26.10.2013 // Albom
|
||||||
|
* ” ©« .shell ¯¥à¥¥á¥ ¢ /sys/settings/
|
||||||
|
* ˆá¯à ¢«¥ ª®¬ ¤ "cd .."
|
||||||
|
|
||||||
|
|
||||||
Shell 0.7.1 // 19.10.2013 // Albom
|
Shell 0.7.1 // 19.10.2013 // Albom
|
||||||
* ˆá¯à ¢«¥ ®è¨¡ª , á¢ï§ ï á § ¢¨á ¨¥¬ ¯à¨ ¯®¯ë⪥ çâ¥¨ï ¯ãá⮩ ¨áâ®à¨¨ ª®¬ ¤ (¯® ª« ¢¨è ¬ Up ¨ Down)
|
* ˆá¯à ¢«¥ ®è¨¡ª , á¢ï§ ï á § ¢¨á ¨¥¬ ¯à¨ ¯®¯ë⪥ çâ¥¨ï ¯ãá⮩ ¨áâ®à¨¨ ª®¬ ¤ (¯® ª« ¢¨è ¬ Up ¨ Down)
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ if ( ( 0 == strcmp(dir, "..") ) && ( 0 != strcmp(cur_dir, "/")) )
|
|||||||
{
|
{
|
||||||
cur_dir[strlen(cur_dir)-1]='\0';
|
cur_dir[strlen(cur_dir)-1]='\0';
|
||||||
dir_truncate(cur_dir);
|
dir_truncate(cur_dir);
|
||||||
return FALSE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( '/' == dir[0])
|
if ( '/' == dir[0])
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#define SHELL_VERSION "0.7.1"
|
#define SHELL_VERSION "0.7.2"
|
||||||
|
|
||||||
extern char PATH[256];
|
extern char PATH[256];
|
||||||
extern char PARAM[256];
|
extern char PARAM[256];
|
||||||
|
@ -128,7 +128,13 @@ con_set_cursor_height(con_get_font_height()-1);
|
|||||||
|
|
||||||
ALIASES = malloc(128*1024);
|
ALIASES = malloc(128*1024);
|
||||||
|
|
||||||
if (PARAM[0] == 0) strcpy(CMD, ".shell");
|
if (PARAM[0] == 0)
|
||||||
|
{
|
||||||
|
strcpy(CMD, cur_dir);
|
||||||
|
strcat(CMD, ".shell");
|
||||||
|
if ( !file_check(CMD) )
|
||||||
|
strcpy(CMD, "/sys/settings/.shell");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (PARAM[0] == '/')
|
if (PARAM[0] == '/')
|
||||||
|
Loading…
Reference in New Issue
Block a user