Longmynd Software under Linux in general
Longmynd Software under Linux in general
I use Longmynd software under Linux Ubuntu operating system and it works very well.
Where I appreciate it was probably done with the idea of going into a raspberry Pi for other packages I was wondering if anyone has worked on the 'fake read' to provide an easier to view reporting system. I can look at the scrolling numbers and determine a call-sign/provider and an MER figure for the stream, but the rest is hard to read on the screen.
Not being a programmer just wondering if anyone has or is working on a dashboard for it?
The one I am using is from the github for myorangedragon, in case it makes any difference.
Cheers
Adrian
Where I appreciate it was probably done with the idea of going into a raspberry Pi for other packages I was wondering if anyone has worked on the 'fake read' to provide an easier to view reporting system. I can look at the scrolling numbers and determine a call-sign/provider and an MER figure for the stream, but the rest is hard to read on the screen.
Not being a programmer just wondering if anyone has or is working on a dashboard for it?
The one I am using is from the github for myorangedragon, in case it makes any difference.
Cheers
Adrian
G8UGD
https://qsl.net/g8ugd
https://qsl.net/g8ugd
Re: Longmynd Software under Linux in general
I made a start on a simple console status display. Still work in progress but should be useful.
https://github.com/dbrooke/longmynd-status-curses
David
https://github.com/dbrooke/longmynd-status-curses
David
Re: Longmynd Software under Linux in general
Thanks for the response Dave;
I wonder if you could explain how it is driven or what I have to do to try it.
I am also in email contact with Brian G4EWJ who contacted me of forum, so at least I am pleased it is not just me interested in this aspect.
I run a version of John G7JTT Jetson script, which means I also run Robs Live-tune software under mono to drive longmynd so would love to know if any status could be included.
Adrian
I wonder if you could explain how it is driven or what I have to do to try it.
I am also in email contact with Brian G4EWJ who contacted me of forum, so at least I am pleased it is not just me interested in this aspect.
I run a version of John G7JTT Jetson script, which means I also run Robs Live-tune software under mono to drive longmynd so would love to know if any status could be included.
Adrian
G8UGD
https://qsl.net/g8ugd
https://qsl.net/g8ugd
Re: Longmynd Software under Linux in general
Hi Adrian,
git clone https://github.com/dbrooke/longmynd-status-curses.git
cd longmynd-status-curses
make
you should now have a program called status
I hope that helps but let me know if you need any more info.
David
to download and build it the following should work:
git clone https://github.com/dbrooke/longmynd-status-curses.git
cd longmynd-status-curses
make
you should now have a program called status
I'm not familiar with that script but essentially my status program is a substitute for the fake_read supplied with longmynd and it formats the information, rather than having it scroll past too fast to read, as can be seen in this screenshot https://stuff.dbrooke.me.uk/sp-Q4Iz1A.png
I hope that helps but let me know if you need any more info.
David
Re: Longmynd Software under Linux in general
Thanks David;
I have just been trying to install and use gcc to make the package, but had errors, one was that ncurses was not installed so have just run
sudo apt install libncuses5-dev, that removed that error but then get lots of errors saying :-
So a special thanks for the information I will install the git and take it from there, before I go off and try it is there any other pre-requisites I may need to be installed?
I will be the first to admit I do not program, I stuble through scripting with a lot of background reading.
Cheers
Adrian
I have just been trying to install and use gcc to make the package, but had errors, one was that ncurses was not installed so have just run
sudo apt install libncuses5-dev, that removed that error but then get lots of errors saying :-
Code: Select all
/tmp/ccpeg3j7.o: In function `display_percent':
status.c:(.text+0x46): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o: In function `display_mer':
status.c:(.text+0xa3): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o: In function `display_yes_no':
status.c:(.text+0xf4): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o: In function `display_state':
status.c:(.text+0x14f): undefined reference to `mvprintw'
status.c:(.text+0x17a): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o:status.c:(.text+0x1d5): more undefined references to `mvprintw' follow
/tmp/ccpeg3j7.o: In function `main':
status.c:(.text+0x559): undefined reference to `initscr'
status.c:(.text+0x574): undefined reference to `mvprintw'
status.c:(.text+0x57a): undefined reference to `COLS'
status.c:(.text+0x580): undefined reference to `LINES'
status.c:(.text+0x594): undefined reference to `newwin'
status.c:(.text+0x5a9): undefined reference to `scrollok'
status.c:(.text+0x5c1): undefined reference to `wprintw'
status.c:(.text+0x5cd): undefined reference to `wrefresh'
status.c:(.text+0x654): undefined reference to `stdscr'
status.c:(.text+0x65c): undefined reference to `wrefresh'
status.c:(.text+0x67d): undefined reference to `wprintw'
status.c:(.text+0x689): undefined reference to `wrefresh'
collect2: error: ld returned 1 exit status
So a special thanks for the information I will install the git and take it from there, before I go off and try it is there any other pre-requisites I may need to be installed?
I will be the first to admit I do not program, I stuble through scripting with a lot of background reading.
Cheers
Adrian
Last edited by AdrianH on Thu Jul 30, 2020 9:07 pm, edited 1 time in total.
G8UGD
https://qsl.net/g8ugd
https://qsl.net/g8ugd
Re: Longmynd Software under Linux in general
Just thought of another question you mention
"my status program is a substitute for the fake_read"
So does that mean I run ./status rather than ./fake_read ?
Adrian
"my status program is a substitute for the fake_read"
So does that mean I run ./status rather than ./fake_read ?
Adrian
G8UGD
https://qsl.net/g8ugd
https://qsl.net/g8ugd
Re: Longmynd Software under Linux in general
ncurses should be the only thing needed and the errors you posted are all for ncurses so you could try a 'make clean all' which will clean out any remnants of a possible failed build and then rebuild it.
David
Re: Longmynd Software under Linux in general
I installed from git hub and used Make and it runs OK.
Still have errors so I must not be understanding something, which is normal.
I know that something must take the output of ./fake read, normally if I do not want any status display I will use:-
That sticks it into oblivion. Or oif I want to see the scrolling messages I will use
If I try to use :-
I am getting an error of
So what have I got wrong please David?
Adrian
Still have errors so I must not be understanding something, which is normal.
I know that something must take the output of ./fake read, normally if I do not want any status display I will use:-
Code: Select all
cat longmynd_main_status > /dev/null &
Code: Select all
./fake-read
Code: Select all
cd ~/longmynd-status-curses
./status
Code: Select all
Failed to open status fifo
Adrian
G8UGD
https://qsl.net/g8ugd
https://qsl.net/g8ugd
Re: Longmynd Software under Linux in general
The status program assumes that the fifo is in the current directory, so don't cd out of the longmynd directory but rather just run it asAdrianH wrote: ↑Thu Jul 30, 2020 9:23 pm
If I try to use :-I am getting an error ofCode: Select all
cd ~/longmynd-status-curses ./status
So what have I got wrong please David?Code: Select all
Failed to open status fifo
~/longmynd-status-curses/status
David