Command line flag and/or config file to set default channel?
Command line flag and/or config file to set default channel?
I don't think this exists yet but would it be possible to add some command line flags and/or an INI-style config file for the RetroNET IA? I've been using Cloud CP/M a lot more these days & it'd be nice if I could just set the IA to default to the "Cloud CP/M 2.2..." channel at startup. Having a config.ini or something would be nice for managing all the settings, honestly. I'm not sure how those settings are kept currently so maybe this already exists somewhere that I'm not aware of?
- Ben
Re: Command line flag and/or config file to set default channel?
Ah, I see it creates a file. But I still don't see a way to set the default channel via the config.xml file.
Code: Select all
$HOME/NABU Internet Adapter/config.xml
- Ben
-
- Posts: 1
- Joined: Sat Apr 01, 2023 12:20 am
Re: Command line flag and/or config file to set default channel?
I'm using an adapter that I wrote for the most part, but back when I was using this adapter on my Raspberry Pi, I wrote a script to navigate to the channel I wanted and select it. You can search for it on Discord.
Re: Command line flag and/or config file to set default channel?
Any search terms I should be using to find it? My Discord search foo seems to be on the weak side.
- Ben
Re: Command line flag and/or config file to set default channel?
That's a good idea - I'll make that change quickly here for you. There's also the ability to change channels from a program, but I didn't publish the program. Some people call it headless, but I originally called it IA Control when I first presented it in January.
Let me make the IA change for you - and then I'll release the IA Control program too. That'll be useful.
We're watching a movie pretty soon so that means i can write some code I'll publish it shortly
Let me make the IA change for you - and then I'll release the IA Control program too. That'll be useful.
We're watching a movie pretty soon so that means i can write some code I'll publish it shortly
Re: Command line flag and/or config file to set default channel?
This change is done, but I will also work on something else tonight. I'll publish the new version tomorrow after I finish the other change I'm working on.
Re: Command line flag and/or config file to set default channel?
Here you go: viewtopic.php?t=57
I decided not to finish the idea I was working on. The "headless" or IA Control is a silly option, and I can't see why it would be used. It seems there's so much more ability with cloud cpm that loading nabu channel programs is rarely ever done. Maybe one day, if I'm bored and out of ideas, I'll finish it. But right now, it doesn't seem to be a helpful feature.
I decided not to finish the idea I was working on. The "headless" or IA Control is a silly option, and I can't see why it would be used. It seems there's so much more ability with cloud cpm that loading nabu channel programs is rarely ever done. Maybe one day, if I'm bored and out of ideas, I'll finish it. But right now, it doesn't seem to be a helpful feature.
-
- Posts: 14
- Joined: Mon Apr 03, 2023 5:37 pm
Re: Command line flag and/or config file to set default channel?
Would the "Headless Internet Adapter" allow a person to use a raspberry pi without a monitor to feed the channel list to NABU on bootup? I could see myself buying a NABU Adapter, gutting the case and building in a Small Linux computer or Rasberry PI to run the IA on. No monitor would be required if you could somehow choose the channels from the NABU on bootup.
That would be the only useful scenario I could see for the Headless IA.
That would be the only useful scenario I could see for the Headless IA.
Re: Command line flag and/or config file to set default channel?
Agreed & id honestly like to do this.
- Ben
Re: Command line flag and/or config file to set default channel?
I assume the reason for putting something in an old adaptor box is to avoid the cable tethering it to your computer. IMO, a more flexible approach to put in the box would be an RS422 to ethernet bridge. I'm using this one with my NABU and it works well.
Then you can basically run any IA (that supports TCP) elsewhere on your network and control the show from there. I have nabud on my linux container server in the closet.
Then you can basically run any IA (that supports TCP) elsewhere on your network and control the show from there. I have nabud on my linux container server in the closet.
—
ook ook
ook ook