From tclug1 at whitleymott.net Sat Dec 1 17:55:18 2018 From: tclug1 at whitleymott.net (gregrwm) Date: Sat, 1 Dec 2018 17:55:18 -0600 Subject: [tclug-list] w not stopping at : Message-ID: i have 2 vim buffers on screen at the moment, in one, as usual, w stops at : in the other, w doesn't stop at : i've never seen that before. is there some setting for that in vim? i wonder how it happened -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug1 at whitleymott.net Thu Dec 13 07:20:08 2018 From: tclug1 at whitleymott.net (gregrwm) Date: Thu, 13 Dec 2018 07:20:08 -0600 Subject: [tclug-list] access former lvm Message-ID: on one disc i have one side of an md raid1 set containing an lvm volume from a prior centos7 install, and on another disc i have a fresh centos7 install. the fresh install sees the partitions on the former disc, but does not see the lvm volume there. what's needed for it to see the former lvm volume? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug1 at whitleymott.net Thu Dec 13 12:01:14 2018 From: tclug1 at whitleymott.net (gregrwm) Date: Thu, 13 Dec 2018 12:01:14 -0600 Subject: [tclug-list] access former lvm In-Reply-To: References: Message-ID: On Thu, Dec 13, 2018 at 7:20 AM gregrwm wrote: > on one disc i have one side of an md raid1 set containing an lvm volume > from a prior centos7 install, and on another disc i have a fresh centos7 > install. the fresh install sees the partitions on the former disc, but > does not see the lvm volume there. what's needed for it to see the former > lvm volume? > cat /proc/mdstat mdadm --run /dev/md4 mdadm --run /dev/md126 -- this concludes test 42 of big bang inflation dynamics. in the advent of an actual universe, further instructions will be provided. 000000000000000000000042 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpschewe at mtu.net Sun Dec 16 19:54:54 2018 From: jpschewe at mtu.net (Jon Schewe) Date: Sun, 16 Dec 2018 19:54:54 -0600 Subject: [tclug-list] Hosting options Message-ID: I've been hosting a server running mail, website, photo gallery, shell access, as a VM with a friend's business for some time. Things are changing and I need to find a new place to host the "server". 15 years ago I would have had a physical server co-located at an ISP. These days having a virtual server seems the way to go. I've started looking at Amazon, Linode and Digital Ocean. It looks like Amazon and Digital Ocean are the best deal, but I'd like to hear from others. Note that I'm not looking at a site like BlueHost or other web hosting companies because I would like to maintain shell access and be able to run long running processes like Jenkins. Does anyone here have experience with a for this kind of hosting? Do you have a recommendation? Thank you Jon -- http://mtu.net/~jpschewe -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug at freakzilla.com Sun Dec 16 20:24:32 2018 From: tclug at freakzilla.com (Clug) Date: Sun, 16 Dec 2018 20:24:32 -0600 (CST) Subject: [tclug-list] Hosting options In-Reply-To: References: Message-ID: I don't know if this is an option for you, but Comcast Business will happily sell you bandwidth, give you static IPs and allow you to run your own servers. It's not that much more expensive than non-business and actually has a support department that knows what they're doing. On Sun, 16 Dec 2018, Jon Schewe wrote: > I've been hosting a server running mail, website, photo gallery, shell > access, as a VM with a friend's business for some time. Things are changing > and I need to find a new place to host the "server".? 15 years ago I would > have had a physical server co-located at an ISP.? These days having a > virtual server seems the way to go. > > I've started looking at Amazon, Linode and Digital Ocean. It looks like > Amazon and Digital Ocean are the best deal, but I'd like to hear from > others. Note that I'm not looking at a site like BlueHost or other web > hosting companies because I would like to maintain shell access and be able > to run long running processes like Jenkins. > > Does anyone here have experience with a for this kind of hosting? Do you > have a recommendation?? > > Thank you > Jon > > -- > http://mtu.net/~jpschewe > > > From trnja001 at umn.edu Sun Dec 16 20:32:42 2018 From: trnja001 at umn.edu (Elvedin Trnjanin) Date: Sun, 16 Dec 2018 20:32:42 -0600 Subject: [tclug-list] Hosting options In-Reply-To: References: Message-ID: <304587FD-B8CA-4293-A556-CF797830C439@umn.edu> Jon, The $5 per month server from Digital Ocean can get you pretty far and you can find credits of up to $100 for new signups. It?s a great deal and DO been very reliable for me over the last 3 or so years. > On Dec 16, 2018, at 7:54 PM, Jon Schewe wrote: > > I've been hosting a server running mail, website, photo gallery, shell access, as a VM with a friend's business for some time. Things are changing and I need to find a new place to host the "server". 15 years ago I would have had a physical server co-located at an ISP. These days having a virtual server seems the way to go. > > I've started looking at Amazon, Linode and Digital Ocean. It looks like Amazon and Digital Ocean are the best deal, but I'd like to hear from others. Note that I'm not looking at a site like BlueHost or other web hosting companies because I would like to maintain shell access and be able to run long running processes like Jenkins. > > Does anyone here have experience with a for this kind of hosting? Do you have a recommendation? > > Thank you > Jon > > -- > http://mtu.net/~jpschewe > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpschewe at mtu.net Mon Dec 17 06:12:07 2018 From: jpschewe at mtu.net (Jon Schewe) Date: Mon, 17 Dec 2018 06:12:07 -0600 Subject: [tclug-list] Hosting options In-Reply-To: References: Message-ID: That's an option I will consider as well. However the bandwidth for the base business class is less than the residential. Also going with a VPS provider, it seems that the hardware is automatically upgraded over time, where using business class I'd need my own hardware. On Sun, Dec 16, 2018 at 8:34 PM Clug wrote: > I don't know if this is an option for you, but Comcast Business will > happily sell you bandwidth, give you static IPs and allow you to run your > own servers. It's not that much more expensive than non-business and > actually has a support department that knows what they're doing. > > On Sun, 16 Dec 2018, Jon Schewe wrote: > > > I've been hosting a server running mail, website, photo gallery, shell > > access, as a VM with a friend's business for some time. Things are > changing > > and I need to find a new place to host the "server". 15 years ago I > would > > have had a physical server co-located at an ISP. These days having a > > virtual server seems the way to go. > > > > I've started looking at Amazon, Linode and Digital Ocean. It looks like > > Amazon and Digital Ocean are the best deal, but I'd like to hear from > > others. Note that I'm not looking at a site like BlueHost or other web > > hosting companies because I would like to maintain shell access and be > able > > to run long running processes like Jenkins. > > > > Does anyone here have experience with a for this kind of hosting? Do you > > have a recommendation? > > > > Thank you > > Jon > > > > -- > > http://mtu.net/~jpschewe > > > > > >_______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -- http://mtu.net/~jpschewe -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Wed Dec 26 12:41:23 2018 From: woodbrian77 at gmail.com (Brian Wood) Date: Wed, 26 Dec 2018 12:41:23 -0600 Subject: [tclug-list] Flu shot Message-ID: Shalom Has anyone found a place to get a flu shot based on Flucelvax? https://www.bloomberg.com/news/articles/2018-11-16/flu-shot-gets-a-boost-from-dispensing-with-1940s-technology?srnd=premium I got the old school flu shot in 2017. A month or so later I got the worst flu I've ever had -- it lasted 3 weeks. Now it's time for a real flu shot. My duckduckgo.com fu hasn't turned up a local provider. Tia. Brian Ebenezer Enterprises - Enjoying programming again. http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug at freakzilla.com Wed Dec 26 12:39:31 2018 From: tclug at freakzilla.com (Clug) Date: Wed, 26 Dec 2018 12:39:31 -0600 (CST) Subject: [tclug-list] Flu shot In-Reply-To: References: Message-ID: Ok, you win Off-Topicest Post of the Year. On Wed, 26 Dec 2018, Brian Wood wrote: > Shalom > > Has anyone found a place to get a flu shot based on Flucelvax?? > https://www.bloomberg.com/news/articles/2018-11-16/flu-shot-gets-a-boost-fr > om-dispensing-with-1940s-technology?srnd=premium > > I got the old school flu shot in 2017.? A month or so later I > got the worst flu I've ever had -- it lasted 3 weeks.? Now it's > time for a real flu shot.? My duckduckgo.com fu hasn't turned > up a local provider.? Tia. > > > Brian > Ebenezer Enterprises - Enjoying programming again. > http://webEbenezer.net > > From eng at pinenet.com Wed Dec 26 18:01:57 2018 From: eng at pinenet.com (Rick Engebretson) Date: Wed, 26 Dec 2018 18:01:57 -0600 Subject: [tclug-list] Flu shot In-Reply-To: References: Message-ID: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> Yep, got my vote, too. While I'm at it, a plug for Linux. These penguin months are great reading time. Been again reading Maurice Bach's great book "The Design of the Unix Operating System," 1986. Just today got a 1992 book, "X Window Inside and Out" by Reiss and Radin that finally helps me understand the client server concept. They brag about their 33MHz 486 PC with 8 MB memory. I just don't get the younger generation. Peace, prosperity, opportunity, and linux. Clug wrote: > Ok, you win Off-Topicest Post of the Year. > > On Wed, 26 Dec 2018, Brian Wood wrote: > >> Shalom >> >> Has anyone found a place to get a flu shot based on Flucelvax? >> https://www.bloomberg.com/news/articles/2018-11-16/flu-shot-gets-a-boost-fr >> >> om-dispensing-with-1940s-technology?srnd=premium >> >> I got the old school flu shot in 2017. A month or so later I >> got the worst flu I've ever had -- it lasted 3 weeks. Now it's >> time for a real flu shot. My duckduckgo.com fu hasn't turned >> up a local provider. Tia. >> >> >> Brian >> Ebenezer Enterprises - Enjoying programming again. >> http://webEbenezer.net >> >> > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From cncole at earthlink.net Wed Dec 26 20:16:38 2018 From: cncole at earthlink.net (Chuck Cole) Date: Wed, 26 Dec 2018 21:16:38 -0500 Subject: [tclug-list] Flu shot In-Reply-To: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> References: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> Message-ID: <004e01d49d8a$3319e610$994db230$@net> My flu shots are all 9mm. Very effective! > -----Original Message----- > From: tclug-list-bounces at mn-linux.org [mailto:tclug-list-bounces at mn-linux.org] > On Behalf Of Rick Engebretson > Sent: Wednesday, December 26, 2018 7:02 PM > To: TCLUG Mailing List > Subject: Re: [tclug-list] Flu shot > > Yep, got my vote, too. > > While I'm at it, a plug for Linux. These penguin months are great > reading time. Been again reading Maurice Bach's great book "The Design > of the Unix Operating System," 1986. Just today got a 1992 book, "X > Window Inside and Out" by Reiss and Radin that finally helps me > understand the client server concept. They brag about their 33MHz 486 PC > with 8 MB memory. > > I just don't get the younger generation. Peace, prosperity, opportunity, > and linux. > > Clug wrote: > > Ok, you win Off-Topicest Post of the Year. > > > > On Wed, 26 Dec 2018, Brian Wood wrote: > > > >> Shalom > >> > >> Has anyone found a place to get a flu shot based on Flucelvax? > >> https://www.bloomberg.com/news/articles/2018-11-16/flu-shot-gets-a-boost-fr > >> > >> om-dispensing-with-1940s-technology?srnd=premium > >> > >> I got the old school flu shot in 2017. A month or so later I > >> got the worst flu I've ever had -- it lasted 3 weeks. Now it's > >> time for a real flu shot. My duckduckgo.com fu hasn't turned > >> up a local provider. Tia. > >> > >> > >> Brian > >> Ebenezer Enterprises - Enjoying programming again. > >> http://webEbenezer.net From chapinjeff at gmail.com Thu Dec 27 09:13:04 2018 From: chapinjeff at gmail.com (Jeff Chapin) Date: Thu, 27 Dec 2018 09:13:04 -0600 Subject: [tclug-list] Flu shot In-Reply-To: <004e01d49d8a$3319e610$994db230$@net> References: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> <004e01d49d8a$3319e610$994db230$@net> Message-ID: I don't vaccinate my family. That's just irresponsible and ignores all the risks that causes. I let the doctor do it. On Wed, Dec 26, 2018 at 9:11 PM Chuck Cole wrote: > My flu shots are all 9mm. Very effective! > > > -----Original Message----- > > From: tclug-list-bounces at mn-linux.org > [mailto:tclug-list-bounces at mn-linux.org] > > On Behalf Of Rick Engebretson > > Sent: Wednesday, December 26, 2018 7:02 PM > > To: TCLUG Mailing List > > Subject: Re: [tclug-list] Flu shot > > > > Yep, got my vote, too. > > > > While I'm at it, a plug for Linux. These penguin months are great > > reading time. Been again reading Maurice Bach's great book "The Design > > of the Unix Operating System," 1986. Just today got a 1992 book, "X > > Window Inside and Out" by Reiss and Radin that finally helps me > > understand the client server concept. They brag about their 33MHz 486 PC > > with 8 MB memory. > > > > I just don't get the younger generation. Peace, prosperity, opportunity, > > and linux. > > > > Clug wrote: > > > Ok, you win Off-Topicest Post of the Year. > > > > > > On Wed, 26 Dec 2018, Brian Wood wrote: > > > > > >> Shalom > > >> > > >> Has anyone found a place to get a flu shot based on Flucelvax? > > >> > https://www.bloomberg.com/news/articles/2018-11-16/flu-shot-gets-a-boost-fr > > >> > > >> om-dispensing-with-1940s-technology?srnd=premium > > >> > > >> I got the old school flu shot in 2017. A month or so later I > > >> got the worst flu I've ever had -- it lasted 3 weeks. Now it's > > >> time for a real flu shot. My duckduckgo.com fu hasn't turned > > >> up a local provider. Tia. > > >> > > >> > > >> Brian > > >> Ebenezer Enterprises - Enjoying programming again. > > >> http://webEbenezer.net > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -- Jeff Chapin President, CedarLug, retired President, UNIPC, "I'll get around to it" President, UNI Scuba Club Senator, NISG, retired -------------- next part -------------- An HTML attachment was scrubbed... URL: From zedlan at invec.net Thu Dec 27 09:27:52 2018 From: zedlan at invec.net (zedlan) Date: Thu, 27 Dec 2018 10:27:52 -0500 (EST) Subject: [tclug-list] UNSUBSCRIBE In-Reply-To: References: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> <004e01d49d8a$3319e610$994db230$@net> Message-ID: <498841899.206094.1545924472456@webmail.networksolutionsemail.com> UNSUBSCRIBE > On December 27, 2018 at 10:13 AM Jeff Chapin wrote: > > I don't vaccinate my family. That's just irresponsible and ignores all the risks that causes. I let the doctor do it. > > On Wed, Dec 26, 2018 at 9:11 PM Chuck Cole < cncole at earthlink.net mailto:cncole at earthlink.net > wrote: > > > > My flu shots are all 9mm. Very effective! > > > > > -----Original Message----- > > > From: tclug-list-bounces at mn-linux.org mailto:tclug-list-bounces at mn-linux.org > > [mailto: tclug-list-bounces at mn-linux.org mailto:tclug-list-bounces at mn-linux.org ] > > > On Behalf Of Rick Engebretson > > > Sent: Wednesday, December 26, 2018 7:02 PM > > > To: TCLUG Mailing List > > > Subject: Re: [tclug-list] Flu shot > > > > > > Yep, got my vote, too. > > > > > > While I'm at it, a plug for Linux. These penguin months are great > > > reading time. Been again reading Maurice Bach's great book "The Design > > > of the Unix Operating System," 1986. Just today got a 1992 book, "X > > > Window Inside and Out" by Reiss and Radin that finally helps me > > > understand the client server concept. They brag about their 33MHz 486 PC > > > with 8 MB memory. > > > > > > I just don't get the younger generation. Peace, prosperity, opportunity, > > > and linux. > > > > > > Clug wrote: > > > > Ok, you win Off-Topicest Post of the Year. > > > > > > > > On Wed, 26 Dec 2018, Brian Wood wrote: > > > > > > > >> Shalom > > > >> > > > >> Has anyone found a place to get a flu shot based on Flucelvax? > > > >> > > https://www.bloomberg.com/news/articles/2018-11-16/flu-shot-gets-a-boost-fr > > > >> > > > >> om-dispensing-with-1940s-technology?srnd=premium > > > >> > > > >> I got the old school flu shot in 2017. A month or so later I > > > >> got the worst flu I've ever had -- it lasted 3 weeks. Now it's > > > >> time for a real flu shot. Myhttp://duckduckgo.com fu hasn't turned > > > >> up a local provider. Tia. > > > >> > > > >> > > > >> Brian > > > >> Ebenezer Enterprises - Enjoying programming again. > > > >> http://webEbenezer.net > > > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > tclug-list at mn-linux.org mailto:tclug-list at mn-linux.org > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > > > > -- > Jeff Chapin > President, CedarLug, retired > President, UNIPC, "I'll get around to it" > President, UNI Scuba Club > Senator, NISG, retired > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iznogoud at nobelware.com Thu Dec 27 18:29:46 2018 From: iznogoud at nobelware.com (Iznogoud) Date: Fri, 28 Dec 2018 00:29:46 +0000 Subject: [tclug-list] books (was "Flu shot") In-Reply-To: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> References: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> Message-ID: <20181228002946.GA27252@nobelware.com> Great books to read, judging from the title. The 1992 book is post MIT's Athena Project, so it may be a good one to read. I'd welcome a concise review on this list. I found this very brief whitepaper, which has some nice historical info: https://pdfs.semanticscholar.org/73a5/99cf5e526d3499fa9748dfaf9bdd58a89e1f.pdf The references include your book and the classic book on OSs by Tanenbaum. There is a slight irony here regarding X. The stir is about Wayland, and how it may be the new thing that replaces X: https://en.wikipedia.org/wiki/Wayland_%28display_server_protocol%29 http://www.linux-magazine.com/Online/Features/Is-Wayland-the-New-X But maybe this is old news, as I have not seen anything on my desk yet. But what do I know... From eng at pinenet.com Thu Dec 27 23:03:37 2018 From: eng at pinenet.com (Rick Engebretson) Date: Thu, 27 Dec 2018 23:03:37 -0600 Subject: [tclug-list] books In-Reply-To: <20181228002946.GA27252@nobelware.com> References: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> <20181228002946.GA27252@nobelware.com> Message-ID: <8a305a44-3040-cc80-944a-804292d211fb@pinenet.com> Sincere thanks again. Please allow me to throw out some concepts that recently seem interesting to me. Remember, I'm basically a sweaty stinky nature lover and pretend farmer. But the dirt really makes me cherish MPR Classical radio we get perfect out here. And hack Linux programming really allows me to pretend I'm still civilized. As regards the X book, a nice picture shows the ancient separation of mainframe CPU/Memory/Storage running the Application called an "X Client." And the little "X Terminal" Display sat in front of the user and is called the "X Server." This is backwards from some other client/server arrangements, but certainly might make sense in creating eg. security cameras all displaying on one screen. I didn't yet find a good explanation of "Graphics Context" in the book. Maybe later. But I would love to see some local Minnesota users of the open source XForms Library. Great documentation, all C code, built from Xlib alone. I backed myself into a corner making a FreePascal wrapper, locking in hard coded 32 bit pointers then used by Pascal Records to replace C Structures, and other data types. But the simple Pascal Records and Objects really clarified and fixed some demos and other things I tried. Another thing I just did was a little demo using Local(Unix) sockets with type "SOCK_SEQPACKET," instead of streams. A very handy asynchronous and connection controlled recent Linux IPC. A first come first served queue of connect requests. The answer I was looking for in the old Bach book I actually found in "Linux Programming by Example" by Kurt Wall. Using the "pipe" system call gives you 2 "file descriptors" pointing to "an in core inode" that must be created in the kernel itself. Unix was engineered, and works like a symphony orchestra. Iznogoud wrote: > Great books to read, judging from the title. The 1992 book is post MIT's > Athena Project, so it may be a good one to read. I'd welcome a concise review > on this list. > > I found this very brief whitepaper, which has some nice historical info: > https://pdfs.semanticscholar.org/73a5/99cf5e526d3499fa9748dfaf9bdd58a89e1f.pdf > The references include your book and the classic book on OSs by Tanenbaum. > > There is a slight irony here regarding X. The stir is about Wayland, and how > it may be the new thing that replaces X: > https://en.wikipedia.org/wiki/Wayland_%28display_server_protocol%29 > http://www.linux-magazine.com/Online/Features/Is-Wayland-the-New-X > But maybe this is old news, as I have not seen anything on my desk yet. > > But what do I know... > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From iznogoud at nobelware.com Sat Dec 29 12:47:08 2018 From: iznogoud at nobelware.com (Iznogoud) Date: Sat, 29 Dec 2018 18:47:08 +0000 Subject: [tclug-list] books In-Reply-To: <8a305a44-3040-cc80-944a-804292d211fb@pinenet.com> References: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> <20181228002946.GA27252@nobelware.com> <8a305a44-3040-cc80-944a-804292d211fb@pinenet.com> Message-ID: <20181229184708.GA19106@nobelware.com> Still sounds to me like you are living a pretty good life in the boonies. A lot was discussed on USENET in the 90s and on webpages in early 2000s about the "backwardness" of the X11 client/server terminology. My personal understanding, and the best explanation I can provide to clear up confusion, is that an X server "serves the display" to clients who want to "connect and display on it." Remember, on Linux, the user sitting at the X server's display does not even own the X server process. But to be clear, to do 3D acceleration there are some devices that need to be owned by the user, and the starting of the X session makes sure that ownership of those devices in /dev/ are handed to the user. I am rusty on this, but it has been like that since the 90s. And I just looked, and on my desktop right now I am the owner of /dev/xconsole. Yup... It can confuse people; I can see that. Your book probably has a much better high-level explanation of the graphics context than I can provide. In a nutshell, all drawing happens through some kind of graphics context, and there are separate graphics contexts for different functionality. Programmatically, you just create the GC type that you need and then you start using its resources. Not much to know here unless you are diving deep into the X architecture, which is probably not worth your time right now. If you have got as far as hacking Pascal together with C for X11 client applications, you are not exactly a n00b then... Unix sockets are great, and simple to program. "Unidirectional pipes," which is what you were talking about with those two file descriptors, I use all the time for real-time applications that require communication across threads. I use POSIX threads (always), and I make unidirectional pipes in order to pass data across them instead of using shared memory and dealing with race conditions. I put the output file descriptor of the unidirectional pipe in a "select() monitoring state with a long timeout, and trap events as they come, meaning one thread piping data to the other. It has never let me down. But if anyone has a better method, I am dying to hear it. > > Unix was engineered, and works like a symphony orchestra. > The fact that so much was ported to Linux/BSD from modern, desktop-use driven, single-user oriented platforms (like Windows) is a testament to an excellent OS architecture. Some old American programmers in the 70s can stand proudly. OK. We steered this thread sufficiently far away from flu-shots, and I feel good about that. From eng at pinenet.com Sat Dec 29 13:53:28 2018 From: eng at pinenet.com (Rick Engebretson) Date: Sat, 29 Dec 2018 13:53:28 -0600 Subject: [tclug-list] books In-Reply-To: <20181229184708.GA19106@nobelware.com> References: <30389d4b-750b-1b7b-0691-f09056f140bf@pinenet.com> <20181228002946.GA27252@nobelware.com> <8a305a44-3040-cc80-944a-804292d211fb@pinenet.com> <20181229184708.GA19106@nobelware.com> Message-ID: <3e4e9830-c28a-40d4-7f01-d4462f07ffdb@pinenet.com> Always a pleasure, thanks. I won't take credit for the Pascal wrapper of XForms. I just updated and cleaned up some FreePascal stuff for my use. I did notice the latest XForms was even better than 10 years ago. The Image library component of XForms is also worth mentioning, since it gives you a direct mapping to the screen. You are right "OK. We steered this thread sufficiently far away from flu-shots, and I feel good about that." My wife and I moved here from the U of M when we had children in the early 80s. I don't know how else to avoid the drug carnage, but the hillbilly culture is also dead end. My engineer daughter's wedding was at the JJHill library in St. Paul, with some password of "books." Her new father-in-law is a 75y/o Paleontology professor in Lubbock, Texas who now seriously questions Darwin because he is studying modern Biophysics of genetics and cell biology. Thanks for helping hold civilization together. We can't afford to lose it. Iznogoud wrote: > Still sounds to me like you are living a pretty good life in the boonies. > > A lot was discussed on USENET in the 90s and on webpages in early 2000s > about the "backwardness" of the X11 client/server terminology. My personal > understanding, and the best explanation I can provide to clear up confusion, > is that an X server "serves the display" to clients who want to "connect and > display on it." Remember, on Linux, the user sitting at the X server's display > does not even own the X server process. But to be clear, to do 3D acceleration > there are some devices that need to be owned by the user, and the starting of > the X session makes sure that ownership of those devices in /dev/ are handed > to the user. I am rusty on this, but it has been like that since the 90s. And > I just looked, and on my desktop right now I am the owner of /dev/xconsole. > > Yup... It can confuse people; I can see that. > > Your book probably has a much better high-level explanation of the graphics > context than I can provide. In a nutshell, all drawing happens through some > kind of graphics context, and there are separate graphics contexts for > different functionality. Programmatically, you just create the GC type that > you need and then you start using its resources. Not much to know here unless > you are diving deep into the X architecture, which is probably not worth your > time right now. > > If you have got as far as hacking Pascal together with C for X11 client > applications, you are not exactly a n00b then... > > Unix sockets are great, and simple to program. "Unidirectional pipes," which > is what you were talking about with those two file descriptors, I use all the > time for real-time applications that require communication across threads. > I use POSIX threads (always), and I make unidirectional pipes in order to > pass data across them instead of using shared memory and dealing with race > conditions. I put the output file descriptor of the unidirectional pipe in > a "select() monitoring state with a long timeout, and trap events as they > come, meaning one thread piping data to the other. It has never let me down. > But if anyone has a better method, I am dying to hear it. > >> >> Unix was engineered, and works like a symphony orchestra. >> > > The fact that so much was ported to Linux/BSD from modern, desktop-use driven, > single-user oriented platforms (like Windows) is a testament to an excellent > OS architecture. Some old American programmers in the 70s can stand proudly. > > OK. We steered this thread sufficiently far away from flu-shots, and I feel > good about that. > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From bunjee50 at gmail.com Sat Dec 29 14:03:28 2018 From: bunjee50 at gmail.com (Danny Johnson) Date: Sat, 29 Dec 2018 14:03:28 -0600 Subject: [tclug-list] change password Message-ID: Hello! I can't get in to my terminal because it will not recognize my password. I am using Ubuntu 18.04. All was well then - BAMM!!! Really frustrating. Please advise. Dan J. Newbie -------------- next part -------------- An HTML attachment was scrubbed... URL: From iznogoud at nobelware.com Sat Dec 29 15:44:18 2018 From: iznogoud at nobelware.com (Iznogoud) Date: Sat, 29 Dec 2018 21:44:18 +0000 Subject: [tclug-list] change password In-Reply-To: References: Message-ID: <20181229214418.GA26076@nobelware.com> The simplest procedure is to boot from an installation medium, "live CD" or anything like that, find the partition where the system is installed, and change the hash of the password to a blank. You are looking for the file "/etc/shadow" in one of those partitions. It should be easy to mount the partition; look up instructions online. Edit the file with your favourite editor. Make the second field blank. It is the one after your username, and fields are separated by a colon. When you reboot from the regular drive as usual, you can login without a password. From bunjee50 at gmail.com Sat Dec 29 15:59:10 2018 From: bunjee50 at gmail.com (Danny Johnson) Date: Sat, 29 Dec 2018 15:59:10 -0600 Subject: [tclug-list] change password In-Reply-To: <20181229214418.GA26076@nobelware.com> References: <20181229214418.GA26076@nobelware.com> Message-ID: You're explaining something to me that I don't understand. In particular........... "find the partition where the system is installed, and change the hash of the password to a blank. You are looking for the file "/etc/shadow" in one of those partitions." Can you please be much more specific? Remember - you are talking to a newbie - a real newbie! Don't know what a hash is especially one to a blank. I just don't understand why this happened anyway. Can you explain that? On Sat, Dec 29, 2018 at 3:44 PM Iznogoud wrote: > The simplest procedure is to boot from an installation medium, "live CD" or > anything like that, find the partition where the system is installed, and > change the hash of the password to a blank. You are looking for the file > "/etc/shadow" in one of those partitions. It should be easy to mount the > partition; look up instructions online. > > Edit the file with your favourite editor. Make the second field blank. It > is > the one after your username, and fields are separated by a colon. > > When you reboot from the regular drive as usual, you can login without a > password. > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iznogoud at nobelware.com Sat Dec 29 19:39:17 2018 From: iznogoud at nobelware.com (Iznogoud) Date: Sat, 29 Dec 2018 19:39:17 -0600 Subject: [tclug-list] change password In-Reply-To: References: <20181229214418.GA26076@nobelware.com> Message-ID: <20181230013917.GA1933@nobelware.com> Oh... OK, this is going to be hard, but I will try. I do not know why that happened to you. Please provide distribution name and version so that somebody who uses that can help you if I fail. When you boot with a live CD, which is what I saw you should do, just like installing a brand new system, you can do a lot of non-traditional things. What I recommend is that you escape to a shell, as in, a bash or something like it, that the live CD can provide. Then, type some commands from there. If the live CD does not have a graphical interface that makes it clear how to bring up a shell, just type CTRL+[LEFT ALT]+F1 and see if it gets you to a console. Hit RETURN a few times. If there is a login there, enter "root" and it should log you in. Now we are ready for some commands. You can use "fdisk" or "partd" to query the partitions on a disk. It will typically be /dev/sda for you, as in the first SATA/IDE drive on the system. Look up online how to use fdisk or partd. It should be able to list the partitions. Chances are that either /dev/sda1 or /dev/sda2 will be a system partition, with all the directory structure in it. You will find out how to "mount" a partition to a temporary mount-point. It should be something like 'mount /dev/sda1 /mnt' and it will give you access to the entire filesystem under the /mnt directory on the live-booted system. Now edit, with an editor like "vi" "vim" or the like, the file: "/mnt/etc/shadow" Look online for how to use an editor like "vi" or similar. Be patient, it will not be easy at first, but it should work. All you have to do is remove the garbage that will be after your username of the line in the file that contains it. It will look like this: danny:kjhsjkhahakjshdfkh:::::: Make it look like: danny::::::: where you have two consecutive colons after "danny" which implies an empty password. Reboot the regular system and just log in without a password. From 42dch42 at gmail.com Sun Dec 30 19:49:42 2018 From: 42dch42 at gmail.com (harv) Date: Sun, 30 Dec 2018 19:49:42 -0600 Subject: [tclug-list] tclug-list Digest, Vol 168, Issue 8 In-Reply-To: References: Message-ID: <5c2975ba.1c69fb81.9d1d.4328@mx.google.com> Sat, 29 Dec 2018 19:39:30 -0600 > Date: Sat, 29 Dec 2018 14:03:28 -0600 > From: Danny Johnson > To: TCLUG Mailing List > Subject: [tclug-list] change password > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Hello! > I can't get in to my terminal because it will not recognize my password. > I am using Ubuntu 18.04. > All was well then - BAMM!!! > Really frustrating. > Please advise. > > Dan J. > Newbie I don't use ubuntu but this has worked on every other distro I have used. You could try this. At the grub boot menu you should see: Ubuntu Ubuntu Advanced Options Look under Advanced options for 'single user mode' or 'recovery console' or similar. If available boot into that and skip down to "You should now be in a console..." If one of those is not available then go back to main menu and type e to edit command line. Look for line starting with either 'linux' or 'kernel' and add this to end of line: init=/bin/sh then allow to boot. You should now be in a console with a prompt. Type mount Look for line in output that says: /dev/sda* on / ... (rw ...) or / ... (rw ...) <- uuid looks like random characters The important part here is the (rw ...) part. If it says 'ro' instead of 'rw' you'll have to remount the file system as writable mount -o remount,rw / Then type vi /etc/shadow If vi is not available try vim. Look for line with your user name and use arrow keys to put cursor under first character in second field dan:jflsjfljfslleie::: ^ then use the 'x' key to delete everything to next colon. type :wq to exit vi/vim Reboot Login with no password and then set a new one. hth From gsker at skerbitz.org Sun Dec 30 21:08:32 2018 From: gsker at skerbitz.org (gerry) Date: Sun, 30 Dec 2018 21:08:32 -0600 (CST) Subject: [tclug-list] tclug-list Digest, Vol 168, Issue 8 In-Reply-To: <5c2975ba.1c69fb81.9d1d.4328@mx.google.com> References: <5c2975ba.1c69fb81.9d1d.4328@mx.google.com> Message-ID: I'm pretty sure I read an email from Danny saying he/she was a noob. I can't find a tclug list archive to verify that, though.... At the very least we should not ask a novice user to use vim to mess with a shadow file. That's just brutal. If the command mount -o rw,remount / works for them, then the user can just run passwd danny to change the password for the "danny" user. Here's a perfect video: https://www.youtube.com/watch?v=m3rbpR9uuHA Gerry -- gsker at skerbitz.org On Sun, 30 Dec 2018, harv wrote: > > Sat, 29 Dec 2018 19:39:30 -0600 >> Date: Sat, 29 Dec 2018 14:03:28 -0600 >> From: Danny Johnson >> To: TCLUG Mailing List >> Subject: [tclug-list] change password >> Message-ID: >> >> Content-Type: text/plain; charset="utf-8" >> >> Hello! >> I can't get in to my terminal because it will not recognize my password. >> I am using Ubuntu 18.04. >> All was well then - BAMM!!! >> Really frustrating. >> Please advise. >> >> Dan J. >> Newbie > > I don't use ubuntu but this has worked on every other distro I have > used. > You could try this. > At the grub boot menu you should see: > > Ubuntu > Ubuntu Advanced Options > > Look under Advanced options for 'single user mode' or 'recovery console' > or similar. If available boot into that and skip down to "You should > now be in a console..." > > If one of those is not available then go back to main menu and type e > to edit command line. > Look for line starting with either 'linux' or 'kernel' and add this to > end of line: > > init=/bin/sh > > then allow to boot. > > You should now be in a console with a prompt. > Type mount > Look for line in output that says: > /dev/sda* on / ... (rw ...) > or > / ... (rw ...) <- uuid looks like random characters > > The important part here is the (rw ...) part. If it says 'ro' instead > of 'rw' you'll have to remount the file system as writable > > mount -o remount,rw / > > Then type > > vi /etc/shadow > > If vi is not available try vim. > Look for line with your user name and use arrow keys to put cursor > under first character in second field > > dan:jflsjfljfslleie::: > ^ > then use the 'x' key to delete everything to next colon. > type > :wq > to exit vi/vim > > Reboot > Login with no password and then set a new one. > > hth > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From iznogoud at nobelware.com Mon Dec 31 12:16:21 2018 From: iznogoud at nobelware.com (Iznogoud) Date: Mon, 31 Dec 2018 18:16:21 +0000 Subject: [tclug-list] tclug-list Digest, Vol 168, Issue 8 In-Reply-To: References: <5c2975ba.1c69fb81.9d1d.4328@mx.google.com> Message-ID: <20181231181621.GB5243@nobelware.com> > > At the very least we should not ask a novice user to use vim to mess with a > shadow file. That's just brutal. > I read this and smiled. So many things wrong with this and on so many levels! > If the command > mount -o rw,remount / > > works for them, then the user can just run > passwd danny > to change the password for the "danny" user. > Superuser privilleges assumed for all the above. Now one needs only explain to a novice user how to get that... From gsker at skerbitz.org Mon Dec 31 18:02:46 2018 From: gsker at skerbitz.org (gerry) Date: Mon, 31 Dec 2018 18:02:46 -0600 (CST) Subject: [tclug-list] tclug-list Digest, Vol 168, Issue 8 In-Reply-To: <20181231181621.GB5243@nobelware.com> References: <5c2975ba.1c69fb81.9d1d.4328@mx.google.com> <20181231181621.GB5243@nobelware.com> Message-ID: The rescue prompt gives you superuser -- as demonstrated in the video. Funny. (pironically) The user hasn't come back with new questions so they probably gave up and re-installed. :-) I dug into how someone might do this from the LiveDVD while doing as much as possible without the command line. I couldn't even mount the drive in that interface without the terminal. On Mon, 31 Dec 2018, Iznogoud wrote: >> >> At the very least we should not ask a novice user to use vim to mess with a >> shadow file. That's just brutal. >> > > I read this and smiled. So many things wrong with this and on so many levels! > > >> If the command >> mount -o rw,remount / >> >> works for them, then the user can just run >> passwd danny >> to change the password for the "danny" user. >> > > Superuser privilleges assumed for all the above. Now one needs only explain > to a novice user how to get that... > >