Fixed misuse of "/rd/1" (changed to "/sys") for some programs

git-svn-id: svn://kolibrios.org@9585 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
vitalkrilov 2022-01-07 01:01:22 +00:00
parent 00d6588c05
commit 97e3188585
19 changed files with 36 additions and 36 deletions

View File

@ -47,7 +47,7 @@ bool KolibriOnStart(TStartData &kos_start, TThreadData /*th*/)
cold.procinfo = procinfo;
cold.com_area_name = "FFFFFFFF_color_dialog";
cold.com_area = 0;
cold.start_path = "/rd/1/colrdial";
cold.start_path = "/sys/colrdial";
cold.draw_window = DrawWindow;
cold.status = 0;
cold.x_size = 420;

View File

@ -48,8 +48,8 @@ bool KolibriOnStart(TStartData &kos_start, TThreadData /*th*/)
ofd.com_area_name = "FFFFFFFF_open_dialog";
ofd.com_area = 0;
ofd.opendir_path = plugin_path;
ofd.dir_default_path = "/rd/1";
ofd.start_path = "/rd/1/File managers/opendial";
ofd.dir_default_path = "/sys";
ofd.start_path = "/sys/File managers/opendial";
ofd.draw_window = DrawWindow;
ofd.status = 0;
ofd.openfile_path = openfile_path;

View File

@ -444,8 +444,8 @@ bool KolibriOnStart(TStartData &kos_start, TThreadData /*th*/)
ofd.com_area_name = "FFFFFFFF_open_dialog";
ofd.com_area = 0;
ofd.opendir_path = plugin_path;
ofd.dir_default_path = "/rd/1";
ofd.start_path = "/rd/1/File managers/opendial";
ofd.dir_default_path = "/sys";
ofd.start_path = "/sys/File managers/opendial";
ofd.draw_window = DrawWindow;
ofd.status = 0;
ofd.openfile_path = openfile_path;

View File

@ -19,7 +19,7 @@
#define SCRX WINW-180
#define SCRY 20
char default_dir[] = "/rd/1";
char default_dir[] = "/sys";
od_filter filter2;
#define BTN_MANUAL_SEARCH 10

View File

@ -63,7 +63,7 @@ enum {
_ini ini = { "/sys/settings/system.ini" };
char default_dir[] = "/rd/1";
char default_dir[] = "/sys";
od_filter filter2 = { 8, "TXT\0\0" };
_tabs tabs = { -sizeof(t_skins)-sizeof(t_wallpapers)-sizeof(t_screensaver)

View File

@ -76,7 +76,7 @@ dword http_get_type=PAGE;
dword render_start_time;
int menu_id=NULL;
char default_dir[] = "/rd/1";
char default_dir[] = "/sys";
od_filter filter2 = { 22, "TXT\0HTM\0HTML\0DOCX\0\0" };
char editURL[URL_SIZE+1];
@ -461,10 +461,10 @@ void EventAllTabsClick(dword _n)
void EventEditSource()
{
if (check_is_the_adress_local(history.current())) {
RunProgram("/rd/1/develop/cedit", history.current());
RunProgram("/sys/develop/cedit", history.current());
} else {
CreateFile(WB1.bufsize, WB1.bufpointer, "/tmp0/1/WebView_tmp.htm");
if (!EAX) RunProgram("/rd/1/develop/cedit", "/tmp0/1/WebView_tmp.htm");
if (!EAX) RunProgram("/sys/develop/cedit", "/tmp0/1/WebView_tmp.htm");
}
}

View File

@ -18,7 +18,7 @@
//proc_info Form;
#define WIN_W 450
char default_dir[] = "/rd/1";
char default_dir[] = "/sys";
od_filter filter2 = {0,0};
char src_path[4096];

View File

@ -35,7 +35,7 @@ proc_info Form;
dword semi_white;
bool bg_dark=false;
char default_dir[4096] = "/rd/1";
char default_dir[4096] = "/sys";
od_filter filter2 = { 69, "BMP\0GIF\0ICO\0CUR\0JPEG\0JPG\0PNG\0PNM\0TGA\0TIFF\0TIF\0WBMP\0XBM\0XCF\Z80\0\0" };
libimg_image icons18;

View File

@ -8,15 +8,15 @@ void main()
RunProgram("/kolibrios/drivers/acpi/acpi", NULL);
pause(300);
if (file_exists("/rd/1/drivers/devices.dat")) {
if (file_exists("/sys/drivers/devices.dat")) {
if (GetSystemLanguage()==4) {
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat ¡ë« ãᯥ譮 ᣥ­¥à¨à®¢ ­.\n“áâ ­®¢ª  ¥éñ ­¥ § ª®­ç¥­ . ‘«¥¤ã©â¥ 㪠§ ­¨ï¬ ¢ Readme!' -tdO");
notify("'ACPI/APIC\n/sys/drivers/devices.dat ¡ë« ãᯥ譮 ᣥ­¥à¨à®¢ ­.\n“áâ ­®¢ª  ¥éñ ­¥ § ª®­ç¥­ . ‘«¥¤ã©â¥ 㪠§ ­¨ï¬ ¢ Readme!' -tdO");
} else {
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat was succesfully generated.\nInstallation is not completed.\nFor the next steps please check Readme!' -tdO");
notify("'ACPI/APIC\n/sys/drivers/devices.dat was succesfully generated.\nInstallation is not completed.\nFor the next steps please check Readme!' -tdO");
}
RunProgram("/sys/@open", "/kolibrios/drivers/acpi/readme.txt");
} else {
notify("'Error generating /rd/1/drivers/devices.dat' -E");
notify("'Error generating /sys/drivers/devices.dat' -E");
}
ExitProcess();

View File

@ -26,7 +26,7 @@
//===================================================//
//simple open dialog data
char default_dir[] = "/rd/1";
char default_dir[] = "/sys";
od_filter filter2 = { 15, "MP3\0WAV\0XM\0\0" };
#define ABOUT_MESSAGE " v2.94 Final

View File

@ -84,7 +84,7 @@ struct THEME
dword bg, text, cursor, found;
} theme;
char default_dir[] = "/rd/1";
char default_dir[] = "/sys";
od_filter filter2 = { 0, "" };
CANVAS canvas;

View File

@ -50,7 +50,7 @@ void main()
{
if (! driver_handle = LoadDriver("tmpdisk"))
{
notify("'TmpDisk\nError: /rd/1/drivers/tmpdisk.obj driver loading failed\nVirtual disk wouldn't be added' -tE");
notify("'TmpDisk\nError: /sys/drivers/tmpdisk.obj driver loading failed\nVirtual disk wouldn't be added' -tE");
ExitProcess();
}

View File

@ -435,7 +435,7 @@ end_bmp:
; LOADBMP - Load bmp image from file
; (SYNTAX) LOADBMP 'file_path',temp_area(rb 0x10000),load_area,dd soi
; (SAMPLE) LOADBMP '/rd/1/menuet.bmp',temp_area,I_END,tsoi
; (SAMPLE) LOADBMP '/sys/menuet.bmp',temp_area,I_END,tsoi
; ( NOTE ) Macros create on Base of
; Picture browser by lisovin@26.ru & Ivan Poddubny
; SOI - Start of image

View File

@ -30,7 +30,7 @@ lang equ ru ; ru en fr ge fi
; LOADFILE
; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area
; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area
; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area
macro loadfile file_name,file_load_area,file_temp_area
{

View File

@ -30,7 +30,7 @@ lang equ ru ; ru en fr ge fi
; LOADFILE
; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area
; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area
; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area
macro loadfile file_name,file_load_area,file_temp_area
{
@ -324,7 +324,7 @@ run_fileinfo:
dd 0
dd procinfo ; 0x10000
;run_filepath
db '/RD/1/SYSXTREE',0
db '/SYS/SYSXTREE',0
procinfo:
times 256 db 0
@ -535,7 +535,7 @@ run_fileinfo:
dd 0
dd procinfo
run_filepath:
db '/RD/1/SYSXTREE',0
db '/SYS/SYSXTREE',0
procinfo:
times 256 db 0

View File

@ -1705,8 +1705,8 @@ bool KolibriOnStart(TStartData &me_start, TThreadData th)
ofd.com_area_name = "FFFFFFFF_open_dialog";
ofd.com_area = 0;
ofd.opendir_path = plugin_path;
ofd.dir_default_path = "/rd/1";
ofd.start_path = "/rd/1/File managers/opendial";
ofd.dir_default_path = "/sys";
ofd.start_path = "/sys/File managers/opendial";
ofd.draw_window = DrawWindow;
ofd.status = 0;
ofd.openfile_path = CommandLine;

View File

@ -30,7 +30,7 @@ lang equ ru ; ru en fr ge fi
; LOADFILE
; (SYNTAX) LOADFILE 'full_path_to_file',file_load_area,file_temp_area
; (SAMPLE) LOADFILE '/rd/1/clock.bmp',load_area,temp_area
; (SAMPLE) LOADFILE '/sys/clock.bmp',load_area,temp_area
macro loadfile file_name,file_load_area,file_temp_area
{

View File

@ -384,7 +384,7 @@ base_vector:
; fsize dd 0 ;180000 ; sizeof(workarea)
; fptr dd 0 ;workarea
; file_name:
; db '/rd/1/3d/house.3ds',0
; db '/sys/3d/house.3ds',0
; ; db '/tmp0/1/ant.3ds',0
;
; rb 256
@ -512,7 +512,7 @@ end if
fsize dd 0 ;180000 ; sizeof(workarea)
fptr dd 0 ;workarea
file_name:
db '/rd/1/3d/house.3ds',0
db '/sys/3d/house.3ds',0
; db '/tmp0/1/sc.3ds',0
rb 256

View File

@ -1140,8 +1140,8 @@ char m1[256];
if (inih = fopen(m1,"rb"))
{_loadIni(inih);return;}
}
//for KolibriOS: load /rd/0/settings/c--.ini
inih = fopen("/rd/1/settings/c--.ini","rb");
//for KolibriOS: load /sys/settings/c--.ini
inih = fopen("/sys/settings/c--.ini","rb");
for(;;){
if(fgets(m1,255,inih)==NULL)break;
if(SelectComand(m1,0)==c_end)BadCommandLine(m1);