Coder Social home page Coder Social logo

/System doesnt work about 123elf HOT 4 CLOSED

taviso avatar taviso commented on May 30, 2024
/System doesnt work

from 123elf.

Comments (4)

taviso avatar taviso commented on May 30, 2024 2

I think I've found a solution, working on it!

from 123elf.

jserv avatar jserv commented on May 30, 2024

I attempted to override the symbol shell by the following patch:

--- a/patch.c
+++ b/patch.c
@@ -67,3 +67,8 @@ int display_column_labels()
                        displayed_window[18] - 1);
     return x_disp_txt_write(displayed_window[21], buf, 0);
 }
+
+int shell()
+{
+    return 0;
+}
--- a/undefine.lst
+++ b/undefine.lst
@@ -249,3 +249,4 @@ load_printer_drivers
 close_printer_drivers
 read_print_config_dir
 display_column_labels
+shell

/System would be no operation as expected, and the terminal no longer messes up. But, once inserting the call of system(3), I found something wrong, and Lotus 1-2-3 program complained the following:

Error loading driver, file name - /proc/self/cwd/root/lotus/123.v10/ri/USA-English/dr123txt.ri

from 123elf.

taviso avatar taviso commented on May 30, 2024

I think this might be an old bug, can you try rm ~/.l123set and see if it fixes it?

I also updated it to enable UNIX file mode by default.

from 123elf.

multizone-uk avatar multizone-uk commented on May 30, 2024

I can reproduce the orginal issue, as you say it almost works, messes the terminal up.

from 123elf.

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.