[gentoo-user] php-5.6.33

2020-11-26 Thread thelma
I need to install old: php-5.6.33 on my new system.  One program I have
depends on it.  Is it possible and what is the easiest way to go about it?

I have the "php-5.6.33.ebuild" (and all other files) on my old system in
dir:
/var/db/pkg/dev-lang/php-5.6.33

Is it possible to copy it to my: /usr/local/portage/dev-lang/
and build it on my new system?

-- 
Thelma



[gentoo-user] Re: sendmail configuration

2020-11-26 Thread Grant Edwards
On 2020-11-26, antlists  wrote:
>[...]
> So a fully-functional sendmail installation is the most powerful, 
> flexible mta there is out there. The snag is, most people only use 10% 
> of that power, but nobody can agree on which 10% is the most important.

After trying to think of reasons to use sendmail, I beganto wonder if
it still supports bang-routing and UUCP as a transport mechanism. A
bit of googling seems to indicate that it does.

So there's one thing (that I do understand) that can be done with
sendmail that can't (AFAICT) be done with the usual replacements.

--
Grant




[gentoo-user] nvidia x server settings doesn't open

2020-11-26 Thread thelma
I just installed nvidia-drivers-455.28-r1 and can not start "nvidia x
server setting" it doesn't open.

running: $ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA
driver. Make sure that the latest NVIDIA driver is installed and running.

-- 
Thelma



Re: [gentoo-user] Re: sendmail configuration

2020-11-26 Thread antlists

On 26/11/2020 04:09, Grant Edwards wrote:

On 2020-11-26, the...@sys-concept.com  wrote:


Thank you for input.  Maybe that is why it is so hard to find good
explanation/howto how to configure it.  The config file looks very
simple, that is I decided to try it.


Ah, that's another devine mystery. I believe that the small size of a
sendmail config file, when compared to the number of malfunctions it
can create violates several basic tenants of information theory. I
think the explanation involves extra dimensions that normal software
can't access.


The problem is that sendmail is the kitchen sink of mtas.

It was written in a much gentler time, when people hadn't even thought 
of spam, and the standard wan link was a mag-tape in a van or a 300-baud 
modem.


The original author (Eric Allman) got it working reasonably well and 
then forgot about it.


Other people then customised it to buggery.

Then the Internet hit.

Then Eric tried to re-impose some semblance of design and remove the 
worst topsy effects.


Then assorted people wrote competing emailers like qmail, postfix, etc. 
But they all had to be sendmail-compatible...


So a fully-functional sendmail installation is the most powerful, 
flexible mta there is out there. The snag is, most people only use 10% 
of that power, but nobody can agree on which 10% is the most important.


Cheers,
Wol



Re: [gentoo-user] Is there a way to misconfigure USB ports in the kernel?

2020-11-26 Thread Michael
On Thursday, 26 November 2020 00:10:00 GMT Michael wrote:
> On Wednesday, 25 November 2020 17:37:15 GMT Dr Rainer Woitok wrote:
> > Greetings,
> > 
> > since my old  64 GB Verbatim USB sticks  became too small,  I bought two
> > new 128 GB  Philips sticks.   Because I need  to read  and write them on
> > both, a stand-alone Windows laptop (not connected to the internet) runn-
> > ing Windows Vista and Cygwin and my Gentoo laptop, I encrypted them with
> > old TrueCrypt  on the Windows box,  using them under Gentoo in TrueCrypt
> > compatibility mode.
> > 
> > This worked  well with the Verbatim  USB sticks  (which probably are USB
> > 2.0),  but while reading the new USB 3.0 Philips USB sticks is signific-
> > antly faster  than reading the old Verbatim USB sticks,  writing to them
> > is slow as hell under Gentoo.   And writing to the Philips USB sticks on
> > the old Vista laptop  with USB 2.0 ports  clearly outperforms writing to
> > them using the Gentoo laptop's USB 3.0 ports.
> > 
> > This could be a problem with TrueCrypt/VeraCrypt or with somehow miscon-
> > figured USB ports.   To check for the latter  I provide below all kernel
> > configuration variables I regard USB related in the hope that some know-
> 
> > ledgable people might find a glitch in there:
> Check dmesg to see if initialisation of the USB 3.0 drive throws up any
> errors.  Then check 'lsusb -t' to make sure it has been recognised as a USB
> 3.0.
> 
> If write operations without TrueCrypt/VeraCrypt are equally slow, then
> obviously the problem is not with encryption.
> 
> I've read in a number of articles the erase block size on most USB flash
> (NAND) is 128KB, which incurs a lot of operations on a write, when using
> Linux with its 4K size sectors.  Partitioning the USB drive to use 128KB
> sectors and then aligning the fs on it should improve matters.
> 
> I found this article which mentions an experiment with ext4 fs.  A more
> effective search should hopefully bring up examples on FAT fs.
> 
> HTH.

