Closed zBl4ckUser closed 1 year ago
Cool :) Very nice this test. Probably you created a new file using the command interpreter gdeshell. In this case the command will create an empy file. But it is not a bug. It is a 'work in progress' ... the function to create new files is very very primitive ... See the routines in: gramado/landos/kernel/0mem/sci/fs/ Thank you.
Another test: If you open gramcode with no file, so you can type something and save the new file with a standard name for now ... this way you can reopen this saved file in the next session. ;)
We need to do more tests like this one. We can create files using the gramcode and using some commands in the command interpreter gdeshell. We can open these text files using the commnad 'cat'. This way: "$ cat file.txt &" ... or we can open the file using the command: "$ gramcode file.txt"
very good, thank you!
Hi! Yes, I created the file using the command 'newfile aa.c' in gdeshell, after that I opened the file with the gramcode. I thought it was a bug because of those characters that appeared on the screen.
Thanks for answering :)
Hi! Yes, I created the file using the command 'newfile aa.c' in gdeshell, after that I opened the file with the gramcode. I thought it was a bug because of those characters that appeared on the screen.
Ohh i'm sorry ... In this special way, it is actually a bug. A bug in the routines for opening files. It is because there is a problem when we try to open a file named with extension with only one letter. ex: 'file.c' ... it is working better with three letter, like this: 'file.cpp'. :)
This is still a work to do in the file system support. That is why im using only .cpp .ini and .txt. hehehe
See: im still not using .c extention ... we still can't use only one single letter in the extention. In the picture you can see a file called test1.c ... sometimes im using this file to work in this issue. :)
Hello Fred! Does this extension bug still exist in the file system? I´m thinking of contributing it...
At this moment the system is able to open files when the filename has an extension with only one letter. And also some different combinations of number of letters. And also support some special 'symbols', just like + - $ etc ...
After creating a new file and opening it with gramcode, this appears: