[PLUG] A useful emacs function: wc emulation

2017-08-01 Thread Rich Shepard
   I've asked quite a few emacs questions here and the answers have always
been helpful. Recently I learned that emacs can do the same thing as the wc
tool: report the number of lines, words, and characters in the buffer. So I
offer the solution for those even less knowledgeable than I on emacs
capabilities.

   Highlight the document (or portion of interest) by setting the mark
(ctrl-spacebar here), navigate to the end of the block to be reported, and
press M-= (here the Meta key is the Esc key).

   Hope that someone, sometime finds this useful, too.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] /tmp/pgp-*

2017-08-01 Thread Rich Shepard
On Tue, 1 Aug 2017, David Barr wrote:

> ... but I've seen some folks out in Google land add explicit kills to
> .bash_logout.

David,

   That's what I thought would work.

> Any /tmp/gpg-* directory older than the last time you logged out can be
> deleted.

   Sure. And that's what I just did with all the June and July
subdirectories. Didn't try deleting all since there's one from today.

   I have a small /tmp partition so I like to keep it uncluttered.

Thanks much,

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] /tmp/pgp-*

2017-08-01 Thread David Barr

> On Aug 1, 2017, at 10:29 AM, Rich Shepard  wrote:
> 
> On Tue, 1 Aug 2017, David Barr wrote:
> 
>> I usually see a gpg-agent automatically launched when someone does a shell
>> login to a host. At that point, gpg-agent is launched through
>> .bash-profile or .bashrc, so something in that stack. So...
> 
> David,
> 
>   Interesting. It's not explicitly called in either of these files.
> 
>> - Are you the only person to connect to this host?
> 
>   Yes.
> 
>> - Could a part of your start up be launching the gpg-agent?
> 
>   I suppose.
> 
>> - Have you looked at the process list ("ps -ef" or "ps -a") to see if a
>> - gpg-agent is running?
> 
>   Yes. There are many such processes in various stages of suspension. For
> example:
> 
> 31409 ?Ss 0:30 /usr/bin/gpg-agent --sh --daemon --write-env-file
> /home/rshepard/.cache/gpg-agent-info
> 
>   No question that something is invoking it, but still no clue what or why.
> Having many such processes is not an issue, my interest is clearing /tmp/ of
> these small subdirectories now and then.