Apologies, I seem to have forgotten to include the link.  Here's another link 
I came across today and which offers more detail on this topic:

http://wiki.laptop.org/go/How_to_Damage_a_FLASH_Storage_Device


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]

2020-11-26 Thread Jack

On 11/26/20 8:48 AM, Neil Bothwick wrote:

On Thu, 26 Nov 2020 05:01:22 -0600, Dale wrote:

I got a message from him.  At least we will know he is OK.  All his
machines was switched to Arch Linux and he wasn't using Gentoo anymore.
So, he unsubscribed and got active with Arch.

I had a feeling that what what he had done. I can't imagine him switching
to anything else.


My two desktops are both Gentoo, but both laptops started with Arch and 
switched to Artix Linux.  That's an Arch spinoff that still supports 
openrc (and other non-systemd init systems.)  Seems a better choice for 
someone who liked the choices of Gentoo.





Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]

2020-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2020 07:35:20 -0600, Dale wrote:

> Dare I mention hal??

Please don't :-(


-- 
Neil Bothwick

I distinctly remember forgetting that.


pgphjboaJku8G.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]

2020-11-26 Thread Neil Bothwick
On Thu, 26 Nov 2020 05:01:22 -0600, Dale wrote:

> I got a message from him.  At least we will know he is OK.  All his
> machines was switched to Arch Linux and he wasn't using Gentoo anymore. 
> So, he unsubscribed and got active with Arch. 

I had a feeling that what what he had done. I can't imagine him switching
to anything else.


-- 
Neil Bothwick

I'm in shape ... Rounds a shape isn't it?


pgp13E18axoCR.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]

2020-11-26 Thread Dale
Thomas Mueller wrote:
>> I got a message from him.  At least we will know he is OK.  All his
>> machines was switched to Arch Linux and he wasn't using Gentoo anymore. 
>> So, he unsubscribed and got active with Arch. 
>> Miss the guy but glad he is OK and nothing happened to him. 
>> Dale
>> :-)  :-) 
> When I sent this message the first time, I inadvertently forgot the Subject: 
> line, hence this repeat sending.  Sorry!
>
> When you mentioned the other Allan, I thought of Allan Gottlieb, who used to 
> be on Gentoo list.
>
> I think he was younger than me by two or three months?
>
> I believe he is the same Allan Gottlieb I met years ago at The Rockefeller 
> University when he was an (assistant? associate?) professor at CUNY in New 
> York City.
>
> I don't know if he is still living.
>
> Regarding Arch, I believe Arch Linux is mainly binary-based, rather than 
> source-based as is the case with Gentoo.
>
> In May 2013, I joined Arch Linux emailing lists, asked the question about how 
> an Arch system could be updated by building from source, as can be done with 
> FreeBSD and NetBSD.
>
> Moderator rejected that message, stating that if I looked through the wiki, I 
> could find the answer inside ten minutes, which I couldn't. 
>
> FreeBSD, NetBSD and Gentoo emailing lists are not so hostile!
>
> Not wanting to feel so tongue-tied, I unsubscribed and became an infant 
> mortality on the Arch emailing lists.
>
> This was the first and only open-source OS or distro that I rejected on 
> sociological grounds.
>
> Tom

Yea, there is some good folks on this list.  Everyone tries to help in
different ways.  If one way isn't working, someone posts a alternative
method.  Some, myself included, get upset at software sometimes tho. 
Dare I mention hal??  The -user list has always been friendly.  The -dev
list is much better now but way back, it was like walking in a field of
land mines.  At one point, I unsubbed from -dev because it was more
about people going after each other than accomplishing anything.  Now, I
monitor it again to see what is coming around the next bend.  It's a
MUCH friendlier place now. 

