Git Product home page Git Product logo

Comments (10)

frednora avatar frednora commented on May 21, 2024 1

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. ;)

from kernel.

zBl4ckUser avatar zBl4ckUser commented on May 21, 2024 1

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.

from kernel.

zBl4ckUser avatar zBl4ckUser commented on May 21, 2024 1

Thanks for answering :)

from kernel.

frednora avatar frednora commented on May 21, 2024

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"

from kernel.

frednora avatar frednora commented on May 21, 2024

very good, thank you!

from kernel.

frednora avatar frednora commented on May 21, 2024

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'. :)

from kernel.

frednora avatar frednora commented on May 21, 2024

This is still a work to do in the file system support. That is why im using only .cpp .ini and .txt. hehehe

from kernel.

frednora avatar frednora commented on May 21, 2024

gramado-root-1
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. :)

from kernel.

FrancisBFTC avatar FrancisBFTC commented on May 21, 2024

Hello Fred! Does this extension bug still exist in the file system? I´m thinking of contributing it...

from kernel.

frednora avatar frednora commented on May 21, 2024

ext-test
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 ...

from kernel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.