Re: [PLUG] Emacs: convert all uppercase words to capitalized

2016-12-19 Thread Russell Senior
> "Rich" == Rich Shepard  writes:

Rich>I've looked in both the emacs docs and the wiki and both show
Rich> me that M-c will convert individual uppercase words to initial
Rich> capitalized words, but I've not found the way to do this for all
Rich> words rather than one at a time.

Rich>Selecting a region prior to invoking M-c does nothing.

Rich>A cluestick will be really helpful.

You maybe want a macro the seek to the next ALLCAPS word, then apply
your helpful emacs built-in function on that word, then repeat the macro
enough times to complete the whole document.


-- 
Russell Senior, President
russ...@personaltelco.net
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] recommended hardware question on VPN router

2016-12-19 Thread david


On 12/19/2016 08:58 PM, logical american wrote:
> Can someone suggest good vpn hardware for a VPN client?  My friend has
> an account with a popular stock trading house, but he is now nervous,
> since so much hacking has occurred.
>
> I did check one of the big local chain stores, but they only had 2
> routers for sale, supporting vpn.  I see 2 other chain stores listing a
> Linksys Gigabit VPN router, but not sure of their quality.
>
> Any suggestions?


I'm not sure I fully understand what the requirements of your friend are 
at this point. Do they want a WiFi router, or something else?

I've been relatively happy with my R6400 from Netgear[1], but the built 
in OpenVPN doesn't play nice with anything except Windows. There was a 
recent patch that fixed a vulnerability for remote command execution, 
but largely it's been reliable. The last firmware release we relatively 
stable, but one of the previous releases only lasted about 30 days 
before it went haywire and required a reboot. The new one is only about 
4 days old now, so time will tell there.

I have a Linux workstation running behind the router and that receives 
connections for OpenVPN service that is installed there, and works well 
enough for me and all my mobile devices.

david


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


Re: [PLUG] recommended hardware question on VPN router

2016-12-19 Thread brooks

To connect anything via a VPN you would need to first know what the other 
side supports. For example, if you were conencting to an Amazon VPN 
endpoint in 2016 you could reference this:

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpn-connections.html

On Mon, 19 Dec 2016, logical american wrote:

> Can someone suggest good vpn hardware for a VPN client?  My friend has
> an account with a popular stock trading house, but he is now nervous,
> since so much hacking has occurred.
>
> I did check one of the big local chain stores, but they only had 2
> routers for sale, supporting vpn.  I see 2 other chain stores listing a
> Linksys Gigabit VPN router, but not sure of their quality.
>
> Any suggestions?
>
>
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] recommended hardware question on VPN router

2016-12-19 Thread logical american
Can someone suggest good vpn hardware for a VPN client?  My friend has 
an account with a popular stock trading house, but he is now nervous, 
since so much hacking has occurred.

I did check one of the big local chain stores, but they only had 2 
routers for sale, supporting vpn.  I see 2 other chain stores listing a 
Linksys Gigabit VPN router, but not sure of their quality.

Any suggestions?


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


Re: [PLUG] Emacs: convert all uppercase words to capitalized

2016-12-19 Thread Rich Shepard
On Mon, 19 Dec 2016, John Sechrest wrote:

> I got the impression that he wanted to have text of the form:

John,

   Yes, this is correct.

> Where you have to use the regular expression query and replace:
> https://www.emacswiki.org/emacs/ReplaceRegexp

   A regex is what I tried first, but apparently did not correct form the
expressions:
   Replace [A-Z]+ with [A-Z][a-z]+ 
Perhaps I need to group the replace regex with parentheses then use a back
reference with the replace regex? I tried that but did not have the correct
syntax.

Thanks,

RIch

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


Re: [PLUG] Emacs: convert all uppercase words to capitalized

2016-12-19 Thread John Sechrest
I got the impression that he wanted to have text of the form:

   This is a SET of words that have CAPITALIZED WORDS that should be
addressed by a mechanism to convert Capital words to go from ALL capital to
All Capital

And convert them to:

  This is a Set of words that have Capitalized Words that should be