I was referring to Alan McKinnon.  If he even thought he had a solution,
he'd post it.  Most of the time, it was a good option.  The biggest
thing, I'm just glad he is OK. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]

2020-11-26 Thread Thomas Mueller
> I got a message from him.  At least we will know he is OK.  All his
> machines was switched to Arch Linux and he wasn't using Gentoo anymore. 
> So, he unsubscribed and got active with Arch. 

> Miss the guy but glad he is OK and nothing happened to him. 

> Dale

> :-)  :-) 

When I sent this message the first time, I inadvertently forgot the Subject: 
line, hence this repeat sending.  Sorry!

When you mentioned the other Allan, I thought of Allan Gottlieb, who used to be 
on Gentoo list.

I think he was younger than me by two or three months?

I believe he is the same Allan Gottlieb I met years ago at The Rockefeller 
University when he was an (assistant? associate?) professor at CUNY in New York 
City.

I don't know if he is still living.

Regarding Arch, I believe Arch Linux is mainly binary-based, rather than 
source-based as is the case with Gentoo.

In May 2013, I joined Arch Linux emailing lists, asked the question about how 
an Arch system could be updated by building from source, as can be done with 
FreeBSD and NetBSD.

Moderator rejected that message, stating that if I looked through the wiki, I 
could find the answer inside ten minutes, which I couldn't. 

FreeBSD, NetBSD and Gentoo emailing lists are not so hostile!

Not wanting to feel so tongue-tied, I unsubscribed and became an infant 
mortality on the Arch emailing lists.

This was the first and only open-source OS or distro that I rejected on 
sociological grounds.

Tom




[gentoo-user]

2020-11-26 Thread Thomas Mueller
> I got a message from him.  At least we will know he is OK.  All his
> machines was switched to Arch Linux and he wasn't using Gentoo anymore. 
> So, he unsubscribed and got active with Arch. 

> Miss the guy but glad he is OK and nothing happened to him. 

> Dale

> :-)  :-) 

When you mentioned the other Allan, I thought of Allan Gottlieb, who used to be 
on Gentoo list.

I think he was younger than me by two or three months?

I believe he is the same Allan Gottlieb I met years ago at The Rockefeller 
University when he was an (assistant? associate?) professor at CUNY in New York 
City.

I don't know if he is still living.

Regarding Arch, I believe Arch Linux is mainly binary-based, rather than 
source-based as is the case with Gentoo.

In May 2013, I joined Arch Linux emailing lists, asked the question about how 
an Arch system could be updated by building from source, as can be done with 
FreeBSD and NetBSD.

Moderator rejected that message, stating that if I looked through the wiki, I 
could find the answer inside ten minutes, which I couldn't. 

FreeBSD, NetBSD and Gentoo emailing lists are not so hostile!

Not wanting to feel so tongue-tied, I unsubscribed and became an infant 
mortality on the Arch emailing lists.

This was the first and only open-source OS or distro that I rejected on 
sociological grounds.

Tom




Re: [gentoo-user] Re: Grub and multiple distros on LVM [was duplicate gentoo system ...]

2020-11-26 Thread Dale
Dale wrote:
> Peter Humphrey wrote:
>> On Wednesday, 25 November 2020 15:20:41 GMT Dale wrote:
>>
>>> P. S.  I been meaning to ask this for ages now.  What happened to our
>>> other Allan?  I think he was from Africa or something and admin'd a
>>> bunch of puters there.  McKinnon or something like that was the past
>>> name.  I haven't seen him post in a long time.  I hope he is OK and all. 
>> Yes, me too. South Africa, wasn't it? Perhaps a telecomms utility, though 
>> that's a guess.
>>
>> I just assumed he'd finally grown tired of all us cloth-heads...
>>
>
> The last message I can find from him was in February of 2018.  I'm gonna
> try to send a message direct.  See if he responds. 
>
> Dale
>
> :-)  :-) 
>


I got a message from him.  At least we will know he is OK.  All his
machines was switched to Arch Linux and he wasn't using Gentoo anymore. 
So, he unsubscribed and got active with Arch. 

Miss the guy but glad he is OK and nothing happened to him. 

Dale

:-)  :-) 



Re: [gentoo-user] ssmtp - localmail

2020-11-26 Thread Gerrit Kuehn


On Thu, 26 Nov 2020 00:20:52 -0700
the...@sys-concept.com wrote:

> Aliases for TO: addresses would normally need to be set in
> /etc/aliases, but SSMTP doesn't read this! Instead, you need to edit
> /etc/mail.rc and add a line such as alias root
> root

Concerning root: Can't you just put

root=yourn...@youremail.com

in your ssmtpd.conf?


cu
  Gerrit



Re: [gentoo-user] ssmtp - localmail

2020-11-26 Thread Gerrit Kuehn


On Thu, 26 Nov 2020 00:20:52 -0700
the...@sys-concept.com wrote:

> According to:
> https://wiki.webevaluation.nl/sending_e-mail_with_ssmtp
> ssmtp has no local e-mail so it can not send cron output to
> /var/mail/user

The manpage here says

---
It does not do aliasing, which must be done either in the user agent or
on the mail-hub.  Nor  does it honor .forwards, which have to be done on the
recieving host.  It especially does not deliver to pipelines.
---

> 
> But from posting at:
> https://unix.stackexchange.com/questions/69133/where-is-the-setting-for-sending-email-to-a-system-user-with-ssmtp
> 
> Aliases for TO: addresses would normally need to be set in
> /etc/aliases, but SSMTP doesn't read this! Instead, you need to edit
> /etc/mail.rc and add a line such as alias root
> root
> 
> Can anybody verify it?

Not right now, but what do you try to achieve? You can set email
destination for cron with MAILTO= in your
crontab, if sending mails from cron is your problem.


cu
  Gerrit



Re: [gentoo-user] Anyone using extract_url with mutt?

2020-11-26 Thread David Haller
Hello,

On Thu, 26 Nov 2020, Walter Dnes wrote:
>  urlview has served me faithfully for many years in conjunction with
>mutt.  In a recent install, I find it's no longer available (python
>2.7?).

Stated reason was "upstream dead" (which seems the case since 2013,
with issues on github[1])...

>extract_url is touted as a drop-in replacement for urlview.  I
>emerged it and did some RTFM, ending up more confused than ever.  I want
>to display urls on a simple menu, just like urlview, select, and pass
>the selected url to my palemoon email profile...
>
>/home/waltdnes/pm/palemoon/palemoon -new-instance -p email

I don't know urlview, but FWIW, I use the mouse or cursor in e.g. 
emacs to select the URL (or just a part) as usual and then
Ctrl+"8th-Button" (actually lower thumb button, use xev / evtest to
find the right button number) to call the browser, done via xbindkeys:

# call browser with selected text as URL
"/home/dh/bin/browser $(xsel -o)"
Control + b:8

You can use pretty much any unused key-combination with or without the
mouse as trigger.

(that ~/bin/browser is just my little wrapper-shellscript adding e.g. 
a profile option, a '-new-tab' if the browser is already running or
calling another unliked, but needed for some specific pages, browser...)

Ah: x11-misc/xbindkeys x11-misc/xsel

HTH,
-dnh

[1] https://github.com/sigpipe/urlview/issues

-- 
Door: Something a cat wants to be on the other side of



Re: [gentoo-user] Browser have problems with illegal characters

2020-11-26 Thread David Haller
Hello,

On Wed, 25 Nov 2020, Jack wrote:
[..]
>Found it.  It is "middle dot" U+00B7 which in UTF-8 two bytes of octal 302
>267 or hex C2 8E.
>
>Also, now that I look at the page source,  I see "Introduction to
>Metaprogramming in Nim  HookRace Blog" so I do wonder if it
>is something funny with the character coding with iso88591.  In fact, it does
>look like that unicode point it NOT available in iso88591.  I wonder what the
>proper fall-back should be in such a case.

It is available, but it seems the locale is not used for encoding
filenames.

 man 7 latin1 
Oct   Dec   Hex   Char   Description
267   183   B7 · MIDDLE DOT


-dnh

-- 
>> This needs quotes:
>> use lib "/path/to/perl/modules";
> Single or double quotes?
Yes. -- Tad McClellan in comp.lang.perl.misc