Giter Club home page Giter Club logo

gulam's Introduction

May 2024

  • FIX: Bombs occurred when executing an external program via _shell_p. Gulam was reinitialising _shell_p after each command, including mid execution of _shell_p which requires the caller to use super mode. Now, _shell_p is init'd only when Gulam is in user mode.

Dec 2023

New shell variable: restore_cwd_after_exec. When true (false by default), the cwd can never be changed by an external command as the cwd is stored before and restored after command execution.

How the environment (argv,envp) is constructed for internal and external commands has been modified:

  • FIX: The length of the command line buffer is stored as an 'int' by Gulam. Length is stored as 'uchar' in the Pexec command line. Previously it was assigned without checking for truncation.
  • FIX: The maxium length of the DTA section command line is 125 bytes (as per tos_hyp). Previously it was treated as 126 bytes.
  • CHG: The value 'mw' (Mark Williams) for the shell variable 'env_style' has been renamed 'argv'. Since it implemented what became known as the basic argv protocol anyway, I beleive this is clearer.
  • NEW: The argv protocol is enabled by default.
  • NEW: The argv protocol is now only used when enabled and necessary. This improves compatibility with programs that don't understand the protocol. Previously, if the argv env_style was enabled, the command line length embedded in Pexec calls was always set to 127. This was always invalid for such programs.
  • NEW: If the argv protocol is disabled but the command line is too long, the user is prompted whether to continue.
  • FIX. Previously the standard command lines (i.e. not argv) of external commands were stripped of quotes meaning that quoted strings were tokenized on all spaces.

Changes to file type determination:

  • NEW: APP and GTP are now considered executable.
  • FIX: Previously, a directory that happened to have an executable extension would have been identified as a file, not a directory.

General changes:

  • NEW: The cursor is made visible at the start of every command prompt.

gulam's People

Contributors

th-otto avatar simonlaszcz avatar

Stargazers

Sébastien "SLiX" LIENARD avatar Jeffrey H. Johnson avatar  avatar

gulam's Issues

Re-add env_style 'mw'

Given the number of times 'mw' is mentioned in documentation, it should be added back in. 'mw' and 'argv' should be synonyms

Redirect stderr

When using an old version of gnu make, and redirecting output to a file,
gcc errors are not sent to the file. Is this the screen handle? (as opposed to CON)

Long cmd lines don't wrap

If the typed cmd reaches the final screen column (e.g. when the cwd is long), typed characters are just printed in column 80

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.