addressed by a mechanism to convert Capital words to go from All capital to
All Capital

So It is not clear to me that the Capitalize-word mode does what you want.

I think this is likely a job for regular expressions.

Where you have to use the regular expression query and replace:

https://www.emacswiki.org/emacs/ReplaceRegexp




On Mon, Dec 19, 2016 at 4:50 PM, Galen Seitz  wrote:

> On 12/19/16 16:17, Rich Shepard wrote:
> >I've looked in both the emacs docs and the wiki and both show me that
> M-c
> > will convert individual uppercase words to initial capitalized words, but
> > I've not found the way to do this for all words rather than one at a
> time.
> >
> >Selecting a region prior to invoking M-c does nothing.
> >
> >A cluestick will be really helpful.
>
> capitalize-region M-x ... RET
>Convert the region to capitalized form.
> capitalize-word   M-c
>Capitalize the following word (or ARG words), moving over.
> capitalized-words-modeM-x ... RET
>Toggle Capitalized Words mode.
>
>
> Either give capitalize-word a numeric arg (via Ctrl-U), or use
> capitalize-region (which isn't bound to a key here).
>
>
> galen
> --
> Galen Seitz
> gal...@seitzassoc.com
> ___
> PLUG mailing list
> PLUG@lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



-- 
John Sechrest  .  Need to schedule a meeting :
http://sechrest.youcanbookme.com
   .
.
.

  .
 sechr...@gmail.com
   .
   @sechrest  

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


Re: [PLUG] Emacs: convert all uppercase words to capitalized

2016-12-19 Thread Galen Seitz
On 12/19/16 16:17, Rich Shepard wrote:
>I've looked in both the emacs docs and the wiki and both show me that M-c
> will convert individual uppercase words to initial capitalized words, but
> I've not found the way to do this for all words rather than one at a time.
> 
>Selecting a region prior to invoking M-c does nothing.
> 
>A cluestick will be really helpful.

capitalize-region M-x ... RET
   Convert the region to capitalized form.
capitalize-word   M-c
   Capitalize the following word (or ARG words), moving over.
capitalized-words-modeM-x ... RET
   Toggle Capitalized Words mode.


Either give capitalize-word a numeric arg (via Ctrl-U), or use
capitalize-region (which isn't bound to a key here).


galen
-- 
Galen Seitz
gal...@seitzassoc.com
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Emacs: convert all uppercase words to capitalized

2016-12-19 Thread Rich Shepard
On Mon, 19 Dec 2016, Rich Shepard wrote:

>   I've looked in both the emacs docs and the wiki and both show me that M-c
> will convert individual uppercase words to initial capitalized words, but
> I've not found the way to do this for all words rather than one at a time.

   I've also tried sed and perl (from web searches) and they're not working
either.

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


[PLUG] Emacs: convert all uppercase words to capitalized

2016-12-19 Thread Rich Shepard
   I've looked in both the emacs docs and the wiki and both show me that M-c
will convert individual uppercase words to initial capitalized words, but
I've not found the way to do this for all words rather than one at a time.

   Selecting a region prior to invoking M-c does nothing.

   A cluestick will be really helpful.

TIA,

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


Re: [PLUG] Help with v4l2 Video Driver

2016-12-19 Thread Erik Lane
Thank you everyone!

it looks like I have it solved. It still has issues sometimes, especially
when there are breaks in the tape. (I mean where one recording stops and
the other starts. Looks like it loses tracking and that confuses it.)

So sometimes I have to redo a tape, but eventually I manage to get a
working version. Or I can input the audio in audacity and then merge it
back with ffmpeg.

I had issues getting ffmpeg to bring in the audio from the card. Even
selecting the hardware channel as specified in various pages I found online
doesn't do it. Using VLC I can record the video and audio usually, and once
I had to do it separately, but it worked. So while it might not be ideal
and it will take a bit longer this way, I'm done with trying to get it done
more efficiently. It will be quicker to just get it done now. Knock on
wood, but I think I have my specific problem fixed well enough to get the
job done.

Thanks for the input!
Erik

On Sat, Dec 17, 2016 at 2:39 PM, Tom  wrote:

> This is what I use for v4l webcams - which maybe be identical to your
> video capture card:
> * Finding webcam (part of v4l-utils package) :
> v4l2-ctl --list-devices
> Integrated Camera (usb-:00:14.0-8):
> /dev/video0
> * list formats available for the device:
> ffmpeg -f v4l2 -list_formats all -i /dev/video0
> [video4linux2,v4l2 @ 0xcc7740] Raw   : yuyv422 : YUV 4:2:2
> (YUYV) : 640x480 320x180 320x240 352x288 424x240 640x360 848x480
> 960x540 1280x720
> [video4linux2,v4l2 @ 0xcc7740] Compressed:   mjpeg :
>  MJPEG : 640x480 320x180 320x240 352x288 424x240 640x360 848x480
> 960x540 1280x720
> * play the video:
> mplayer tv:// -tv driver=v4l2:width=640:height=480
> * capturing the video:
> ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0
> video.mkv
> * playing captured video:
> mplayer video.mkv
> Hope this helps you some way, Tomas
> On Sat, 2016-12-17 at 00:02 -0800, Erik Lane wrote:
> > On Fri, Dec 16, 2016 at 7:54 PM, King Beowulf 
> > wrote:
> >
> > > On Thu, Dec 15, 2016 at 08:25 Erik Lane  wrote:
> > >
> > > [snip...]
> > > >
> > > >
> > > >
> > > No one is an expert until you ask questions and fiddle around...
> > >
> > > I haven't used tvtime so not sure of the underlying caoture
> > > libraries.
> > >
> > > I would try ffmpeg.  mplayer/mencoder can be cranky unless the
> > > video format
> > > is absolutely correct - also depends how you distro compiled the
> > > package.
> > >
> > > ffmpeg is more flexible and gives lots of feedback on the CLI. If
> > > the
> > > capture card runs via v4l2 it should work.
> > >
> >
> > >
> > Thanks for the suggestion! I wasn't aware that ffmpeg would take
> > input
> > straight from a card, but I guess it makes sense. This box is
> > reasonably
> > powerful, with 4 cores, but I'm a little worried that transcoding
> > would
> > cause it to miss a frame here or there. I really don't know what kind
> > of
> > power it might take to handle the stream. I know that ffmpeg has a
> > command
> > to simply copy the input to the output with a wrapper around it for
> > some
> > formats at least, so I'll have to see what it can do with a raw
> > stream. I
> > see an example of a simple command to save the input as 'cat
> > /dev/video0 >
> > filename.ts' and if that works then I might do ffmpeg afterwards to
> > turn it
> > into mp4. Though if ffmpeg can save straight to .ts with raw data,
> > that
> > will be another thing I can try.
> >
> > To give added info, since my last post I found out VLC could record
> > from a
> > capture card, as well as stream from one. When I tried it the
> > recording
> > worked well for a while, but ended up with errors in the video file
> > that
> > spit out errors on the command line of missing timestamps and the
> > audio
> > went AWOL somewhere in there. (I started VLC from the command line to
> > easily see the errors.) It actually worked well for about half an
> > hour each
> > time before failing, so I suspect that it might be running out of
> > memory. I
> > have no evidence for that, though. The streaming option looked like
> > everything was good from the GUI, but the command line spit out some
> > errors
> > about missing files, and the video never got sent to a file that I
> > could
> > find. Of course I tried many times with different options and
> > different
> > file names in different directories.
> >
> > I also wiped out the box and started over with mythbuntu, thinking an
> > all
> > in one solution would 'just work' and then I could get this done. It
> > failed. It found the card, but then when I got to a screen where it
> > was
> > going to scan for channels, it couldn't initialize the card. I tried
> > for
> > hours with every variation I could come up with, but no luck.
> >
> > I'll try a bit more in the morning before reinstalling my old system
> > and
> > then seeing if the simple cat or ffmpeg will grab it. I only need