You might find the invocation scripts in /etc/bashrc, /etc/profile, or 
/etc/profile.d/*, which are general to all users on the host. In principle, the 
agent should die when you log out, but I've seen some folks out in Google land 
add explicit kills to .bash_logout.

In any case, gpg-agent processes with a parent PID of 1 have been abandoned and 
can be killed. Any /tmp/gpg-* directory older than the last time you logged out 
can be deleted.

Cheers!
David

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

The most dangerous phrase is, 'We've always done it this way.' –RADM Grace 
Hopper



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] /tmp/pgp-*

2017-08-01 Thread Rich Shepard
On Tue, 1 Aug 2017, David Barr wrote:

> I usually see a gpg-agent automatically launched when someone does a shell
> login to a host. At that point, gpg-agent is launched through
> .bash-profile or .bashrc, so something in that stack. So...

David,

   Interesting. It's not explicitly called in either of these files.

> - Are you the only person to connect to this host?

   Yes.

> - Could a part of your start up be launching the gpg-agent?

   I suppose.

> - Have you looked at the process list ("ps -ef" or "ps -a") to see if a
> - gpg-agent is running?

   Yes. There are many such processes in various stages of suspension. For
example:

31409 ?Ss 0:30 /usr/bin/gpg-agent --sh --daemon --write-env-file
/home/rshepard/.cache/gpg-agent-info

   No question that something is invoking it, but still no clue what or why.
Having many such processes is not an issue, my interest is clearing /tmp/ of
these small subdirectories now and then.

Regards,

Rich

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] /tmp/pgp-*

2017-08-01 Thread David Barr
I believe that's the socket the PGP agent listens on for other PGP work.

David

> On Aug 1, 2017, at 9:07 AM, Rich Shepard  wrote:
> 
>   My /tmp/ directory accumulates directories for pgp, one per day. Each
> subdirectory contains only a socket and appears to be created when I log in.
> 
>   I think these are related in some way to e-mail, incoming or outgoing.
> 
>   If I remove all these subdirectories while logged in will today's be
> automatically re-generated? If not, I can log out, have root delete them
> all, then log in again as a user.
> 
> Rich
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

--

David - Offbeat http://pgp.mit.edu/
dafydd - Online 0xda3f18449337d6b5

51525354555657--

Dr. Viktor Frankenstein entered into a body building competition
only to find he has seriously misunderstood the objective.





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] /tmp/pgp-*

2017-08-01 Thread Rich Shepard
   My /tmp/ directory accumulates directories for pgp, one per day. Each
subdirectory contains only a socket and appears to be created when I log in.

   I think these are related in some way to e-mail, incoming or outgoing.

   If I remove all these subdirectories while logged in will today's be
automatically re-generated? If not, I can log out, have root delete them
all, then log in again as a user.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG-ANNOUNCE] THURSDAY PLUG General meeting: An Introduction to Data Protection

2017-08-01 Thread Michael Dexter

Portland Linux/Unix Group General Meeting Announcement

Who: Michael "you break it you bought it" Dexter
What: An Introduction to Data Protection
Where: PSU, 1930 SW 4th Ave. Room FAB 86-01 (Lower Level)
When: Thursday, August 3rd, 2017 at 7pm
Why: The pursuit of technology freedom
Stream: http://pdxlinux.org/live

You probably have a good sense of data protection in the sense of 
"backups" but alas, there is more to it. This talk will cover ten key 
aspects of Data Protection and discuss open source technologies that 
address them.

Is your data...

1. Integrous – Maintaining integrity and consistency
2. Resilient – Resistant to mechanical failures/outages
3. Versioned – Accessible in a previous state
4. Replicated – “Backed up” to local and remote locations
5. Archived – Versioned and replicated for long-term storage
6. Secure – Resistant to unauthorized theft or destruction
7. Private – Available for authorized purposes only
8. Available – Accessible in a timely manner
9. Usable – Equally available now and in the future
10. Compliant – with legal and regulatory requirements

Bring your questions and experiences for a livid^H^H^H^H^H vivid and 
vibrant discussion.

Bonus: Discussion about the future of PLUG Advanced Topics and other 
PLUG housekeeping, planning and fun!

Super bonus: Michael will not be here in September and see Bonus one.


Calagator Page: http://calagator.org/events/1250472307

Many will head to the Lucky Lab at 1945 NW Quimby St. after the meeting.

Rideshares to the Lucky Lab available

PLUG is open to everyone and does not tolerate abusive behavior on its 
mailing lists or at its meetings.

PLUG Page with information about all PLUG events: http://pdxlinux.org/
Follow PLUG on Twitter: http://twitter.com/pdxlinux

See you there!

Michael Dexter
PLUG Volunteer

___
PLUG-announce mailing list
PLUG-announce@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug-announce


[PLUG] THURSDAY PLUG General meeting: An Introduction to Data Protection

2017-08-01 Thread Michael Dexter

Portland Linux/Unix Group General Meeting Announcement

Who: Michael "you break it you bought it" Dexter
What: An Introduction to Data Protection
Where: PSU, 1930 SW 4th Ave. Room FAB 86-01 (Lower Level)
When: Thursday, August 3rd, 2017 at 7pm
Why: The pursuit of technology freedom
Stream: http://pdxlinux.org/live

You probably have a good sense of data protection in the sense of 
"backups" but alas, there is more to it. This talk will cover ten key 
aspects of Data Protection and discuss open source technologies that 
address them.

Is your data...

1. Integrous – Maintaining integrity and consistency
2. Resilient – Resistant to mechanical failures/outages
3. Versioned – Accessible in a previous state
4. Replicated – “Backed up” to local and remote locations
5. Archived – Versioned and replicated for long-term storage
6. Secure – Resistant to unauthorized theft or destruction
7. Private – Available for authorized purposes only
8. Available – Accessible in a timely manner
9. Usable – Equally available now and in the future
10. Compliant – with legal and regulatory requirements

Bring your questions and experiences for a livid^H^H^H^H^H vivid and 
vibrant discussion.

Bonus: Discussion about the future of PLUG Advanced Topics and other 
PLUG housekeeping, planning and fun!

Super bonus: Michael will not be here in September and see Bonus one.


Calagator Page: http://calagator.org/events/1250472307

Many will head to the Lucky Lab at 1945 NW Quimby St. after the meeting.

Rideshares to the Lucky Lab available

PLUG is open to everyone and does not tolerate abusive behavior on its 
mailing lists or at its meetings.

PLUG Page with information about all PLUG events: http://pdxlinux.org/
Follow PLUG on Twitter: http://twitter.com/pdxlinux

See you there!

Michael Dexter
PLUG Volunteer

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug