Re: [PLUG] Mint, Ubuntu, Debian (and Centos and Redhat/IBM)

2023-09-11 Thread Robert Citek
Talking about installing Linux into a VM, I used to use Vagrant. I say "used to" because I haven't run my own VM hypervisor in a while as just about everything I do is either in Docker or in The Cloud. Regards, - Robert On Mon, Sep 11, 2023 at 1:52 PM Tomas Kuchta wrote: > On Mon, Sep 11,

Re: [PLUG] Sluggish response

2023-06-14 Thread Robert Citek
Yup. Might want to verify that most recent backup. On Tue, Jun 13, 2023 at 11:41 PM Ted Mittelstaedt wrote: > If it is a magnetic media drive that is older the drive could be suffering > end stage sector failure where the bad sector table is filled up. I've > seen it many times and it always

Re: [PLUG] question on how to fix a mysterious DNS address problem

2023-01-05 Thread Robert Citek
I’m guessing that your questions might be answered by reading the comments in your resolv.conf file, especially the part about it being autogenerated and the part about a manual page. Usually, personal computers ( contrast with servers ) use DHCP to configure their network settings. I’m guessing

Re: [PLUG] Comparing 2 files and printing lines that are different

2022-12-27 Thread Robert Citek
Can you give an example of what you've tried and what you would like the expected outcome to be? Here's a quick sample showing lines 4 and 5 have been added: $ diff <( seq 1 3 ) <( seq 1 5 ) 3a4,5 > 4 > 5 Regards, - Robert On Tue, Dec 27, 2022 at 2:35 PM Ben Koenig wrote: > Hi all, > > I

Re: [PLUG] Linux laptop recommendations?

2022-12-19 Thread Robert Citek
On Sun, Dec 18, 2022 at 7:16 PM David Fleck wrote: > I use the laptop for web browsing and lightweight programming (generally > command-line scripting), along with some video HDMI streaming and > occasional DVD watching. If that is really all you are doing with a laptop, then you might want to

Re: [PLUG] ssh pass phrase issue [FIXED]

2022-12-14 Thread Robert Citek
Something sounds suspicious or pieces to the puzzle are missing. Changing the passphrase on a private key shouldn't change anything on the public key side. Could it be that someone slipped a different public key in your authorized_keys file? - Robert On Wed, Dec 14, 2022 at 12:15 PM Rich

Re: [PLUG] Chromebook question

2022-12-11 Thread Robert Citek
Yes, you can run both an Android app and a Linux app at the same time. For example, at this moment I am running the Brave browser ( an Android app ) and VSCode ( a Linux app ) at the same time. @Vince Winter: What's a "mini Linux environment"? Or did you mean "minimal"? The Linux Development

[PLUG] Creating a replica Slackware setup ( was: File permissions issue )

2022-12-03 Thread Robert Citek
he following: > $ slackpkg update > $ slackpkg search tex (to make sure the mirror was properly retrieved) > $ slackpkg install texlive xfig fig2dev texinfo > > > -Ben > > > --- Original Message --- > On Friday, December 2nd, 2022 at 4:27 PM, Robert Citek <

Re: [PLUG] File permissions issue

2022-12-02 Thread Robert Citek
to me, it makes replicating your setup a bit more ... challenging. But to answer your question: no, I do not have TeXLive 2021 installed in my Slackware environment. Regards, - Robert On Fri, Dec 2, 2022 at 5:09 PM Rich Shepard wrote: > On Fri, 2 Dec 2022, Robert Citek wrote: > > >

Re: [PLUG] File permissions issue

2022-12-02 Thread Robert Citek
That doesn't work for me: bash-4.3# installpkg texindy Cannot install texindy: file not found Regards, - Robert On Fri, Dec 2, 2022 at 4:34 PM Rich Shepard wrote: > On Fri, 2 Dec 2022, Robert Citek wrote: > > > What distro are you using? What commands did you use to install the

Re: [PLUG] File permissions issue

2022-12-02 Thread Robert Citek
What distro are you using? What commands did you use to install the software? Regards, - Robert On Fri, Dec 2, 2022 at 4:02 PM Rich Shepard wrote: > On Fri, 2 Dec 2022, Ben Koenig wrote: > > >>> bash-5.1$ locate texindy > >>> /usr/bin/texindy > >>> /usr/man/man1/texindy.1.gz > >>>

Re: [PLUG] trying to detach running processes - but how?

2022-11-14 Thread Robert Citek
Or automatically launch screen from within your .profile. https://stackoverflow.com/a/20515245 I also alias exit so that I remember to detach instead of exit: [ ${STY} ] && alias exit="echo You are in a screen: ${STY}." And I can use \exit if I really want to exit. Regards, - Robert On Mon,

Re: [PLUG] a question regarding something like nohup or disown

2022-11-08 Thread Robert Citek
+1 for screen, tmux, or Docker ( or screen/tmux in Docker ). They all work really well for reattaching to a running process to view the display. nohup works, but I've never had good luck with it. Regards, - Robert On Tue, Nov 8, 2022 at 3:25 PM Russell Senior wrote: > Have you tried screen

Re: [PLUG] Renewing TLS/SSL certificate [RESOLVED]

2022-11-06 Thread Robert Citek
Some of the questions that folks asked could be answered with some shell commands. Here they are wrapped in a Docker container. docker container run --rm -i ubuntu:22.04 <<'eof' apt-get update apt-get install -y --no-install-recommends \ dnsutils whois netbase curl jq

Re: [PLUG] Ubiquiti unifi ATA

2022-09-28 Thread Robert Citek
This discussion makes me wonder if anyone can recommend a good YouTube video ( or any other source ) that does a nice job of explaining all the pieces of SIP calling and how those pieces fit together. - Robert On Wed, Sep 28, 2022 at 3:04 PM Randy Bush wrote: > > Would Ziply Fiber, my ISP and

Re: [PLUG] trying to simplify my Linux operating system graphics components

2022-09-06 Thread Robert Citek
In the vein of not answering the question but instead making a side comment, I always connect to a video conference ( Zoom, Jitsi, Google Meet, etc. ) with at least two different devices: my smart phone and a laptop. They also are via two different data paths: cell and Ethernet. In the event one

Re: [PLUG] Need help backing up my data

2022-07-15 Thread Robert Citek
gt; ext4, and I am running benchmarks. > >> > >> Initial results from hdparm (on a different machine - SurfacePro 4 > >> running Ubuntu > >> Timing cache reads: 9598.53 MB/sec > >> Buffered disk reads: 6.47 MB/sec > >> > >> Waiting for disks be

Re: [PLUG] Need help backing up my data

2022-07-15 Thread Robert Citek
Indeed, that sounds really slow: ( 138GB * 1000MB/GB ) / (26hr * 60min/hr * 60s/min ) = 1.5 MB/s ~ 12 Mbps That's in the USB1.x range. If you use USB3.0 and can get 100MB/s write speed, you'd be done in about 6 hours. Have a look at hdparm to get some info on read/write performance of your

Re: [PLUG] Formating microSD card for VFAT

2022-07-14 Thread Robert Citek
On Thu, Jul 14, 2022 at 11:18 AM Rich Shepard wrote: > On Thu, 14 Jul 2022, Tomas Kuchta wrote: > > > What does fdisk -l and/or lsblk tells you? > > Tomas, > > fdisk -l didn't see it at all. > That's odd. For comparison, this is what lsblk outputs before and after I insert a USB stick: #

Re: [PLUG] Hardware recommendations: KVM switch

2022-07-01 Thread Robert Citek
Out-of-band management, e.g. DRAC, does work from boot up. But that's for servers and a few high-end desktops. But you have to ask yourself, how often are you messing with the BIOS and/or firmware? VMs are a nice solution, too: minimal OS + hypervisor on the hardware, then full OS in a VM. For

Re: [PLUG] Alcatel Linkzone sold by T-Mobile, labeled "4G LTE HotSpot

2022-06-04 Thread Robert Citek
Smells like tethering. I do that often, just not with that equipment. To any connected host, it should look like just another Ethernet over USB connection. Is that what you are doing? What issues are you having? Regards, - Robert On Sat, Jun 4, 2022 at 12:53 PM Richard Owlett wrote: > On

Re: [PLUG] Brainfart ... PLUG cookbooks

2022-05-13 Thread Robert Citek
If you wanna host it, great. Personally, I don’t. - Robert On Fri, May 13, 2022 at 3:18 PM Ben Koenig wrote: > Github??? Do I need to write a howto for hosting a repo with cgit? > > -Ben > > > --- Original Message --- > On Friday, May 13th, 2022 at 2:05 PM,

Re: [PLUG] filesystems question

2022-05-13 Thread Robert Citek
Just to clarify, md0 seems to be working just fine. It's md1 that seems to be having an issue(s). And if md1 was partitioned or configured to be used in an LVM, mounting it won't work. If we parse the data from lsblk, we can see that md0 is made of 5 devices, sdb1-sdf1, which are all of the

Re: [PLUG] filesystems question

2022-05-13 Thread Robert Citek
ine, being a raid1 with at least 1 drive > surviving. > > md1 with 4 drives out of 6 is somewhat less clear that it could survive. it > did rebuild, so I can only assume that means it at least believes the data > is intact. I guess I'm looking for a way to validate or invalidate this &

Re: [PLUG] 16,000 login attempts from digitalocean

2022-05-10 Thread Robert Citek
Login to a web service, ssh, other? If ssh, often the simplest and quickest solution is to switch to a non-obvious port, adjusting any firewall rules on DO, if needed. Regards, - Robert On Tue, May 10, 2022 at 7:44 PM Keith Lofstrom wrote: > Be careful what you write about powerful men,

Re: [PLUG] Dual booting Windows/Linux on relatively recent hardware

2022-05-01 Thread Robert Citek
On Sun, May 1, 2022 at 3:30 AM Richard Owlett wrote: > > > *MY QUESTION* > > What should I be reading to install Debian along side Windows that will > > likely have UEFI and possibly Secure Boot? The last time I dual booted > > Linux/Windows it was on a legacy BIOS system. > > > > TIA > > My

Re: [PLUG] filesystems question

2022-04-30 Thread Robert Citek
Greetings, Wes. >From the information you provided, I’m guessing you built the RAID from five drives ( /dev/sd{f,g,h,i,j} ), which created a single /dev/mda device. That device was partitioned to create devices /dev/mda{1-10}. And those partitions were then used for the LVM. But that’s just a

Re: [PLUG] Dual booting Windows/Linux on relatively recent hardware

2022-04-29 Thread Robert Citek
On Fri, Apr 29, 2022 at 2:19 PM Jeff Kirsher wrote: > Although I like the idea of running Linux and just make Windows a VM, > that way you could still remotely access their system via Linux, while > they play in Windows. I actually did something similar almost 20 > years ago for my

Re: [PLUG] Dual booting Windows/Linux on relatively recent hardware

2022-04-29 Thread Robert Citek
+1 On Fri, Apr 29, 2022 at 1:21 PM Russell Senior wrote: > *MY ANSWER* > > for example: > > https://www.windowscentral.com/how-setup-windows-10-virtual-machine-linux > > You may be better off running windows inside a virtual machine on > Linux. It is quicker and easier to start when needed and

Re: [PLUG] Acting On Locate Results

2022-04-19 Thread Robert Citek
On Tue, Apr 19, 2022 at 7:00 AM Rich Shepard wrote: > On Mon, 18 Apr 2022, Michael Barnes wrote: > > > Now I want to copy all those files into a new directory. I've tried > > various combinations of pipe to something, but no joy. > > Michael, > > I'm not as knowledgable as Russell or Galen but

Re: [PLUG] Ubuntu LTS upgrade timing

2022-04-14 Thread Robert Citek
On Thu, Apr 14, 2022 at 10:12 AM Ben Koenig wrote: > Original Message > On Apr 14, 2022, 7:34 AM, Robert Citek < robert.ci...@gmail.com> wrote: > On Thu, Apr 14, 2022 at 12:52 AM TomasK > wrote: > > On Wed, 2022-04-13 at 20:22 -0700, Keith Lofstro

Re: [PLUG] Ubuntu LTS upgrade timing

2022-04-14 Thread Robert Citek
On Thu, Apr 14, 2022 at 12:52 AM TomasK wrote: > On Wed, 2022-04-13 at 20:22 -0700, Keith Lofstrom wrote: > > Questions for you folks with years of Ubuntu experience: > > > > 1) How easy/fraught is a dist-upgrade, say 16.04 to 20.04? > > > It is easy to go from one LTS to the next: 16.04 -->

Re: [PLUG] Understanding backup rsync error

2022-03-22 Thread Robert Citek
To demonstrate the issue, try these commands: cd $( mktemp -d /tmp/rsync.demo.XX ) mkdir -p a touch a/x.{0001..} rsync -aR a/./ ./b/ & sleep 0.1 ; kill -19 %1 rm -f a/x.000* kill -18 %1 ; wait I my system, I get this: [1] 30107 [1]+ Stopped rsync -aR a/./ ./b/ file has

Re: [PLUG] Understanding backup rsync error

2022-03-22 Thread Robert Citek
On Tue, Mar 22, 2022 at 8:52 AM Tomas Kuchta wrote: > On Tue, Mar 22, 2022, 09:16 Rich Shepard wrote: > > > Last night's incremental backup for /home has an error: > > Rsync-Errors > (/media/backup/salmo-home/20220322-0030/tree/../rsync_error): > >

Re: [PLUG] Using dmesg to find system starting delay

2022-03-07 Thread Robert Citek
On Mon, Mar 7, 2022 at 4:18 PM King Beowulf wrote: > On 3/4/22 13:41, Tomas Kuchta wrote: > > 1. You need to be root to use journalctl > > 2. Start looking/using at man pages, info pages and other on-line > > up-to-date sources. > FYI. Slackware, does not use systemd. journalctl is used to

Re: [PLUG] Replacement laptop

2022-02-25 Thread Robert Citek
Wow! This is a highly personal question that really depends on your use cases. But for a point of comparison, my use cases tend to be bimodal. That is, my compute needs are either very light ( email, browsing, text editing ) or very heavy ( analysis of scores of TB ) with very little in between.

Re: [PLUG] Meaning of number in column of ls -l?

2022-02-08 Thread Robert Citek
Just to add a bit of complexity, the number depends on the filesystem used. While true for an ext* filesystem that the number reflects the count of the number of folders within a directory, including the pointers to its parent and itself ( .. and . ), that may not be true on other filesystems,

Re: [PLUG] Connect BT keyboard to headless Raspberry

2022-01-21 Thread Robert Citek
On Fri, Jan 21, 2022 at 1:45 PM Eric House wrote: > > With screen you can resize the terminal size to fit using ctrl-a F - > > that's your screen's control command followed by a capital F. > > That works! If I have two different terminals ssh'd into the same screen > session and resize one then

Re: [PLUG] Setting to make Firefox look like it's coming from Windows

2022-01-21 Thread Robert Citek
User-Agent Switcher https://addons.mozilla.org/en-US/firefox/addon/uaswitcher/ Good luck and let us know how things go. Regards, - Robert On Fri, Jan 21, 2022 at 1:51 PM Dick Steffens wrote: > I recall someone mentioning a way to make Firefox look like it's a > Windows version instead of a

Re: [PLUG] Connect BT keyboard to headless Raspberry

2022-01-21 Thread Robert Citek
On Fri, Jan 21, 2022 at 1:45 PM Eric House wrote: > > With screen you can resize the terminal size to fit using ctrl-a F - > > that's your screen's control command followed by a capital F. > > That works! If I have two different terminals ssh'd into the same screen > session and resize one then

Re: [PLUG] Using crosh shell on a Chromebook ( was: Chromebooks and Linux )

2022-01-21 Thread Robert Citek
On Fri, Jan 21, 2022 at 2:09 AM John Jason Jordan wrote: > * If you have the laptop folded over, in 2-in-1 mode, how can you hold > it up in the air (like you were reading a book sitting in a > recliner), without your fingers pressing on the keys in back? > After a certain angle, the

Re: [PLUG] Using crosh shell on a Chromebook ( was: Chromebooks and Linux )

2022-01-20 Thread Robert Citek
s in the > cloud, but my brain is already plenty cloudy without that. When I read > something I want a copy of it on my own computer, not someplace in the > cloud that I have no control over. > > On Thu, 20 Jan 2022 16:09:06 -0700 > Robert Citek dijo: > > >Same scenari

Re: [PLUG] Using crosh shell on a Chromebook ( was: Chromebooks and Linux )

2022-01-20 Thread Robert Citek
ing I can't do locally I do in GCP where I keep a few systems powered > down. I mount my homedir from a synology NAS in the closet. It's a workflow > that works very well for me. There's even a globalprotect client for > ChromeOS for those stodgy work connections. > > Tim > >

[PLUG] Using crosh shell on a Chromebook ( was: Chromebooks and Linux )

2022-01-20 Thread Robert Citek
Thanks for your post, Timothy. I have almost the same environment here: read/listen to books on smartphone or tablet or Kindle, otherwise use a Chromebook ( rarely, I'll use my MacBookPro). In fact, if I need a "real" linux ( or Windows ) environment, I just create one in the cloud and then

Re: [PLUG] Chromebooks and Linux

2022-01-18 Thread Robert Citek
On Mon, Jan 17, 2022 at 9:47 PM John Jason Jordan wrote: > Does anyone know about putting Linux on Chromebooks? Or websites > dedicated to the issue? Suggestions welcome! > Depending on what you want to do, you may not need to install another distro. Rather, you can simply "enable" Linux. Open

Re: [PLUG] Setting up RAID1 on two 1G disks

2022-01-05 Thread Robert Citek
On Wed, Jan 5, 2022 at 3:42 PM Michael Ewan wrote: > For a file system I highly recommend XFS, it is way more robust > and way faster than ext4, the Linux kernel has supported it for years. > One of the advantages of using LVM is to expand or shrink a Logical Volume. But that requires the

Re: [PLUG] Switch ISP to CenturyLink

2021-12-29 Thread Robert Citek
I also have CenturyLink. However, I haven't hosted a box in my house in years ( well over a decade ). I went from static IP on the server(s) in my basement, to DHCP with dynamic DNS, to static IP at a CoLo, and finally to VM instances in the cloud. Cost and convenience were the prime

Re: [PLUG] ABC Plus?

2021-12-12 Thread Robert Citek
On Sun, Dec 12, 2021 at 2:02 PM Paul Heinlein wrote: > On Sat, 11 Dec 2021, Dick Steffens wrote: > > > Is anybody using ABC Plus to typeset music? > > > > http://abcplus.sourceforge.net/ > > I used ABC a long, long time ago. “ABC Plus. Now that’s a name I’ve not heard in a long time, a long

Re: [PLUG] Gawk: skipping first line

2021-11-19 Thread Robert Citek
Close. Remember, an awk script has the structure … PATTERN { ACTION } So you want ‘NR > 1’ to be a pattern, but you have it as an action. Your code needs to look more like this … BEGIN { FS = ","; OFS = "," } NR > 1 { print $1, $2, $3, $4, $5, $6, $7, $8 "chl-a", $9, "ug/l" } Regards, - Robert

Re: [PLUG] Early Overview CentOS 9 Stream

2021-11-18 Thread Robert Citek
On Thu, Nov 18, 2021 at 8:29 AM Paul Heinlein wrote: > I installed CentOS 9 Stream yesterday as a VM. (VMware note: to > install from the DVD ISO, you must use UEFI boot and the "Secure" > option must be deselected.) Thanks, Paul, for going through these steps and sharing your experiences. Do

Re: [PLUG] LO Calc: search key not found

2021-11-10 Thread Robert Citek
On Wed, 10 Nov 2021, Robert Citek wrote: > > > What are you trying to do? Can you post an example of inputs and > > desired outputs? > > Input: '14 output: 14 > Input: '26.3output: 26.3 > > Rich >

Re: [PLUG] LO Calc: search key not found

2021-11-10 Thread Robert Citek
Good morning, Rich. I’m still nursing my coffee this morning, so my brain isn’t fully up to speed. What are you trying to do? Can you post an example of inputs and desired outputs? Regards, - Robert On Wed, Nov 10, 2021 at 10:44 AM Rich Shepard wrote: > The exported (external) database query

Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
, Nov 8, 2021 at 2:14 PM Rich Shepard wrote: > On Mon, 8 Nov 2021, Robert Citek wrote: > > > What are you really trying to do? Get the data in an electronic format, > or > > print it on paper, or something else? - Robert > > Download digital data that can be analyzed. > > Rich >

Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
What are you really trying to do? Get the data in an electronic format, or print it on paper, or something else? - Robert On Mon, Nov 8, 2021 at 2:05 PM Rich Shepard wrote: > On Mon, 8 Nov 2021, Robert Citek wrote: > > > > onto different pages. If so, then maybe "fi

Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
It sounds like what you want is to "tile" the page and print separate tiles onto different pages. If so, then maybe "fit to page" ( or some scaling factor ) followed by `pdfposter` might fit your bill. http://manpages.ubuntu.com/manpages/bionic/man1/pdfposter.1.html FWIW, the link you provided

Re: [PLUG] Downloading wide web page displays on a square monitor

2021-11-08 Thread Robert Citek
Hello Rich, What comes to mind is the “fit to print” ( or similarly named ) option. Is the website publicly accessible? If so, can you post the URL so that we can try out solutions? Regards, - Robert On Mon, Nov 8, 2021 at 12:22 PM Rich Shepard wrote: > I use HP/Compaq LA1951g 19" square

Re: [PLUG] awk: is field blank?

2021-10-30 Thread Robert Citek
of an awk script: conditional {action} Simplified version of your script: BEGIN {FS="|"} $8 != " " ... and an example: $ echo -e "a|b|c|d\na|b||d" | awk -F'|' '$3 != ""' a|b|c|d Regards, - Robert On Sat, Oct 30, 2021 at 9:51 AM Rich Shepard wrote: >

Re: [PLUG] awk: is field blank?

2021-10-30 Thread Robert Citek
... and to negate the conditional use an exclamation point (!) : $ echo -e "a\tb\tc\td\na\tb\t\td" | awk -F'\t' '$3 != "" {print}' a b c d Regards, - Robert On Sat, Oct 30, 2021 at 9:46 AM Robert Citek wrote: > Sorry, this item didn't get pasted in my last post: >

Re: [PLUG] awk: is field blank?

2021-10-30 Thread Robert Citek
ecutive whitespace characters by default. Regards, - Robert On Sat, Oct 30, 2021 at 9:41 AM Robert Citek wrote: > Hello Rich, > > Here's a sample: > > $ echo -e "a\tb\tc\td\na\tb\t\td" | awk -F'\t' '{print}' > a b c d > a b d > > $ echo -e "a\tb\tc\td\na\

Re: [PLUG] awk: is field blank?

2021-10-30 Thread Robert Citek
Hello Rich, Here's a sample: $ echo -e "a\tb\tc\td\na\tb\t\td" | awk -F'\t' '{print}' a b c d a b d $ echo -e "a\tb\tc\td\na\tb\t\td" | awk -F'\t' '$3=="" {print}' a b d Good luck and let us know how it goes. Regards, - Robert On Sat, Oct 30, 2021 at 9:31 AM Rich Shepard wrote: > I've

Re: [PLUG] REVISED "Guiding Windows user to Linux"

2021-10-10 Thread Robert Citek
On Sun, Oct 10, 2021 at 5:37 AM Richard Owlett > That has me considering installing a VM on their machine in which I would > run Debian. Unless there are hardware constraints, highly recommended to install VM. Alternatives: - install Debian on bare metal, install Windows in VM - install VM

[PLUG] Chromebook from Multnomah County library

2021-10-01 Thread Robert Citek
Greetings, all. Has anyone checked out a Chromebook from the Multnomah County library? https://multcolib.bibliocommons.com/v2/record/S152C495534 In newer versions of ChromeOS you can enable a Linux VM. I would try this myself, but I am out of town and won't be back for several weeks. While I

Re: [PLUG] PLUG Constituent Poll 2021

2021-09-28 Thread Robert Citek
On Tue, Sep 28, 2021 at 12:45 AM Michael Dexter wrote: > On 9/27/21 6:19 AM, Daniel Ortiz wrote: > >> help when the person's computer doesn't have an OS yet? > >> > > There is a way, but it is less than ideal and may need correction by > people > > who see flaws in the way, but here is a way it

Re: [PLUG] Counting Files

2021-08-16 Thread Robert Citek
On Mon, Aug 16, 2021 at 8:17 PM Michael Barnes wrote: > Actually, they are callsigns instead of names. A couple of examples: > > w7...@k-0496-20210526.txt > wa7...@k-0497-20210714.txt > n8...@k-4386-20210725.txt > > I would like a simple count of the unique callsigns on a random basis and >

Re: [PLUG] C64 emulator ... was (ancient) .BAS file with linux

2021-07-13 Thread Robert Citek
from ProtonMail mobile > > Original Message > On Jul 13, 2021, 11:44 AM, Robert Citek wrote: > > > Just for fun, I tried to get the gb64 compiler to run. But it's not > > outputting "Hello, world!" > > Here's what I am doing on Ubuntu 20.04: > > &g

Re: [PLUG] C64 emulator ... was (ancient) .BAS file with linux

2021-07-13 Thread Robert Citek
Just for fun, I tried to get the gb64 compiler to run. But it's not outputting "Hello, world!" Here's what I am doing on Ubuntu 20.04: apt-get update apt-get install -y wget less tree g++ libgl-dev libglu1-mesa libglu1-mesa-dev vim cd /tmp/ wget

Re: [PLUG] running (ancient) .BAS file with linux

2021-07-13 Thread Robert Citek
On Tue, Jul 13, 2021 at 5:14 AM Bill Barry wrote: > On Tue, Jul 13, 2021 at 6:08 AM Richard Owlett > wrote: > > > > On 07/12/2021 07:13 PM, Bill Barry wrote: > > >[snip] > > > > > > I see a Debian package that might work > > > python3-pcbasic - cross-platform emulator for the GW-BASIC family of

Re: [PLUG] Reading a file with a dash

2021-06-29 Thread Robert Citek
On Tue, Jun 29, 2021 at 9:06 PM Michael Barnes wrote: > On Tue, Jun 29, 2021 at 7:47 AM Paul Heinlein wrote: > > > On Tue, 29 Jun 2021, Michael Barnes wrote: > > > > > Somehow, I managed to create a file named -u. I cannot figure out how > to > > > look at it as any command I give thinks -u is

Re: [PLUG] Perl: module fails to install

2021-06-21 Thread Robert Citek
On Mon, Jun 21, 2021 at 8:28 AM, Rich Shepard wrote: > I found perl-Gtk3 on SBo (SlackBuilds.org) and installed it and its 6 > dependencies. > > Now CGStar builds but displays a long list of optional dependencies it > cannot find; some actually are installed. I'll run the application without >

Re: [PLUG] Perl: module fails to install

2021-06-21 Thread Robert Citek
On Mon, Jun 21, 2021 at 6:44 AM Rich Shepard wrote: > On Sun, 20 Jun 2021, Robert Citek wrote: > > > Can you please provide some context info, such as, what OS, what distro, > > what version, what commands? > > Robert, > > Slackware-14.2/x86_65, perl-5.22.2-

Re: [PLUG] Perl: module fails to install

2021-06-20 Thread Robert Citek
On Sun, Jun 20, 2021 at 5:52 PM, Rich Shepard wrote: > On Sun, 20 Jun 2021, Rich Shepard wrote: > > > I'm trying to install Gtk3.pm in perl-5.22.2. gtk+3-3.18.9 is also > > installed, but perl fails the installation. > > The errors for trying to install Gtk3.pm and Gtk3 are the same. The 358 >

Re: [PLUG] How to tell where you're putting stuff

2021-06-18 Thread Robert Citek
On Fri, Jun 18, 2021 at 3:35 PM, Rich Shepard wrote: > On Fri, 18 Jun 2021, John Jason Jordan wrote: > > > I mount a removable drive at a folder in my root drive. I copy files to > > it. I umount the drive and unplug it. Later, with the removable drive not > > even plugged in I look at the

Re: [PLUG] Awk script syntax help

2020-09-23 Thread Robert Citek
Couldn't help to golf that. :) awk -v FS=, '$7 !~ /Gen12[cu]/' Regards, - Robert On Wed, Sep 23, 2020 at 1:02 PM wrote: > cat inputFile | awk -v FS=, '$7~/Gen12c|Gen12u/ {next; } {print;}' > > outFile > > On Wed, 2020-09-23 at 12:44 -0700, Rich Shepard wrote: > > Using gawk I want to print

Re: [PLUG] pdf tools?

2020-02-04 Thread Robert Citek
+1 for Thomas. Usually for those one-offs, a GUI pdf tool will do the trick just fine. As for qpdf, either of these should work: $ qpdf january-27-2020.pdf --pages . 6-7 -- Story.pdf $ qpdf --empty --pages january-27-2020.pdf 6-7 -- Story.pdf A simpler and less feature-rich tool is the

Re: [PLUG] Script not working as intended

2019-12-15 Thread Robert Citek
Four recommendations for troubleshooting: 1) use a test command that is not so destructive when it fails 2) log output 3) run it more frequently 4) include a positive control entry that you know should work and a negative control that you know won't For example, replace your original command:

Re: [PLUG] nohup question

2019-09-17 Thread Robert Citek
When nohup works, it's great. But when it doesn't ( e.g. asks for a password or confirmation a few minutes after starting ), it can be a bummer. For those not familiar with screen, here are five basic commands to get started: # to create a screen session screen # to detach from a screen

Re: [PLUG] Translating ^M to \n [WORKING]

2019-08-14 Thread Robert Citek
On Tue, Aug 13, 2019 at 10:23 PM Rodney W. Grimes wrote: > If you had followed the thread you would know that byte 1 > of the file is a 0xA, aka LF, and the dd was to rip that > byte off the file, but the command got morphed cause I > used a BSD iseek=1 syntax, and gnu dd does not understand >

Re: [PLUG] Translating ^M to \n [WORKING]

2019-08-13 Thread Robert Citek
Sounds like you used Emacs to do the equivalent of this: < hatchery_returns-2019-08-12.csv \ tr -s '\r\n' '\n' | sed -e 's/, /,/g;s/,$//' \ > hatchery_returns-2019-08-12.cleaned.csv Is that right? Regards, - Robert On Tue, Aug 13, 2019 at 8:37 AM Rich Shepard wrote: > On Tue, 13 Aug 2019,

Re: [PLUG] Gawk script not working as intended

