SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It annoys me that some programs behave differently or accept different switches depending on if they're running under linux, msdos, macos, or bsd. That's not nice.
It annoys me that some programs behave differently or accept different switches depending on if they're running under linux, msdos, macos, or bsd. That's not nice.
Unique!! I can remember times when some people would damn anyone would even seem like their system was using similar semantics or syntax. More court actions have been initiated because of similarity or theft of intelligence. Early examples would be C/PM and MS DOS along with IBM DOS vs MS DOS. I am sure you will find a bundle of information via DDG search!
I can attest that using many different systems has been beneficial to my career. I did move fluidly when using a new system as long as I researched the command structure. That uniqueness and some similarity helped to remember the commands easily for me.
I doubt there were issues with that. Microsoft provided DOS to IBM. IBM DOS vs MSDOS (which was not a retail product until version 5, I think) was literally the same source code. There were compile time options that changed certain behaviors between the IBM version and the "MICROSOFT" version s along with the copyright string. Also so files like IBMIO got renamed. Microsoft provided the exact same source to other OEMs after the first versions where only the IBM PC existed, save for a some hardware specific parts OEMS were expected to implement themselves. Many of the OEMS even enable the IBM options and patched the copyright string because they either preferred the IBM behaviors or wanted to be that much more "IBM PC Compatible"
IBM DOS(PC-DOS) vs MS DOS was due to IBM release of several pages related to the I/O system and other documentation. Along with other company infringement issues. Yes, they collaborated on the original development but in-fighting was abound between the two. Some say that IBM agreed to let MS to develop with guidelines from IBM so no outside claims could be made;
Quote:
From https://en.wikipedia.org/wiki/IBM_PC_DOS
IBM wanted Microsoft to retain ownership of whatever software it developed, and wanted nothing to do with helping Microsoft, other than making suggestions from afar. According to task force member Jack Sams:
The reasons were internal. We had a terrible problem being sued by people claiming we had stolen their stuff. It could be horribly expensive for us to have our programmers look at code that belonged to someone else because they would then come back and say we stole it and made all this money. We had lost a series of suits on this, and so we didn't want to have a product which was clearly someone else's product worked on by IBM people. We went to Microsoft on the proposition that we wanted this to be their product.
I do remember Gary Kildall of Digital Research, Inc C/PM claims against both MS & IBM release for DOS infringement. I believe that was a major reason for IBM's original position with MS to prevent future claims.
Problems between MS & IBM were that IBM did release massive DOS documentation that MS did not wish to be released.
Ah! Mine is 14.2. I'm not switching to Slackware 15 until it's released. But thanks for clearing up the confusion.
PS: Where does that distro command come from? I've never seen it before.
Code:
# which distro
/usr/bin/distro
#
# file /usr/bin/distro
/usr/bin/distro: Python script, ASCII text executable
#
# distro --help
usage: distro [-h] [--json]
OS distro info tool
optional arguments:
-h, --help show this help message and exit
--json, -j Output in machine readable format
#
Not sure if it was included in Slackware 14.2, but it is in the current tree.
Code:
Mon Feb 15 19:23:44 UTC 2021
(...)
l/python-distro-1.5.0-x86_64-4.txz: Rebuilt.
Code:
Sat Jan 4 22:21:30 UTC 2020
(...)
l/python-distro-1.4.0-x86_64-1.txz: Added.
This is needed by hplip since Python 3.8 has removed the
platform.linux_distribution function.
Hazel, I believe member has just a comment line to show distro.
Not really, it's an actual app.
Code:
# which distro
/usr/bin/distro
#
# distro --help
usage: distro [-h] [--json]
OS distro info tool
optional arguments:
-h, --help show this help message and exit
--json, -j Output in machine readable format
#
# file /usr/bin/distro
/usr/bin/distro: Python script, ASCII text executable
#
I know that now! Thanks. I was not aware of the new python coded command, 'which distro';
Code:
~# which distro
/usr/bin/distro
Code:
#!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'distro==1.5.0','console_scripts','distro'
import re
import sys
# for compatibility with easy_install; see #2198
__requires__ = 'distro==1.5.0'
try:
from importlib.metadata import distribution
except ImportError:
try:
from importlib_metadata import distribution
except ImportError:
from pkg_resources import load_entry_point
def importlib_load_entry_point(spec, group, name):
dist_name, _, _ = spec.partition('==')
matches = (
entry_point
for entry_point in distribution(dist_name).entry_points
if entry_point.group == group and entry_point.name == name
)
return next(matches).load()
globals().setdefault('load_entry_point', importlib_load_entry_point)
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(load_entry_point('distro==1.5.0', 'console_scripts', 'distro')())
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.