stumpless-dos

a command line logging utility for DOS

https://github.com/goatshriek/stumpless-dos

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary
Last synced: 8 months ago · JSON representation ·

Repository

a command line logging utility for DOS

Basic Info
  • Host: GitHub
  • Owner: goatshriek
  • License: apache-2.0
  • Language: C
  • Default Branch: latest
  • Size: 9.77 KB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created about 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License Citation

README.md

STMPLSS.EXE

A command line logging utility for DOS.

Basic Usage | Installation | Build | Why

Logging on DOS

STMPLSS.EXE is a subset of the Stumpless logger, offering a CLI logging experience tailored to DOS. It provides the ability to log to stdout, stderr, or a file. The default target is a file named STMPLSS.LOG.

``` Usage: STMPLSS.EXE [OPTIONS] message

Arguments: message The message to include in log messages.

Options: --default Log to the default log target. This is the default if no options are given. -l, --log-file Log to the given file. --stderr Log to stderr. --stdout Log to stdout. ```

Installation

The simplest way to install STMPLSS.EXE is to download the executable directly from the releases page and put it on your system wherever you'd like.

If your system has FDNPKG, you can download the ZIP archive from the releases page and install it directly with FDNPKG install STMPLSS.ZIP. Depending on your configuration this will add the executable to your path, making it easy to use.

Build Steps

Building STMPLSS.EXE is a simple matter of getting and configuring stumpless, and then compiling it for DOS.

The configure-stumpless.sh script will run CMake on stumpless, generating the correct configuration for a DOS system. Run it with the path to stumpless provided as the only argument. The script also adjusts the single file sources to remove some unsupported compiler features.

Next, you'll need to build the resulting stumpless configuration along with the SRC/MAIN.C file. The release binary is generated using FreeDOS with the OpenWatcom compiler. The BUILD.BAT script will run the necessary build steps to compile the executable and create the FDNPKG package, again making some assumptions that may need to be adjusted regarding paths.

Keep filesystem name length limitations in mind! We shorten stumpless file names by removing the vowels.

Why Though

Because it's April, Fools! At least, that's how this started.

I wanted to do something for April Fools' Day that would actually work, but also create something interesting, strange, and off the beaten path. I figured that DOS fit the bill, so I grabbed FreeDOS and set off to build a simple CLI tool and catch some nostalgia along the way.

I was expecting to wade through decades-old software as I tried to compile and test things. It wouldn't be the first time: I recently went looking for a JVM Lua interpreter for a different project, and didn't find anything that wasn't two years older or more with lots of open and unaddressed issues and pull requests. Dealing with old projects like this is often painful, and I try to avoid using them in my own projects. (On a side note, send me a recommendation if you know of a maintained Lua interpreter for the JVM, I want to jam it into Ghidra).

But not so for DOS! FreeDOS is as active as ever. The latest tool release? Just a few weeks ago. The last video posted? Only three months ago. It has network support, a package manager, and even vim, which I find especially delightful, though I used FED instead just to feel a little more DOSsy. I've heard lots of people say that vim is on virtually every machine, but I didn't think that extended all the way to DOS.

I also made a few portability improvements to stumpless along the way. The single file generation came in handy here, and I made some improvements to it to cut down on generation time and reduce the overall size. There were also a few minor things that got moved around to support older compilers. And finally, I ended up adding some configuration options to support missing headers and smaller filenames. So even if this project goes unused, it's had a tangible impact on the parent project anyway.

I don't expect anyone to use this particular project, and that's not what this was about anyway. But that isn't to say that you shouldn't use it: if you want a CLI logger on DOS, give it a shot! And if you run into problems, let me know!

I won't complain about old, unmaintained projects and then turn around to abandon this one. Consider it maintained! If you find a problem, open an issue and I'll look into it. And if you feel especially inspired, open a pull request to add something yourself! Though the functionality is (severely) limited, I'm certainly not opposed to improving it. I just won't spend more time until someone actually asks for it.

Owner

  • Name: Joel
  • Login: goatshriek
  • Kind: user

Systems programmer who enjoys learning new technologies.

Citation (CITATION.cff)

cff-version: 1.2.0
title: Stumpless CLI for DOS
type: software
license: Apache-2.0
repository-code: "https://github.com/goatshriek/stumpless-dos"
version: 0.1.0
date-released: 2024-04-01
keywords:
  - cli
  - logging
authors:
  - given-names: Joel
    family-names: Anderson
    email: joel@goatshriek.com
message: >-
  If you use this software, please cite it using the
  metadata from this file.

GitHub Events

Total
Last Year

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 1
  • Total Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joel Anderson j****l@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels