Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Richard Owlett
On 08/11/2019 04:45 PM, Russell Senior wrote: [snip] Did you see this? https://wiki.debian.org/WiFi/AdHoc Richard> Yes but it is not germane as Networkmanager was used to Richard> establish the connection. It does the same job but evidently Richard> stores its information differently. Netwo

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Richard Owlett
On 08/11/2019 10:04 AM, Nat Taylor wrote: so, you don't want to use the "ip" command to set your network addresses then use scp to copy files between the machines? I'm not familiar with either command. Running "ip addr" in multiple contexts prompts me to learn to parse its output. I've 3 tutor

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Bill Barry
On Mon, Aug 12, 2019 at 7:57 AM Richard Owlett wrote: > > On 08/11/2019 10:04 AM, Nat Taylor wrote: > > so, you don't want to use the "ip" command to set your network addresses > > then use scp to copy files between the machines? > > Browsing the man page for scp suggests it is massive overkill fo

Re: [PLUG] Any Java experts here?

2019-08-12 Thread Rich Shepard
On Sat, 10 Aug 2019, Ben Koenig wrote: Slackware-current x86_64 RYZEN cpu JDK8 u2xx from SBo Ben, How did you download jdk8u221 from SBo? When I try that link first took me to Oracle's sign in/register page. So I created an account with them. Then, when I tried to sign in, the server asked fo

Re: [PLUG] Any Java experts here?

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Rich Shepard wrote: How did you download jdk8u221 from SBo? Never mind. It took their web server an hour or so to recognize my e-mail address as the user name. Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.o

Re: [PLUG] Any Java experts here?

2019-08-12 Thread Rich Shepard
On Sat, 10 Aug 2019, Ben Koenig wrote: JabRef also lists JDK as a dependency, not openjdk. There might be a reason for this. Using jdk-8u221 allowed me to build and run JabRef 2.9.2. That version is so old it's barely functional; has no document type 'report' and defaults to 'other.' And, it d

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Richard Owlett
On 08/12/2019 08:28 AM, Bill Barry wrote: On Mon, Aug 12, 2019 at 7:57 AM Richard Owlett wrote: On 08/11/2019 10:04 AM, Nat Taylor wrote: so, you don't want to use the "ip" command to set your network addresses then use scp to copy files between the machines? Browsing the man page for scp s

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Rodney W. Grimes
> On 08/12/2019 08:28 AM, Bill Barry wrote: > > On Mon, Aug 12, 2019 at 7:57 AM Richard Owlett wrote: > >> > >> On 08/11/2019 10:04 AM, Nat Taylor wrote: > >>> so, you don't want to use the "ip" command to set your network addresses > >>> then use scp to copy files between the machines? > >> > >>

Re: [PLUG] Any Java experts here?

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Rich Shepard wrote: Using jdk-8u221 allowed me to build and run JabRef 2.9.2. That version is so old it's barely functional; has no document type 'report' and defaults to 'other.' And, it does not show the categories. Final note: with jdk-8u221 as the only jdk on the syste

[PLUG] uname question

2019-08-12 Thread Rich Shepard
The output of 'uname -a' on the new desktop is: Linux baetis 4.4.186 #2 SMP Sun Jul 21 20:34:29 CDT 2019 x86_64 AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux What does the '#2 SMP' mean following the kernel version number? It does not seem to fit the options shown on the uname man

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Russell Senior
it sounds like you want netcat with udp. Try "man nc". On Mon, Aug 12, 2019 at 9:29 AM Richard Owlett wrote: > On 08/12/2019 08:28 AM, Bill Barry wrote: > > On Mon, Aug 12, 2019 at 7:57 AM Richard Owlett > wrote: > >> > >> On 08/11/2019 10:04 AM, Nat Taylor wrote: > >>> so, you don't want to us

Re: [PLUG] uname question

2019-08-12 Thread Paul Heinlein
On Mon, 12 Aug 2019, Rich Shepard wrote: The output of 'uname -a' on the new desktop is: Linux baetis 4.4.186 #2 SMP Sun Jul 21 20:34:29 CDT 2019 x86_64 AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux What does the '#2 SMP' mean following the kernel version number? It does not seem

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Richard Owlett
On 08/12/2019 12:27 PM, Russell Senior wrote: it sounds like you want netcat with udp. Try "man nc". https://manpages.debian.org/testing/netcat-traditional/nc.1.en.html demonstrates just about *ALL possible failures* of man pages. Were I a repetitive "nc" user, it *might* remind me of obscure

Re: [PLUG] uname question

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Paul Heinlein wrote: You'll want to google for KBUILD_BUILD_VERSION (and perhaps also KBUILD_BUILD_TIMESTAMP) to see how those are generated. Thanks, Paul. If the answer's there I missed seeing it. But, it really doesn't matter as the system boots and knows it's 64-bits.

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Richard Owlett
On 08/12/2019 11:51 AM, Rodney W. Grimes wrote: On 08/12/2019 08:28 AM, Bill Barry wrote: On Mon, Aug 12, 2019 at 7:57 AM Richard Owlett wrote: On 08/11/2019 10:04 AM, Nat Taylor wrote: so, you don't want to use the "ip" command to set your network addresses then use scp to copy files betwee