2019-05-20 Thread Robert Citek
This is what I am getting: $ cat plug.awk #!/usr/bin/awk BEGIN { FS=OFS="," } { if ( $5 ~ /'Legal Contact'/ ) # double quotes also fail next else print $0 } $ cat plug.txt 'fld1','fld2','fld3','fld4','fld5' 'fee','fie','foh','fum','Keep Me' 'fee','fie','foh','fum','Legal

Re: [PLUG] Obtaining/compiling/installing python3.7

2019-04-26 Thread Robert Citek
If you have Docker and if it works for your use case ... $ docker run -t --rm python:3 python3 --version Python 3.7.3 $ docker run -t --rm python:3 python3 -c 'print("hello, world!")' hello, world! Regards, - Robert On Fri, Apr 26, 2019 at 11:53 AM Bill Barry wrote: > On Fri, Apr 26,

Re: [PLUG] Grub 0.97: convert VM with two disk to VM with single bootable disk

2019-04-26 Thread Robert Citek
for any distribution as long as you know > what crucial files that need to be restored. > > Good luck > > -- > David > > On Tue, 2019-04-23 at 15:05 -0700, Robert Citek wrote: > > Greetings, > > > > How can I turn a VM with two virtual disks into a VM wi

[PLUG] Grub 0.97: convert VM with two disk to VM with single bootable disk

2019-04-23 Thread Robert Citek
Greetings, How can I turn a VM with two virtual disks into a VM with a single virtual disk that boots? I have a VM with two virtual disks, running CentOS 6.10. The first disk (vda) has the MBR and all the boot files, i.e. vda1 is eventually mounted at /boot. The second disk (vdb) has an LVM

Re: [PLUG] Removing initial characters from all file names in directory

2019-02-08 Thread Robert Citek
$ ls -1 BMRR_Pits.cpg BMRR_Pits.dbf BMRR_Pits.prj BMRR_Pits.shp BMRR_Pits.shx $ rename 's/^BMRR_//' BMRR_* $ ls -1 Pits.cpg Pits.dbf Pits.prj Pits.shp Pits.shx Regards, - Robert On Fri, Feb 8, 2019 at 1:05 PM Rich Shepard wrote: > I have a directory with 30 files. Each filename begins with

Re: [PLUG] New desktop: issue with 'find'

2018-10-05 Thread Robert Citek
e case against alias, as shown by this thread, shows one pain point to > compare against the benefit. > What is the issue with the '\' prefix, which I did not know existed. > > On Thu, Oct 4, 2018 at 4:49 PM Robert Citek > wrote: > > > Avoid aliases and functions with a backslash.

Re: [PLUG] New desktop: issue with 'find'

2018-10-04 Thread Robert Citek
Avoid aliases and functions with a backslash. For example: $ \find /etc/ | head Regards, - Robert On Thu, Oct 4, 2018 at 4:38 PM wrote: > true - the alias usage was already answered by 'type find' > > However - if you reorder PATH variable than one could be picking up > find from ~/bin for

Re: [PLUG] What Comes After Unix?

2018-09-13 Thread Robert Citek
Just a minor nit: Though "survival of the fittest" is the catchphrase of natural selection, "survival of the fit enough" is more accurate. https://evolution.berkeley.edu/evolibrary/misconceptions_faq.php#b6 Regards, - Robert On Thu, Sep 13, 2018 at 10:11 AM Tyrell Jentink wrote: > Fair

Re: [PLUG] Which distribution for new user?

2018-09-12 Thread Robert Citek
Hello Rich, I've seen in the past you've used Chromium OS. I'm not familiar with it on desktops, although I have used Chromebooks for a few years now. Would that meet your criteria? Regards, - Robert On Wed, Sep 12, 2018 at 11:22 AM Rich Shepard wrote: >I'm building a system for a user

Re: [PLUG] Using jq to clean/organize SeaMonkey bookmarks?

2018-08-08 Thread Robert Citek
I use jq fairly regularly for cleaning up JSON and pretty-printing. > One related page I found is titled "jq is sed for JSON". That's a pretty fair statement. And like sed, you can do some pretty powerful transformations. And like sed, there comes a point where it becomes easier to use some

Re: [PLUG] Correcting duplicate strings in files [RESOLVED]

2018-06-19 Thread Robert Citek
Awk is a very nice "little" language. Glad to hear it worked. And thanks for letting us know. - Robert On Tue, Jun 19, 2018 at 4:58 PM, Rich Shepard wrote: > On Tue, 19 Jun 2018, Robert Citek wrote: > >> $2 != "16.00" { print ; next } <= the decimal s

Re: [PLUG] Correcting duplicate strings in files

2018-06-19 Thread Robert Citek
ards, - Robert On Tue, Jun 19, 2018 at 3:31 PM, Rich Shepard wrote: > On Tue, 19 Jun 2018, Robert Citek wrote: > >> Couple of typos and an addition (-F,) : > > > I'm not seeing the typos. > >> { cat <> 2012-10-01,14:00,90.7999 >> 2012-10-01,15:00,90.812

Re: [PLUG] Correcting duplicate strings in files

2018-06-19 Thread Robert Citek
Couple of typos and an addition (-F,) : { cat < wrote: > On Tue, 19 Jun 2018, Robert Citek wrote: > >> A quick pass. Needs testing and refactoring. >> >> $2 != "16.00" { print ; next } >> flag == 0 && $2 == "16:00" { print ; flag=

Re: [PLUG] Correcting duplicate strings in files

2018-06-19 Thread Robert Citek
A quick pass. Needs testing and refactoring. $2 != "16.00" { print ; next } flag == 0 && $2 == "16:00" { print ; flag=1 ; next } flag == 1 && $2 == "16:00" { $2=="17:00"; print; flag=0 ; next } On Tue, Jun 19, 2018 at 2:04 PM, Rich S

Re: [PLUG] Correcting duplicate strings in files

2018-06-19 Thread Robert Citek
I don't fully understand your question, but here are some examples that may be a step in the right direction: $ seq 1 5 | sed -e '1~2s/$/ --/' 1 -- 2 3 -- 4 5 -- $ seq 1 5 | sed -e '0~2s/$/ --/' 1 2 -- 3 4 -- 5 $ echo -e "2012-10-01,16:00,297.94\n2012-10-01,16:00,297.94" | sed -e

Re: [PLUG] Boingo Airport Wifi and Linux?

2018-04-28 Thread Robert Citek
I feel your pain. I've run into similar issues with many different wifi hotspots (airports, hotels, buses, trains, cafes, etc.) each with their own carrier. Rather than spend my rather limited time to figure out how to make my device work with those hotspots, my solution was to use a mobile

Re: [PLUG] Checking external hard drive

2017-11-20 Thread Robert Citek
On Mon, Nov 20, 2017 at 9:19 AM, Rich Shepard wrote: > UUID=da596a77-2fb4-41ed-881c-a3f8bb0ab437 /media/hd0 auto defaults 0 0 > /dev/sdc1/mnt/flashdrive vfatauto,users,rw 0 0 > /dev/sdb1/mnt/thumb vfatauto,users,rw 0 0 >