The PSION Organiser II Homepage
Forum Home Forum Home Help Help Search Search Members Members Login Login Register Register

Welcome, Guest. Please Login or Register.
Why register?
   The Psion Organiser II Forum
   User Forum
   User Post
   Post reply ( Re: FAO StarHawk - Organiser to a Linux PC Comms L )
Post reply
Subject:
Full name:
Email:
Message icon:
Add Smileys:
Message:
Disable Smilies:

Check this if you'll be adding code (or don't like smileys).


Before submitting, please enter the verification code in the box below.
   


Topic Summary - Displaying 1 posts. Click here to show all
Posted by: starhawk Posted on: Nov 8th, 2018, 9:45pm
minicom is a serial terminal application...
 
...hmmm...
 
Linux is indeed command-line based, the problem being that there is no single command line standard /per se/. Or, rather, that there is, but that it's a /de facto/ standard, one that "just happened that way" -- and, as such, it's freely ignored by certain Linux distros, although there are workarounds for that.
 
The 'standard' command shell is called bash, the 'Bourne-Again SHell'. The original Bourne SHell (bsh) was copyrighted by the Bell Labs crew and so is closed-source... bash however is F|OSS (free and open-source software) with a relatively permissive license.
 
However, I use a variant of Ubuntu Linux called Xubuntu ("Zoo-buntu" or "Ex-Ubuntu", either works), which differs from standard-issue Ubuntu primarily by way of the GUI desktop employed, and the 'buntus (as the overall collective family is typically referred to) prefer a different shell called 'dash' by default. The way you work around that, if you must have bash, is by formatting your 'shell script' (our term for the equivalent of a DOS *.BAT batch file) with a different "shebang" at the top.
 
So instead of writing, as the very first line...
 
#!/bin/sh
 
...to select the default shell, which is always linked (a link is a filesystem-native 'alias' sort of construct) as /bin/sh -- you type...
 
#!/bin/bash
 
...and that directs the system to use bash instead.
 
The next problem being that I don't know how to write bash scripts worth crap yet

The Psion Organiser II Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB 2000-2002,
Xnull. All Rights Reserved.
top