[PLUG] Linux Journal Redux

2019-08-12 Thread Johnathan Mantey
The journal has been shuttered a second time. ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread wes
On Mon, Aug 12, 2019 at 11:46 AM Richard Owlett wrote: > > https://manpages.debian.org/buster/nfs-kernel-server/exports.5.en.html > *EXPLICITLY* refers to a *SERVER* > > My post declared SERVER/CLIENT relationships are [expletives deleted ;] > > > I would be curious to see what your definitions

Re: [PLUG] Linux Journal Redux

2019-08-12 Thread Paul Heinlein
On Mon, 12 Aug 2019, Johnathan Mantey wrote: The journal has been shuttered a second time. The economics of running media operations have changed so much over the past 25 years. There are now only a handful of for-profit Linux companies with national reach that would want access to LJ read

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Galen Seitz
On 8/12/19 11:43 AM, Richard Owlett wrote: My post declared SERVER/CLIENT  relationships are [expletives deleted ;] And I bet your desktop is running an X *server*. Oh, the horrors! If you really want to compute like it's 1975, there's always uucp, but I think you would be much better serve

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Russell Senior
If the "secure" part of scp is bothering you, Richard, you can use rcp instead. But, really it's all the same thing and the normal way of copying files over a network for the last couple decades. You are *always* going to request that a copy happen from one side. In the scp/rcp context, that side g

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Tyrell Jentink
I would argue that Morse code also has something resembling a Client and a Server... One client, maybe Carson City, NV says "Chicago, I have Nevada's State Constitution, can you forward to Washington, DC?" Chicago's telegraph operator cries a small tear, then starts copying. Carson City is the clie

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Russell Senior
Unless there is some magical out-of-band negotiation where both sides magically agree on what is about to happen, one side is going to make a request and the other side is going to satisfy that request. I suppose both sides could just broadcast their entire local content in some kind of a loop and

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Richard Owlett
On 08/12/2019 02:35 PM, Galen Seitz wrote: On 8/12/19 11:43 AM, Richard Owlett wrote: My post declared SERVER/CLIENT  relationships are [expletives deleted ;] And I bet your desktop is running an X *server*.  Oh, the horrors! If you really want to compute like it's 1975, there's always uucp,

[PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
I have large (~111M) .csv data files exported from a Microsoft Access database. Each file is one large block of text using ^M (carriage return) embedded as the line separator. 'sed' is probably the best tool to translate that control character to a newline (\n) but I don't know how to write '^M'

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Jason Barbier
https://emacs.stackexchange.com/questions/5779/how-to-convert-dos-windows-newline-characters-to-unix-format-within-gnu-emacs that covers it with emacs and if sed or tr is your speed https://stackoverflow.com/questions/2613800/how-to-convert-dos-windows-newline-crlf-to-unix-newline-lf-in-a-bash-s

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Rodney W. Grimes
> On 08/12/2019 11:51 AM, Rodney W. Grimes wrote: > >> On 08/12/2019 08:28 AM, Bill Barry wrote: > >>> On Mon, Aug 12, 2019 at 7:57 AM Richard Owlett > >>> wrote: > > On 08/11/2019 10:04 AM, Nat Taylor wrote: > > so, you don't want to use the "ip" command to set your network address

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Paul Heinlein
On Mon, 12 Aug 2019, Rich Shepard wrote: I have large (~111M) .csv data files exported from a Microsoft Access database. Each file is one large block of text using ^M (carriage return) embedded as the line separator. 'sed' is probably the best tool to translate that control character to a newli

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

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Jason Barbier wrote: https://emacs.stackexchange.com/questions/5779/how-to-convert-dos-windows-newline-characters-to-unix-format-within-gnu-emacs that covers it with emacs and if sed or tr is your speed https://stackoverflow.com/questions/2613800/how-to-convert-dos-windows-n

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Paul Heinlein wrote: tr -d '\r' < infile.csv > outfile.csv Thanks, Paul. I didn't know if tr would recognize ^M as \r so I used cat | tr "^M" "\n" and that changed it to the Mac format, rather than the UNIX format, for some reason Regards, Rich __

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Paul Heinlein
On Mon, 12 Aug 2019, Rich Shepard wrote: On Mon, 12 Aug 2019, Paul Heinlein wrote: tr -d '\r' < infile.csv > outfile.csv Thanks, Paul. I didn't know if tr would recognize ^M as \r so I used cat | tr "^M" "\n" and that changed it to the Mac format, rather than the UNIX format, for some re

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Paul Heinlein
On Mon, 12 Aug 2019, Paul Heinlein wrote: On Mon, 12 Aug 2019, Rich Shepard wrote: On Mon, 12 Aug 2019, Paul Heinlein wrote: tr -d '\r' < infile.csv > outfile.csv Thanks, Paul. I didn't know if tr would recognize ^M as \r so I used cat | tr "^M" "\n" and that changed it to the

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rodney W. Grimes
> I have large (~111M) .csv data files exported from a Microsoft Access > database. Each file is one large block of text using ^M (carriage return) > embedded as the line separator. Are you sure it is not ^J^M, your probably only seeing the ^M in emacs, this is known as CR LF line termination. Ma

Re: [PLUG] [Retitled for clarity] File sharing over a two node LAN

2019-08-12 Thread Ben Koenig
Even USB operates on a client/server model. Users who do not see the negotiations that occur behind the scene are, by definition, consumers of the standard. Hello Mr/Mrs. Future Customer! For $50 I'll write you a program* that initiates peer-to-peer** data transfer over wifi. I also offer phone s

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Paul Heinlein wrote: My original recipe above merely deletes carriage returns; it leaves newlines intact. Paul, Oh. I'll try that on a copy because I saw no newlines in the downloaded files. Thanks, Rich ___ PLUG mailing list

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Rich Shepard wrote: Oh. I'll try that on a copy because I saw no newlines in the downloaded files. The output file is one line, all 111M of it. :-) Thanks, Rich ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Michael Ewan
tr is your friend tr '\013' '\n' < old_file > new_file this will probably work also tr '\r' '\n' < old_file > new_file On Mon, Aug 12, 2019 at 2:28 PM Rich Shepard wrote: > I have large (~111M) .csv data files exported from a Microsoft Access > database. Each file is one large block of text usin

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Paul Heinlein Also, you can use "od -c" to verify the C-style character name tr will recognize. od -c inffile | less Tried this; less showed nothing until the end of the file. Without piping output to less the last character in the file was \r. Running 'cat | tr "\r"

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Jason Barbier wrote: https://emacs.stackexchange.com/questions/5779/how-to-convert-dos-windows-newline-characters-to-unix-format-within-gnu-emacs that covers it with emacs Jason, I looked at that thread and clicking on emacs' : in the status bar confirmed it is seen as in

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Michael Ewan wrote: tr is your friend tr '\013' '\n' < old_file > new_file this will probably work also tr '\r' '\n' < old_file > new_file Michael, As I've written, it should but doesn't. The smallest file can be downloaded from . Regards,

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rich Shepard
On Mon, 12 Aug 2019, Rodney W. Grimes wrote: Are you sure it is not ^J^M, your probably only seeing the ^M in emacs, this is known as CR LF line termination. Rodney, Yep. Many ways to fix it.. dos2unix is a common utility... Did this; emacs still shows ^M but the status line indicates UNI

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rodney W. Grimes
> On Mon, 12 Aug 2019, Paul Heinlein > > > Also, you can use "od -c" to verify the C-style character name tr will > > recognize. > > > > od -c inffile | less > > Tried this; less showed nothing until the end of the file. NOTHING? I think your missing something there, you should of seen \r's at

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Galen Seitz
On 8/12/19 4:34 PM, Rich Shepard wrote: On Mon, 12 Aug 2019, Michael Ewan wrote: tr is your friend tr '\013' '\n' < old_file > new_file this will probably work also tr '\r' '\n' < old_file > new_file Michael, As I've written, it should but doesn't. The smallest file can be downloaded from <

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rodney W. Grimes
> On Mon, 12 Aug 2019, Jason Barbier wrote: > > > https://emacs.stackexchange.com/questions/5779/how-to-convert-dos-windows-newline-characters-to-unix-format-within-gnu-emacs > > that covers it with emacs > > Jason, > > I looked at that thread and clicking on emacs' : in the status bar confirmed

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rodney W. Grimes
> > On Mon, 12 Aug 2019, Paul Heinlein > > > > > Also, you can use "od -c" to verify the C-style character name tr will > > > recognize. > > > > > > od -c inffile | less > > > > Tried this; less showed nothing until the end of the file. > > NOTHING? I think your missing something there, you sh

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rodney W. Grimes
> > On Mon, 12 Aug 2019, Jason Barbier wrote: > > > > > https://emacs.stackexchange.com/questions/5779/how-to-convert-dos-windows-newline-characters-to-unix-format-within-gnu-emacs > > > that covers it with emacs > > > > Jason, > > > > I looked at that thread and clicking on emacs' : in the stat

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rodney W. Grimes
> On 8/12/19 4:34 PM, Rich Shepard wrote: > > On Mon, 12 Aug 2019, Michael Ewan wrote: > > > >> tr is your friend > >> tr '\013' '\n' < old_file > new_file > >> this will probably work also > >> tr '\r' '\n' < old_file > new_file > > > > Michael, > > > > As I've written, it should but doesn't. >

Re: [PLUG] Translating ^M to \n

2019-08-12 Thread Rodney W. Grimes
> > On 8/12/19 4:34 PM, Rich Shepard wrote: > > > On Mon, 12 Aug 2019, Michael Ewan wrote: > > > > > >> tr is your friend > > >> tr '\013' '\n' < old_file > new_file > > >> this will probably work also > > >> tr '\r' '\n' < old_file > new_file > > > > > > Michael, > > > > > > As I've written, it