firefox: getting back several URL's as tabs?

2013-10-02 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.


guys,

well, it just happened again.  when I closed an unwanted URL, the
other two instances of firefox vanished.  I know the Hard way of
getting them all back, but does is there an easy way of refilling 
both browsers?  oh, and if there is somewhere I can click to save 
my bookmarks by-hand, please let me know   before my shoulder
falls off!

thanks in advance,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: minor vi/vim qstn

2013-09-26 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

On Thu, Sep 26, 2013 at 03:26:29PM +0200, Polytropon wrote:
 On Wed, 25 Sep 2013 19:47:08 -0700, Gary Kline wrote:
  dunno how you know im using the zsh, but yup.
 
 This is because of my magical allknowinglyness. :-)
 
 You wrote:
 
pts/14 17:11 tao [5011] vi!
zsh: command not found: vi!
   ^^^
 This gave me the impression you're using the Z shell.
 
 The C shell says:
 
   % vi!
   vi!: Command not found.
 
 And bash says:
 
   $ vi!
   bash: vi!: command not found
 
 So the shell that says zsh should be the Z shell, or a different
 shell that's just lying. :-)

Oh, n!  ive got to go hide my head in the sand for 25
years...   { it's so emmbarrassing!!}

 
   with the bang stuff
  if you do a 
  
  % !-3
  
  you go back three vi cmds.  !-N, N cmds. 
 
 Yes, this also works in C shell. You can use the h (or history)
 builtin command to get an impression of content of the last commands
 submitted to the shell.
 
 At least in csh,
 
   % !-1
 
 equals
 
   % !!
 
 and repeats the last command.
 
 You could use the following command to print the last 20 commands
 with the relative number (-1, -2, -3 and so on) printed infront of
 them:
 
   % history 20 | awk 'BEGIN {cmds=20} { printf(\t%2d\t%s\n, -(cmds-i), 
 $0); i++ }'
 
 It's probably a good idea to define an alias for that, like h20
 (history of last 20 commands).


my zsh does a default to 10  or so history with just 

% h 

I was trying to remember how to set it to ,, say, 100.  

I use as many zsh-isms as saves keystrokes.  thanks for that 
awk shortcut; ill use ir... :_)


 You could also use the zsh's equivalent of the precmd alias: It
 is a command that will be executed prior to displaying the shell
 prompt, so after you're done with a command, the last commands
 (maybe shortened to 10, just substitute the two appearances of
 the 20 to 10) will be displayed before the prompt appears;
 this will make it easier (and save keystrokes) to check the last
 commands and maybe repeat one.
 
 Downside: The command pollutes the list of commands with itself,
 so it should probably be grepped away.


good grief, man.  I just got up from a nap... can you re-word that? 
no, kidding.  I get it.  


(for as many centuries as ive been using vi [nvi], there are
*still* things I never had need to learn.  so it turns out that 
a lot of theses clever sh scripts are over my head   it
takes mins - hours to figure out.



 
   % history 20 | awk 'BEGIN {cmds=20} { printf(\t%2d\t%s\n, -(cmds-i), 
 $0); i++ }' | grep -v history
 
 It might be good to define a better exclusion pattern than just
 history because that might lead to false-positives. I'd suggest
 to rename the variables in the awk script to something unique and
 then grep for those instead...
 
I have grep -v aliased to grv.  
 
  thankfully there are shortcuts!
 
 And shell aliases. :-)
 
 
 
  ps: zsh is sort of a ksh clone; I remember porting the zsh onto
  my 286 in 1989.  got a lot of csh-isms :)
 
 The Z shell combines nice interactive features of the C shell
 (to be correct: the tcsh) and the scripting features of sh and
 bash. It's considered one of the most powerful shells. So it's
 a wise move to use it, because it combines the _good_ things of
 both worlds (and not the bad things, as the csh is a terrible
 scripting shell, just as plain sh is an awful dialog shell).
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: minor vi/vim qstn

2013-09-26 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

On Thu, Sep 26, 2013 at 10:05:06PM +0200, Polytropon wrote:
 On Thu, 26 Sep 2013 12:51:32 -0700, Gary Kline wrote:
  my zsh does a default to 10  or so history with just 
  
  % h 
  
  I was trying to remember how to set it to ,, say, 100.  
 
 Depending on _typical_ terminal heights (100 lines?), this
 seems to be a bit high. But I assume zsh handles the h
 alias similarly to the csh, where an alias is defined
 (system-wide in /etc/csh.cshrc or per user in ~/.cshrc).
 Look for ~/.zshrc (if I remember correctly):
 
   alias   h   'history 25'
 
 and change it accordingly. An interactive change is also
 possible (but will only be kept for the current session).
 
 I also assume the zsh has some settings on how many commands
 should be kept in history. The system's /etc/csh.cshrc provides
 the csh's equivalent:
 
   set history = 100
   set savehist = 100


I'remember seeing this a long time ago.  in my ~/.zshrc I've got
iit in all CAPS. 



HISTFILE=~/.zhistory 
SAVEHIST='5000'
HISTSIZE=1000


got to google this; been tooo long since I glanced  at the code!


 
 Probably zsh has something similar.
 
 
 
  (for as many centuries as ive been using vi [nvi], there are
  *still* things I never had need to learn.  so it turns out that 
  a lot of theses clever sh scripts are over my head   it
  takes mins - hours to figure out.
 
 You notice that you're saying that to a programmer whose
 shell scripts are usually overcomplicated, dull, and could
 use lots of optimization? ;-)
 
;-)  
 
 % history 20 | awk 'BEGIN {cmds=20} { printf(\t%2d\t%s\n, -(cmds-i), 
   $0); i++ }' | grep -v history
   
   It might be good to define a better exclusion pattern than just
   history because that might lead to false-positives. I'd suggest
   to rename the variables in the awk script to something unique and
   then grep for those instead...
   
  I have grep -v aliased to grv.  
 
 If you're using that alias inside another alias, zsh (if it
 acts like csh) will expand it properly. Using such an alias
 in a one-time entry (as I'd consider an addition to a
 configuration file) still doesn't sound optimal regarding
 readability and maintainability. As if we would ever maintain
 our naturally grown (over centuries) configuration files... ;-)
 
 Still I think turning the example into a shell alias (h20) or
 assigning it (with 20 - 10) to the precmd alias could not
 be trivial, at least regarding the C shell, because lots of
 quoting and escaping would be needed; maybe zsh does not behave
 like a madman in this regards (unmatched this, unmatched that,
 sytax error, cannot expand, missing argument, blah ...). :-)
 
 
I'll be typing for 10 years before I'v saved the keystrokes ive
spent here

 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: minor vi/vim qstn

2013-09-26 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

On Thu, Sep 26, 2013 at 10:05:06PM +0200, Polytropon wrote:
 On Thu, 26 Sep 2013 12:51:32 -0700, Gary Kline wrote:
  my zsh does a default to 10  or so history with just 
  
  % h 
  
  I was trying to remember how to set it to ,, say, 100.  
 
 Depending on _typical_ terminal heights (100 lines?), this
 seems to be a bit high. But I assume zsh handles the h
 alias similarly to the csh, where an alias is defined
 (system-wide in /etc/csh.cshrc or per user in ~/.cshrc).
 Look for ~/.zshrc (if I remember correctly):
 
   alias   h   'history 25'
 
 and change it accordingly. An interactive change is also
 possible (but will only be kept for the current session).
 
 I also assume the zsh has some settings on how many commands
 should be kept in history. The system's /etc/csh.cshrc provides
 the csh's equivalent:
 
   set history = 100
   set savehist = 100
 
 Probably zsh has something similar.
 
FWIW, I just tried:

alias -- h='history 50'


works as it ought; last time I tried, the history quit 
after ~10.  [?]


 
  (for as many centuries as ive been using vi [nvi], there are
  *still* things I never had need to learn.  so it turns out that 
  a lot of theses clever sh scripts are over my head   it
  takes mins - hours to figure out.
 
 You notice that you're saying that to a programmer whose
 shell scripts are usually overcomplicated, dull, and could
 use lots of optimization? ;-)
 
 
 
 % history 20 | awk 'BEGIN {cmds=20} { printf(\t%2d\t%s\n, -(cmds-i), 
   $0); i++ }' | grep -v history
   
   It might be good to define a better exclusion pattern than just
   history because that might lead to false-positives. I'd suggest
   to rename the variables in the awk script to something unique and
   then grep for those instead...
   
  I have grep -v aliased to grv.  
 
 If you're using that alias inside another alias, zsh (if it
 acts like csh) will expand it properly. Using such an alias
 in a one-time entry (as I'd consider an addition to a
 configuration file) still doesn't sound optimal regarding
 readability and maintainability. As if we would ever maintain
 our naturally grown (over centuries) configuration files... ;-)
 
 Still I think turning the example into a shell alias (h20) or
 assigning it (with 20 - 10) to the precmd alias could not
 be trivial, at least regarding the C shell, because lots of
 quoting and escaping would be needed; maybe zsh does not behave
 like a madman in this regards (unmatched this, unmatched that,
 sytax error, cannot expand, missing argument, blah ...). :-)
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


minor vi/vim qstn

2013-09-25 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

folks,

am I misremembering this feature, or didnt vi have a syntax where
you typed something like:

% vi[#] or % vi [-2]  [or vi [-N]

to repeat the last or the second from last  command?  with my
shoulder sore bloody sore I need to save every key stroke.  

TIA, y'all,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: minor vi/vim qstn

2013-09-25 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

On Thu, Sep 26, 2013 at 12:23:27AM +0200, Polytropon wrote:
 On Wed, 25 Sep 2013 14:27:41 -0700, Gary Kline wrote:
  am I misremembering this feature, or didnt vi have a syntax where
  you typed something like:
  
  % vi[#] or % vi [-2]  [or vi [-N]
  
  to repeat the last or the second from last  command?  with my
  shoulder sore bloody sore I need to save every key stroke.  
 
 To repeat the last command, . can be used.
 
 The vi editor (and probably vim and gvim) supports
 according to man vi:
 
[Vi]i[sual][!] [+cmd] [file]
   Vi mode only.  Edit a new file.
 
 Is this what you're searching for?


I THOGoHT it was !, but lookit:


pts/14 17:11 tao [5010] vi sent
pts/14 17:11 tao [5011] vi!
zsh: command not found: vi!
pts/14 17:12 tao [5012]

...  this is vi == vim.  

AHA:: found it.  it's [bang]commant


pts/14 17:17 tao [5016] vi sent
pts/14 17:17 tao [5017] !v


I'll tell ya, if vi disappeared , I'd end it all!

tx.

gary






 Or do you refer to command lines where @: would repeat the

-N T- 34/41: P last command (started with :)?
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: minor vi/vim qstn

2013-09-25 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

On Thu, Sep 26, 2013 at 03:06:00AM +0200, Polytropon wrote:
 On Wed, 25 Sep 2013 17:21:04 -0700, Gary Kline wrote:
  Organization: Thought Unlimited.  Public service Unix since 1986.
  Of_Interest: With 27 years  of service  to the  Unix  community.
  
  On Thu, Sep 26, 2013 at 12:23:27AM +0200, Polytropon wrote:
   On Wed, 25 Sep 2013 14:27:41 -0700, Gary Kline wrote:
am I misremembering this feature, or didnt vi have a syntax 
where
you typed something like:

% vi[#] or % vi [-2]  [or vi [-N]

to repeat the last or the second from last  command?  with my
shoulder sore bloody sore I need to save every key stroke.  
   
   To repeat the last command, . can be used.
   
   The vi editor (and probably vim and gvim) supports
   according to man vi:
   
  [Vi]i[sual][!] [+cmd] [file]
 Vi mode only.  Edit a new file.
   
   Is this what you're searching for?
  
  
  I THOGoHT it was !, but lookit:
  
  
  pts/14 17:11 tao [5010] vi sent
  pts/14 17:11 tao [5011] vi!
  zsh: command not found: vi!
  pts/14 17:12 tao [5012]
  
  ...  this is vi == vim.  
  
  AHA:: found it.  it's [bang]commant
  
  
  pts/14 17:17 tao [5016] vi sent
  pts/14 17:17 tao [5017] !v
  
  
  I'll tell ya, if vi disappeared , I'd end it all!
 
 Ah, I see - you've been refering to repeating a _shell_
 command (so the question was regarding the shell, which
 in your case is Z shell).
 
 You can probably use (like in the C shell) the arrow keys
 to browse the command history. Similarly, you can use the
 !number command refering to the command number obtained
 by the history command. There's a handy alias defined
 globally for the C shell: h which means history 25
 (lists the last 25 commands), handy in regards of saving
 keystrokes. :-)
 
 I assume the zsh is also capable of filtered history:
 For example, you enter vi s and use the up and down
 arrow keys to browse all commands that have been entered
 starting with vi s (for example vi sent, vi stuff
 and so on). If the system's csh can do this, zsh should
 also provide this useful feature.
 
 And as your prompt pts/14 17:12 tao [5012] suggests,
 the command number is being shown. If this information
 is the same as the command number in the history, entering
 !5010 would execute the 2nd from last command.
 
 To repeat the last command, whatever it has been, !!
 can be used. Again, this works in csh, so I can't predict
 if it will work in zsh too, but I _assume_ it does.
 
dunno how you know im using the zsh, but yup.  with the bang stuff
if you do a 

% !-3

you go back three vi cmds.  !-N, N cmds. 

thankfully there are shortcuts!

gary

ps: zsh is sort of a ksh clone; I remember porting the zsh onto
my 286 in 1989.  got a lot of csh-isms :)


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


howto kill x if x is running?

2013-09-15 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

guys, 

I've evidently had too many pain meds; this shelll script should 
be easy.  say that I have a utility xxx running sometimes.  xxx is
soaking up a chunk of my load.  I have to use top to find if
xxx is running, then kill -9 to kill xxx and have a steady load of,
say, between 0.10 and 0.15.  what's the script that can do this?

gary

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: howto kill x if x is running?

2013-09-15 Thread Gary Kline
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 27 years  of service  to the  Unix  community.

On Sun, Sep 15, 2013 at 07:56:17AM +0100, Matthew Seaman wrote:
 On 15/09/2013 07:20, Gary Kline wrote:
 
  I've evidently had too many pain meds; this shelll script should 
  be easy.  say that I have a utility xxx running sometimes.  xxx is
  soaking up a chunk of my load.  I have to use top to find if
  xxx is running, then kill -9 to kill xxx and have a steady load of,
  say, between 0.10 and 0.15.  what's the script that can do this?
 
 The classic answer to this is that you need to find the pid of your
 'xxx' process, and then kill it using that.  Some combination of ps(1)
 and grep(1) usually sufficed.
 
 However nowadays there's the very handy pkill(1):
 
 pkill -9 xxx
 
 Tying that in with the trigger based on system load:
 
 #!/bin/sh
 
 load=$(sysctl vm.loadavg | cut -d ' ' -f 3)
 too_high=$(bc -e $load  0.15  /dev/null)
 
 if [ $too_high = '1' ]; then
 pkill -9 xxx
 fi
 
 Note the use of bc(1) to compare floating point values -- the built-in
 $((shell arithmetic)) or expr(1) only do integer arithmetic.
 
 One final point -- instead of killing the xxx process when the load gets
 too high, you could simply renice(1) it to very low priority.  Or even
 better, use idprio(1).
 
 This won't actually affect the system load values much as 'system load'
 is an average of the number of processes requesting a CPU time slice.
 What it does do is mean that your 'xxx' process is always pretty much
 the last process to get any CPU time -- so everything else should remain
 responsive, and your xxx process will only run when the system is
 otherwise idle.
 
   Cheers,
 
   Matthew


thanks very much, gents.  no, it wasnt my med; it was that I slept
ttoo much:: Old age.  pkill -9 utility  works.  the 0.15 or 0.10
were arbitrrary.  the default load adverage should be even less
since the box is just sitting here!  ...well, it's replying to 
lookup, I suppose.  tx again, 

gary


 -- 
 Dr Matthew J Seaman MA, D.Phil.
 
 PGP: http://www.infracaninophile.co.uk/pgpkey
 JID: matt...@infracaninophile.co.uk
 



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Twenty-seven years of service to the Unix community.
http://www.thought.org/HOPE


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


which reader/tablet/whatever

2013-06-09 Thread Gary Kline

guys,

most of you know that im physically disabled.  anyway, the
disability extends to my speech and is why the cellphone I 
have is datged and never got upgraded.  

Anyway ... whilei dont need a new cell, I =have= been eyeing 
something that I can buy ebooks and have the player/reader/???
have the text {ASCII =only=} read to me.  I would google up 
something, but I dont even know what to search for.   can I put
freebsd on these tablet devices?  if I bought, say, WAR AND PIECE
or something out of copyright  { schopenhauer or marcus aurelius }
that is in text, how do I get it to whatever tablet I have?  
right now we've got cable and I use the telco for my server.
I know that works, but it is only good for my computer network.

but say I wanted to keep things simple and buy some kind of kindle
or nook.  how does amazon.com or bn.com get their new ebooks onto
my reader?

thanks in advance,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT, i think...

2013-05-15 Thread Gary Kline
On Sun, May 12, 2013 at 03:02:28PM -0500, Edwin L. Culp W. wrote:
 SIMIoff topic. (I think)
 
 Sorry but I am envious that you have a chrome working.  I am stuck with the
 ===  chromium-25.0.1364.172_1 has known vulnerabilities:
 chromium-25.0.1364.172_1 is vulnerable:
 chromium -- multiple vulnerabilities
 
 WWW: http://portaudit.FreeBSD.org/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html
 = Please update your ports tree and try again.
 *** [check-vulnerable] Error code 1
 
 Sorry but I'm not sure which is worse, having it or not having it.
 
 Again i apologize.
 
 ed
 


hmmm.  the chrome that I have is running on my ubuntu linux
laptop.  [i've switched to linux because it was easier to upgrade.
now, I dunno.  at any rate, when I was fully BSD, some N years
ago, there was no chrome... .   The only ++plus is that I
still know hoto hack code. :_)

gary


 On Sun, May 12, 2013 at 4:00 AM, Gary Kline kl...@thought.org wrote:
 
 
  guys,
 
  if   goog had their browser from BSD it would help big-time; I use one of
  the
  zillions of linux distros for my desktop.  I dont have a bleeding edge
  cell. just something to call the cops or access [ small bus with wchair
  lift.]  only have one hand, so cant easily hold cell and type blah * 3.
 
  SO, the upshot is, since I use firefox mostly, and chrome, rarely, I got a
  bit befuddled tonight trying to read an old philosopher's translation on
  chrome.  I got to fess-up.  reading on the screen is vastly easier than
  getting out a REAL book  and paperweights, and taking off my eyeglasses,
  C!  tonight, I figured out howto enlarge the font and bring up the book.
  --i read the prince by nick whatever.  this on google's browser.  it
  took awhile before I realized that I wasnt hearing the words!   yes, the
  speaker in the circle [[upper right]] read aloud   and I could glean
  that much more by reading with eyes and ears.  ===but=== is there some
  magic I ca n use to do an All, and then fire off the text-to-voice?
 
  CAUTION
  [[[the following is interesting only if you're into art schopenhauer.
  his works were not correctly xlated until {i think} 1954.  I bought the
  p'back of his *Parerga and Paralipomena: A Collection of Philosophical
  Essays*.  I never read it.  google has it, and I suppose I could cough pup
  $whatever.  but only if they got their tts stuff working without me having
  to
  mouse 600+ pages or whatever it requires.  ]]]
  /CAUTION
 
  anybody know howto make this All menu cmd work in chrome?  in ffox, it's
  a simple edit-control-A
 
  thanks much,
 
  gary
 
 
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
  Unix
Twenty-six years of service to the Unix community.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
 -- 
 Bienes RaĆ­ces in Coatepec, Veracruz, Mexico
 
 http://www.facebook.com/pages/Inmobiliaria-Bienes-Raices-httpEcoManiainfo/102249989850215?sk=photos_albums
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OT, i think...

2013-05-12 Thread Gary Kline

guys, 

if   goog had their browser from BSD it would help big-time; I use one of the
zillions of linux distros for my desktop.  I dont have a bleeding edge
cell. just something to call the cops or access [ small bus with wchair
lift.]  only have one hand, so cant easily hold cell and type blah * 3.

SO, the upshot is, since I use firefox mostly, and chrome, rarely, I got a
bit befuddled tonight trying to read an old philosopher's translation on
chrome.  I got to fess-up.  reading on the screen is vastly easier than
getting out a REAL book  and paperweights, and taking off my eyeglasses,
C!  tonight, I figured out howto enlarge the font and bring up the book.
--i read the prince by nick whatever.  this on google's browser.  it
took awhile before I realized that I wasnt hearing the words!   yes, the
speaker in the circle [[upper right]] read aloud   and I could glean
that much more by reading with eyes and ears.  ===but=== is there some
magic I ca n use to do an All, and then fire off the text-to-voice?

CAUTION
[[[the following is interesting only if you're into art schopenhauer.  
his works were not correctly xlated until {i think} 1954.  I bought the
p'back of his *Parerga and Paralipomena: A Collection of Philosophical
Essays*.  I never read it.  google has it, and I suppose I could cough pup
$whatever.  but only if they got their tts stuff working without me having to
mouse 600+ pages or whatever it requires.  ]]]
/CAUTION

anybody know howto make this All menu cmd work in chrome?  in ffox, it's
a simple edit-control-A

thanks much,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


re who wants thought.org post from last nightt...

2013-05-08 Thread Gary Kline

guys,

I was pleasantly  surprised at the responses,  so far--obv'ly--
all privately responded to.I'll get back to everybody in the
next couple/few days.  I am just finishing up my VBC that I plan 
to give to that  OLPC project out of MIT;  my shoulder feels like
it's falling off, so I thought id send this to those five or so
who are interested.  

first, im hoping that you gents are fairly patient.  meaning that 
altho my hacking   daze are winding down and I feel like  warmed
over dog-do, I'm not quite ready to   give up  thought.org just yet.  
for one thing, im not sure what career my daughter will take; and
even if she does choose comp-sci, she may have zero interest in
messing with my domain.  that said, when I do give it up in
a few years, I hope to have made a good choice.

second, I'm still trying to figure out   what the best thing to do 
=is=.  good: the caffeine pills are kicking in:)  --about the only
thing id ask is that thought.org AKA Thought Unlimited be dedicated 
to the unix realm.  that's unix as in UNIX{TM, C, c}, every distro
of linujx, every distro of BSD ... you get the idea.   ---hate to
find some very fine print like: thought.org is a wholly-owned
subsidiary of microsoft! hidden away.I {along with a bunch of 
other volunteers} spend years answering newbie questions for folk 
who  were interested in the unix paradigm but had no idea where to
start.  whoever takes over can surely do much more along those
lines if he wishes.  (a parenthetical note is that when I was
sweating my way thru cal, about 30% of the computer classes were
female!I keep wondering what ever happened to all the girls! )  

what else?  oh yeah, cost.  no charge.  no essays, no tell me
in 25 words or less... .  the one thing I've always appreciated
about the freebsd list[s] is the tenor of its membership.  same  
goes for the rest of the Nix groups.  I would be much obliged for
suggested input.

enough for now

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


who wants thought.org?

2013-05-07 Thread Gary Kline

people,

I can do a lot of stuff with  my domain, but nothing is forever,
and id rather not give thought.org  away for  a few hundred bux.  I
would like to know if anybody on this [[or other]] freebsd lists 
want to take over  when I seriously Am too old  

be nice if thought.org could be subsumed into something bsd;
but whatever.  my daughter  is ===hopefully=== going into comp-sci
and maybe she'll be interested.  she will be a high school sr this
fall and that means {??} **9**9**9.

thought id throw this open while I can still Type!!

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


script or c prog to record live audio?

2013-05-06 Thread Gary Kline

guys,

I've been meaning to ask one of the Nix lists if there is a script that
will record something from kuow.org while I watch one of my favorite tv
broadcasts.  most  of the time, nothing is on tv, but  this one radio
broadcast, AR co-insides with NOVA at 21:00.  

anybody know?



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: script or c prog to record live audio?

2013-05-06 Thread Gary Kline
On Mon, May 06, 2013 at 07:24:29PM -0500, Joshua Isom wrote:
 On 5/6/2013 6:19 PM, Gary Kline wrote:
 
 guys,
 
 I've been meaning to ask one of the Nix lists if there is a script that
 will record something from kuow.org while I watch one of my favorite tv
 broadcasts.  most  of the time, nothing is on tv, but  this one radio
 broadcast, AR co-insides with NOVA at 21:00.
 
 anybody know?
 
 
 
 
 The hackish way I've done before is use wireshark do dump the
 network stream.  In reality, I think you might be able to get by
 with fetch.  I just tried and fetch closes the connection before
 buffering, using telnet does the transmit.  The trick is mp3 streams
 are just inefficient mp3's.  Maybe wget would work.  You can add a
 cron job to start it and another to kill it.


I'm checking fetch out now; I know a bit about  wireshark and have
used wget frequently.  but, nutshell, this might be  a serious
hack!  still, since it's only for me, no problem.  

thanks for the datapoints! 

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: script or c prog to record live audio?

2013-05-06 Thread Gary Kline
On Mon, May 06, 2013 at 11:40:06PM -0400, rpratt wrote:
 On Mon, 6 May 2013 16:19:02 -0700
 Gary Kline kl...@thought.org wrote:
  I've been meaning to ask one of the Nix lists if there is a script that
  will record something from kuow.org
 
 To play audio stream:
 
 mplayer -playlist 'http://shoutcast.kuow.org:8002/listen.pls'
 
 To dump the audio stream to file:
 
 mplayer -dumpstream -dumpfile foo.mp3 -playlist '... URL ...'
 
 No need to reinvent wheels.  See man page for more description and many other
 options.
 
 Enjoy,
 Randy

right on the money; about  reinventing wheels; I can cron the 
dumpstream  {=news= to me!} and play back whenever!  

{i wasnt kidding when I said I was getting Old.  my bed is singing
siren songs.}

tx muchly,

gary


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Youtube Flash Videos broken?

2013-04-08 Thread Gary Kline


Please excuse the top post, bujt you're the right guy to ask,
polyt.  mp3/audio files I can get.  you sent me a website to get
mp3's off youtube.  it is probably patry my ubuntu linux and gnome,
but is there a canned website that will grab a video?  somebody
has a Lot of westerns and I'd like to grab a couple.  

we can get 70 billion channels with barf comcast, but I dont see
any of these old/old/old movies.  [ several zillion tx. ]  

gary

ps:  yeah, I KNOW they are ===mostly=== mythic.  but sometimes I
just need to take a bleeping break.  and so far, nothingg  works.


On Tue, Apr 09, 2013 at 03:58:30AM +0200, Polytropon wrote:
 On Mon, 8 Apr 2013 17:03:13 +0200, Harald Weis wrote:
  On Sun, Apr 07, 2013 at 12:09:32AM +0200, Polytropon wrote:
   
If it's just about YouTube video, why not use youtube-dl and
mplayer? I haven't tested it for those particular two videos,
but it tends to work for everything. :-)
   
  Can you please help me how to find the right URLs for youtube-dl ?
 
 There is no URL. You install it from ports:
 
   # cd /usr/ports/www/youtube_dl
   # make install
 
 If the version in ports is not current enough (e. g. when YT
 has again fiddled with the format), you can usually get it
 from its source https://github.com/rg3/youtube-dl.
 
 
 
  For example on
  http://www.youtube.com/user/ConcertosLive/videos
  
  When I copy URLs with mouse in opera I always get
  youtube-dl: No match.
 
 Make sure you use proper quoting as the URL contains
 characters that the shell will interpret. The common form
 to use youtube-dl is e. g.
 
   % youtube-dl http://www.youtube.com/watch?v=tc4ROCJYbm0;
 
 Any superflous stuff in the URL will be ignored. This is
 the easiest way to work, e. g. from copying the URL from
 the URL line or via the Copy link address function; then
 just type 'youtube-dl ', press the middle mouse key, ''
 and Enter.
 
 As youtube-dl doesn't have a manpage, you can use
 
   % youtube-dl -h
 
 to get a list of supported command line options.
 
 
 
  (opera and flash work fine for playing and also for downloading the
  the ogg file)
 
 That's normal. :-)
 
 
 
  I definitely prefer the command line tool.
 
 What I like about this approach is that I can watch films
 in a usable (!) environment, which is mplayer, and not be
 dependent on some low-quality web player plugin. It's also
 nice to have interesting videos stored on the local disk
 so they can be watched without Internet connection. :-)
 
 
 
  Getting rid of flash would be a tremendous relief.
 
 It will happen, as soon as HTML5 is adopted more widely
 (currently happening especially for rich web content
 and the mobile market) and lawyers agree on a usable
 media codec.
 
 But for now, I don't actually see any problems running
 Flash if it is _intended_ to do so.
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Youtube Flash Videos broken?

2013-04-08 Thread Gary Kline
On Tue, Apr 09, 2013 at 03:38:16AM +, Walter Hurry wrote:
 On Mon, 08 Apr 2013 20:28:15 -0700, Gary Kline wrote:
 
  Please excuse the top post
 
 Why?
 


because most or all email is presented in oldest posts first.
it is more work to decode.  [[ esp'ly if you're   o lder than dirt,
like me! ]]

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mutt and http//url???

2013-03-22 Thread Gary Kline

guys,

==many== yeears ago when i was running Only FBSD, I  asked
this list how i could use mutt when somebody included an
http://url.com; and i got replies that worked.  --sseems 
like the url string got moved to the end and clicking on the 
string exec'd firefox.   

in the past couple years i've sub'd to the nytimes and other places
where the http string is several dozens of bytes.  in my mutt 
at least, there are + marks embedded at the beginning of each
new lines.  so that when i mouse lick on the url, i almost 
invariably get  either Nothing from my browswer, or the wrong 
page.

i've googled for days.  zero.  im finally asking the top list
on the web.   can anybody clue me in?  i'm  using linux/gnome/mutt.
but it shouldnt make any difference. [?!]

tia, everybody,

gary





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mutt and http//url???

2013-03-22 Thread Gary Kline
On Sat, Mar 23, 2013 at 01:20:18AM +0100, Polytropon wrote:
 On Fri, 22 Mar 2013 14:36:15 -0700, Gary Kline wrote:
  in the past couple years i've sub'd to the nytimes and other places
  where the http string is several dozens of bytes.  in my mutt 
  at least, there are + marks embedded at the beginning of each
  new lines.  so that when i mouse lick on the url, i almost 
  invariably get  either Nothing from my browswer, or the wrong 
  page.
 
 That's to be expected. A URL covering several lines _can_ be
 copied (selected) when the line wrap is uninterrupted. It
 will even work for double- or triple-click (select word, select
 line) with the normal edit buffer (left swipe to select, in
 Firefox middle click or mousewheel press to go to URL). As the
 '+' character will be part of the wrapped URL (which can span
 several lines), the URL will be wrong, as you've seen.
 
 
 
  i've googled for days.  zero.  im finally asking the top list
  on the web.   can anybody clue me in?  i'm  using linux/gnome/mutt.
  but it shouldnt make any difference. [?!]
 
 If I remember correctly, there's a way to disable the line break
 emphasizer ('+' character) in the display. Have you tried
 
   set markers=no
 
 in your ~/.muttrc? Or was it
 
   unset markers
 
 Something with markers... I'm not fully sure if this is the
 setting you're searching for, but go ahead and try it.
 

theres a 'set markers' that defaults to yes. I edited it to no
and, presto, no mo' '+' in the url strings.  ---how you ever 
remembered  the variable 'markers' is beyound me, but yup.

anyway, with my konsole at std size, ~37x80, I moused dead-on 
the http string.  same as before: the string showed up from the
'http://.' to the eol.  and when I clicked, I got garbage.  

wait, there's more.  I blew up the konsole  until it filled the
entire  screen.  [i did this once before and got the right page.]
it still worked.  no '+' line break, but still.

it's a bear to have to enlage the xterm/konsole just to read
some mail, but it works with the two embedded urls that I've tried
so far.  why?  dunno.
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mutt and http//url???

2013-03-22 Thread Gary Kline
On Fri, Mar 22, 2013 at 08:39:07PM -0400, Karl Vogel wrote:
  On Fri, 22 Mar 2013 14:36:15 -0700, 
  Gary Kline kl...@thought.org said:
 
 G in the past couple years i've sub'd to the nytimes and other places
 G where the http string is several dozens of bytes.  in my mutt at least,
 G there are + marks embedded at the beginning of each new lines.  so
 G that when i mouse lick on the url,
 
Don't lick your mouse.  That's gross.



but it was so tasty! 'specially with chocolatte syrup.

 G i almost invariably get either Nothing from my browswer, or the wrong
 G page.
 
You might want to try urlview, bound to Ctrl-B in mutt by default.  It's a
screen-oriented program for extracting URLs from text files, putting
them in a menu, and letting you run a command to view a specific item.
 
If you're on a FreeBSD system, it's in /usr/ports/textproc/urlview.


this was one of the things I tried.  I followed the instructions
exactly--with urlview and ^B.  eventually I wound up with the
list but it was hard to decide which was the text!

maybe leave o ne konsole wide open on my 4th workspace


 -- 
 Karl Vogel  I don't speak for the USAF or my company
 
 Oh, to be only half as wonderful as my child thought I was when he was small,
 and only half as stupid as my teenager now thinks I am.--Rebecca Richards
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rm -R

2013-03-02 Thread Gary Kline
On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote:
 On 3/2/2013 2:43 PM, David Tilbrook wrote:
 The problem (and its solution) have been
 raised for at least 39 years.
 
 But google and other search engines treats words([A-Za-z0-9])
 starting with - as meaning exclude results with this, even when
 obvious it's about unix commands.  It can be rather annoying when
 searching for help.
 ___


sorry to be so dense; can you give me a few concrete examples? ya
lost me!

tx


 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


clicking on URL'S in mutt.

2013-02-18 Thread Gary Kline


guys, 

for some reason, kmail is busted and I need a way of getting
mutt to spawn firefox.  Anybody?

gary

ps:  this is from a linujx desktop running kde... 
ps ive got urlview [??]  but it lists dozens of http links:: lost.





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: clicking on URL'S in mutt.

2013-02-18 Thread Gary Kline
On Tue, Feb 19, 2013 at 06:39:45AM +0100, Polytropon wrote:
 On Mon, 18 Feb 2013 21:04:05 -0800, Gary Kline wrote:
  for some reason, kmail is busted and I need a way of getting
  mutt to spawn firefox.  Anybody?
 
 I can only suggest the most basic method (which should work
 with any text mode MUA, even those without any mouse support).
 It requires that you already have a Firefox running, e. g. on
 a 2nd workspace. First select the URL in the mail message with
 the left mouse button, then switch over to the Firefox window
 and click the middle mouse button (or press down the mouse
 wheel if you don't have a normal 3 button mouse). If the URL
 is encapsulated in spaces, a double-click would select it,
 so you don't need to manually select it from its beginning
 to its end (or vice versa).
 
 
 
  ps:  this is from a linujx desktop running kde... 
 
 If your mail storage is intact, can't you (temporarily) use
 Thunderbird to access it? If I remember correctly, KMail and
 Thunderbird are using the same storage format (mbox, I think)...
 


I think youre rt about t'bird.  I tried to install  it and got 
wy lost. ince kde is the same wherever, I'm including 
the ancillary file that is giving kmail fits.  maybe someone
omlist will spot the trouble straight away---considering  that
this is the sharpest list anywhere.

in the meantime, im using the rightmost button with mutt and
getting some of the http urls.

thank, everybody,

# trouble report::
Akonadi Server Self-Test Report
===

Test 1:  SUCCESS


Database driver found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server 
configuration and was found on your system.

File content of '/home/kline/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL

[QMYSQL]
Name=akonadi
Host=
Options=UNIX_SOCKET=/home/kline/.local/share/akonadi/socket-tao/mysql.socket
ServerPath=/usr/sbin/mysqld-akonadi
StartServer=true

[Debug]
Tracer=null


Test 2:  SUCCESS


Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the 
recommended setup for a secure system.

Test 3:  SUCCESS


MySQL server found.
Details: You have currently configured Akonadi to use the MySQL server 
'/usr/sbin/mysqld-akonadi'.
Make sure you have the MySQL server installed, set the correct path and ensure 
you have the necessary read and execution rights on the server executable. The 
server executable is typically called 'mysqld'; its location varies depending 
on the distribution.

Test 4:  SUCCESS


MySQL server is executable.
Details: MySQL server found: /usr/sbin/mysqld  Ver 5.5.29-0ubuntu0.12.04.1 for 
debian-linux-gnu on x86_64 ((Ubuntu))


Test 5:  ERROR


MySQL server log contains errors.
Details: The MySQL server error log file apos;a 
href='/home/kline/.local/share/akonadi/db_data/mysql.err'/home/kline/.local/share/akonadi/db_data/mysql.err/aapos;
 contains errors.

File content of '/home/kline/.local/share/akonadi/db_data/mysql.err':
130217 17:12:31 [Note] Plugin 'FEDERATED' is disabled.
130217 17:12:31 InnoDB: The InnoDB memory heap is disabled
130217 17:12:31 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130217 17:12:31 InnoDB: Compressed tables use zlib 1.2.3.4
130217 17:12:31 InnoDB: Initializing buffer pool, size = 8.0M
130217 17:12:31 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 8064000 bytes
InnoDB: than specified in the .cnf file 0 2097152 bytes!
130217 17:12:31 [ERROR] Plugin 'InnoDB' init function returned error.
130217 17:12:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130217 17:12:31 [ERROR] Unknown/unsupported storage engine: innodb
130217 17:12:31 [ERROR] Aborting

130217 17:12:31 [Note] /usr/sbin/mysqld: Shutdown complete

#  I just dont get this, above.

Test 6:  SUCCESS


MySQL server default configuration found.
Details: The default configuration for the MySQL server was found and is 
readable at a 
href='/etc/akonadi/mysql-global.conf'/etc/akonadi/mysql-global.conf/a.

File content of '/etc/akonadi/mysql-global.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
#
# Based on advice by Kris KƃĀ¶hntopp k...@mysql.com
#
[mysqld]

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
# 
sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
# sql_mode=strict_trans_tables

# DEBUGGING:
# log all queries, useful for debugging but generates an enormous amount of data
# log=mysql.full
# log queries slower than n seconds, log file name relative to datadir (for 
debugging only)
# log_slow_queries

off-topic....

2013-02-07 Thread Gary Kline


guys,

ihad better make this fast; this desktop [dell duo] has been
crashing at random for the past couple month. no clue.  but ive
ordered a refurb with a three-year warranty.   I hope, I hope.

my question is: how to set up an account for code on google-code.
I'v found a 'cheat sheet' site and others that should help me 
with svn.  I have used cvs [late 90's]; I use rcs daily and figure
I'll learn subversion   in time.  but what else do  I have to do 
to get my vbc code over   on google?  their explaination is
written in hieroglyphics.

enough.

gary

ps:  I t is  worth noting that my vbc wworks on freebsd so long
as youve got espeak and the gtk stuff.


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


help with SVN needed {slightly off-topic}

2013-01-20 Thread Gary Kline


(hm, well, other than to say that im installing 9.1 on my uni-CPU
laptop, this is =really= OT.)

okay, here's what I need help with and some of the whys and
wherefors, etc:  much to my surprise, my little speech application
for the impaired is gaining recognition rapidly.  ive heard from 
people from oz, from somewshere in the philippines, from england--
or maybe I should say u.k., as well as from a few locales here
in the states.  mostly, tho, my focus remains on writing or
finishing this program fro the one computer per child project that
is/was from MIT.  I'm not sure I believe this, but according to 
some source, there are some unholy number of children with some
disability. of the 7 billion there are 100 million children with
some disability.  not all speech, of course, but still---

a gtk+ wizard took my posted VBC code and make mods to it.  he
suggested that I set up an account on sourceforge.net so he and
others could contribute.  I have an acct there but couldn't figure
anything out.  a fellow on fbook suggested google.  I spent most
of saturday setting up a forum and a place for my code on
google.code.  if it sounds like I'm making progress, well, 
that's debatable.  nothing to do with hacking.  just the 
peripheral stuff.  

the part I need help with is Subversion.  I used CVS about 15 years 
ago, and svn looks slightly familiar.  the project on google.code
are looking for me to use svn to install my base files.  I think;
not sure.  on my desktop here I have one development directory for
all my source files.  I have subversion installed here.  briefly:
what now?

do I create a svn directory here? or do I ftp/scp/?? things
to the voice-by-computer account to the google.code project?
thanks for any help.

gary

ps: from the ``ya don' hafta be a hacker to help Dept:'' a speech
therapist wrote with some thoughts on what I should =avoid=
as well as things to include.  things I had never thought of!!


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: suggestions wanted.... {OT}

2013-01-12 Thread Gary Kline
On Sat, Jan 12, 2013 at 06:41:43AM +0100, Polytropon wrote:
 On Fri, 11 Jan 2013 15:52:16 -0800, Gary Kline wrote:
  I'm looking for a small and portable tablet [or whatever] device
  to use on the once-every-75-years when I do get out.  I am not
  looking for a cell phone.  the one I have works fine for auto-
  dialing whoever.  instead, im thinking of something with a 
  small screen and somekind of keyboard.  it has to have a speaker.
  some version of 'unix' is essential.
 
 Have you considered using something like a small laptop
 (like the Asus eeePC) which is small enough and provides
 sufficient UNIX compatibility? Additionally, a regular
 keyboard (even if in small size) provides tactile feedback
 which can be an advantage (as you don't need visual
 confirmation about something that's covered by your
 fingers).
 
 I think such kind of netbook can be obtained for few money.
 Some of them were shipped with Linux, if I remember correctly,
 and if you wish to install FreeBSD, it's also possible.
 Here are some examples which illustrate the feasibility
 of such a project:
 
 http://wiki.freebsd.org/AsusEee
 
 http://www.freebsdgr.org/articles/en_US.ISO8859-1/articles/install-eeepc/article.html


these look hopeful since  I need to update my debian  5.X.

 
 http://www.unixarea.de/installEeePC.txt
 
 The requirements are met: small screen, physical keyboard,
 built-in speakers. If getting online with it is required,
 that's also possible by using some selected USB web stick.
 
 
I have an EEE-900A that I bought on ebay about two years ago.  it
works fine for my speech program.  I got something about a google
tablet, and [i think] a nook tablet. [?].  then theres the amazon
tablet.  is there a samsung tablet?  does the windoze tablet have
the ability to be unixified, or is it stuck with its crappy op-
sys?

you can see the problem of there being dozens of these small
gadgets out there--yes, including thed android--.  Can anything
be overwritten with anything like we are all used to?  unix.
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: suggestions wanted.... {OT}

2013-01-12 Thread Gary Kline
On Sat, Jan 12, 2013 at 12:51:19PM +0700, Erich Dollansky wrote:
 Hi,
 
 On Fri, 11 Jan 2013 15:52:16 -0800
 Gary Kline kl...@thought.org wrote:
 
  
  note that this question is =OT=.
  
  sorry if this is a re-request for clues.  I =did= ask a very
  similar question a year or three ago; I'm just not sure
  where.  
 
 Ah, I remember. Wans't it when the Newton was released?

is the newton still around?  I thought it was a huge flop.
I'll ck, tx.

  I'm looking for a small and portable tablet [or whatever]
  device to use on the once-every-75-years when I do get out.  I am not
  looking for a cell phone.  the one I have works fine for auto-
  dialing whoever.  instead, im thinking of something with
  a small screen and somekind of keyboard.  it has to have a speaker.
  some version of 'unix' is essential.
  
 
 have you looked at Samsung. They have a quiet interesting range from
 hand phones to tablets. I do not know the size up to which they can be
 used as hand phones but some pretty large models have this function
 built-in.


great if there's a model w/ a 5 to 7 screen.  kybd, speaker.
any idea if I can install gvim and espeak...?  and add my own code.


 
 My daughter has one I would still call a hand phone. She is very happy
 with it. 
 
 The keyboard has to be an external one in all cases. I do not know it
 this works on all models. 


so the keybd is a plug-in for the phones.  how about the tablets?
I AM/[have been] looking for a book-device that can read to me.

thanks for the clue,

gary


 
 Erich
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


suggestions wanted.... {OT}

2013-01-11 Thread Gary Kline

note that this question is =OT=.

sorry if this is a re-request for clues.  I =did= ask a very
similar question a year or three ago; I'm just not sure where.  

I'm looking for a small and portable tablet [or whatever] device
to use on the once-every-75-years when I do get out.  I am not
looking for a cell phone.  the one I have works fine for auto-
dialing whoever.  instead, im thinking of something with a 
small screen and somekind of keyboard.  it has to have a speaker.
some version of 'unix' is essential.

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AARGH... give me some idea for ad-blockers

2013-01-08 Thread Gary Kline
On Tue, Jan 08, 2013 at 11:16:05AM +0100, Harald Weis wrote:
 On Sun, Jan 06, 2013 at 07:40:37PM -0800, Gary Kline wrote:
   
   
  itHOught I'd ask the best list which ad-blocking software I should
  use.
   
  firefox is my std browsers; also use ixquick.
   
  thanks for some tips,
 
 Have a look at midori.

thanks, iwill.


 -- 
 Harald Weis
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


which version of FBSD should i install?

2013-01-08 Thread Gary Kline

guys,

I used my EEE-900a [[last year]] to wow the medical team downtown
with my unfinished VBC program.  since nobody seems willing to
volunteer to test the (*almost*)-finished version, I figure I
ms well use my 2005 Thinkpad.  it is reasonably fast at 3.06GHz.
should clue me in on how much stuff I need to compile to test.

I want the Gnome Desktop, espeak, and gvim.  If there is a CD 
or DVD with 9.x, can somebody give me a URL?

tia,

gary

PS: The reason that vbc is only almost finished is that I need
to do a much better job outlining a.) the basics of using gvim,
b.) the basics of using the application, and c.) figuring the 
best way of using the File menu dropdown to _Save the 
existing files ... and more.  the  worst part is the
documentation... .

PPS:  ive found and expanding a few lines {maybe 15-20} on
gvim/vim/vi.  ineed to know how this reads.  figure you guys will
know.



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: which version of FBSD should i install?

2013-01-08 Thread Gary Kline
On Wed, Jan 09, 2013 at 12:55:49PM +0700, Erich Dollansky wrote:
 Hi,
 
 On Tue, 8 Jan 2013 18:55:04 -0800
 Gary Kline kl...@thought.org wrote:
 
  ms well use my 2005 Thinkpad.  it is reasonably fast at
  3.06GHz. should clue me in on how much stuff I need to compile to
  test.
 
 You should be able to run anything from 7.4, 8.3, 9.1 to 10.0.
 
 I mention 7.4 here for a simple reason. It could be that your old
 machine uses some USB hardware, which is not supported from 8.0 onwards.
 
 I would say, if it works, use 9.1. If not check out 7.4. If this then
 works, you could check 10 out.
 
 8.3 is the version which is the most robust one as the new stuff did
 not arrive there yet.
 
 Erich


Thanks for this.  VBC uses no USB hardware... well, AFAIK.  I
=believe= it should work on anything unix. That is: 
Unix, BSD, Linux, Android.  VBC doe require a keyboard since the
disabled user needs to type what he wants to have spoken. If
there are and USB issues there, I have no idea.

gary

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AARGH... give me some idea for ad-blockers

2013-01-07 Thread Gary Kline
On Mon, Jan 07, 2013 at 04:44:18PM +0200, Aldis Berjoza wrote:
 07.01.2013, 05:43, Gary Kline kl...@thought.org:
  itHOught I'd ask the best list which ad-blocking software I should
  use.
 
  firefox is my std browsers; also use ixquick.
 
  thanks for some tips,
 
  gary
 
  --
  Ā Gary Kline Ā kl...@thought.org Ā http://www.thought.org Ā Public Service Unix
  Ā Ā Twenty-six years of service to the Unix community.
 
 
 
 I use dns/pdnsd to block (with dns) many advertisement sites, facebook, 
 twitter etc
 I also use www/privoxy for html content blocking
 Finally if something remains, that I can't filter, then I use ad-block
 -- 
 Aldis Berjoza
 FreeBSD addict


to everybody on adblocking:: Thanks!  I was about to go apeshit
with all rthese bloody ads.  I mean, enuf already. --g.



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: somewhat OT ... in parts

2013-01-06 Thread Gary Kline
On Sat, Jan 05, 2013 at 08:43:18AM +0100, Polytropon wrote:
 On Fri, 4 Jan 2013 13:59:45 -0800, Gary Kline wrote:
  On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote:
   On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote:
one question I have may solve the problem of vim displaying
all the ^/search terms and displaying them in some color. 
the default brown is awful, but dark blue isn't much bbetter.
   
   If you try :colorscheme blue you can see that the results have
   orange background with dark text (maybe black?), while the editor
   background is blue (as the name of the color scheme suggests).
   
   
   
So: can I add something to my ~/.vimrc that =limits=
the search to displaying one term?  if I am searching for,
say, the or I guess /\the\, I dont want every the in my 
file.  I want only  one.   or one at a time, and not necessarily
in color.
   
   If you have :set hlsearch activated, all (visible) matches will
   be highlighted, and the cursor will be placed at the first match.
   
   I don't see an option to highlight the _next_ result only. However,
   if you do _not_ set hlsearch, searching and continuing searching
   will not highlight anything, instead let the cursor skip to the
   next match (tried here with gvim /COPYRIGHT, /this, /, /, / and
   so on), with :set nohlsearch for testing.
   
  
  Hm.  there must be something in Muttrc.  I dont see it in my
  local ~/.muttrc; this something is controlling every /search
  term and highlighting it.  
 
 That should be the default of :set hls (usually in ~/.vimrc),
 as I assume Mutt inlines vim.
 
 
 
  the regular vim /tmp/foofile.c /tmp/footext is fine.  it's only
  in mutt that highlights EVERY instance that I'm searching for.
  I'll figure it out eventually if you don't know offhand.  or
  anybody else.  
 
 Search for flags to vim as editor, :set hlsearch or :set hls.
 You can add your own :set nohlsearch or :set nohls at the end
 of the file to try to deactivate the effect. This should also
 work when manually entered during an editor session.
 
 
 
  maybe I should just find keith bostic's newvi; see if they have it 
  for linux; theyve got everything else... {grumble}
 
 I know there's nvi in ports.
 
 Maybe those will be helpful:
 
 http://garage.linux.student.kuleuven.be/~skimo//nvi/
 
 
 
 nvi download here:
 
 https://sites.google.com/a/bostic.com/keithbostic/files
 
 
 
 Project page and FAQ:
 
 https://sites.google.com/a/bostic.com/keithbostic/vi
 
 

thankee, polyt.  the URL's were right on the money!

okay, here's the update.  I spent much of saturday cleaning and 
fixing the VBC program.  I will probably split some things off
into a vbc.h header file to make things a bit neater.  but here
is where I need at least one volunteer from the BSD  world.  

you'll need to have espeak and vim/gvim installed.  And, of course,
the gtk libraries.  and maybe gnome, altho I cant see why.  this 
stuff already works on three versions of linux that run the 
GNOME Desktop.  

anybody have time to test in, say, a week or two?

gary

ps:  if the Makefile  works and it builds and execs, that
will be a ++good sign :)



 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


AARGH... give me some idea for ad-blockers

2013-01-06 Thread Gary Kline


itHOught I'd ask the best list which ad-blocking software I should
use.

firefox is my std browsers; also use ixquick.

thanks for some tips,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: somewhat OT ... in parts

2013-01-05 Thread Gary Kline
On Sat, Jan 05, 2013 at 08:43:18AM +0100, Polytropon wrote:
 On Fri, 4 Jan 2013 13:59:45 -0800, Gary Kline wrote:
  On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote:
   On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote:
one question I have may solve the problem of vim displaying
all the ^/search terms and displaying them in some color. 
the default brown is awful, but dark blue isn't much bbetter.
   
   If you try :colorscheme blue you can see that the results have
   orange background with dark text (maybe black?), while the editor
   background is blue (as the name of the color scheme suggests).
   
   
   
So: can I add something to my ~/.vimrc that =limits=
the search to displaying one term?  if I am searching for,
say, the or I guess /\the\, I dont want every the in my 
file.  I want only  one.   or one at a time, and not necessarily
in color.
   
   If you have :set hlsearch activated, all (visible) matches will
   be highlighted, and the cursor will be placed at the first match.
   
   I don't see an option to highlight the _next_ result only. However,
   if you do _not_ set hlsearch, searching and continuing searching
   will not highlight anything, instead let the cursor skip to the
   next match (tried here with gvim /COPYRIGHT, /this, /, /, / and
   so on), with :set nohlsearch for testing.
   
  
  Hm.  there must be something in Muttrc.  I dont see it in my
  local ~/.muttrc; this something is controlling every /search
  term and highlighting it.  
 
 That should be the default of :set hls (usually in ~/.vimrc),
 as I assume Mutt inlines vim.
 
 
 
  the regular vim /tmp/foofile.c /tmp/footext is fine.  it's only
  in mutt that highlights EVERY instance that I'm searching for.
  I'll figure it out eventually if you don't know offhand.  or
  anybody else.  
 
 Search for flags to vim as editor, :set hlsearch or :set hls.
 You can add your own :set nohlsearch or :set nohls at the end
 of the file to try to deactivate the effect. This should also
 work when manually entered during an editor session.
 
 
 
  maybe I should just find keith bostic's newvi; see if they have it 
  for linux; theyve got everything else... {grumble}
 
 I know there's nvi in ports.
 
 Maybe those will be helpful:
 
 http://garage.linux.student.kuleuven.be/~skimo//nvi/
 
 
 
 nvi download here:
 
 https://sites.google.com/a/bostic.com/keithbostic/files
 
 
 
 Project page and FAQ:
 
 https://sites.google.com/a/bostic.com/keithbostic/vi
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...


super!  dank!  I had no idea that keith's stuff was still 
around--well, except for our nvi in ports/editors/.  one 
quick and easy solution would be to set editor = nvi in my .muttrc
and see if that works.  sometimes colors are helpful; usually I 
can get along fine w/out :-)





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: somewhat OT ... in parts

2013-01-04 Thread Gary Kline
On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote:
 On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote:
  one question I have may solve the problem of vim displaying
  all the ^/search terms and displaying them in some color. 
  the default brown is awful, but dark blue isn't much bbetter.
 
 If you try :colorscheme blue you can see that the results have
 orange background with dark text (maybe black?), while the editor
 background is blue (as the name of the color scheme suggests).
 
 
 
  So: can I add something to my ~/.vimrc that =limits=
  the search to displaying one term?  if I am searching for,
  say, the or I guess /\the\, I dont want every the in my 
  file.  I want only  one.   or one at a time, and not necessarily
  in color.
 
 If you have :set hlsearch activated, all (visible) matches will
 be highlighted, and the cursor will be placed at the first match.
 
 I don't see an option to highlight the _next_ result only. However,
 if you do _not_ set hlsearch, searching and continuing searching
 will not highlight anything, instead let the cursor skip to the
 next match (tried here with gvim /COPYRIGHT, /this, /, /, / and
 so on), with :set nohlsearch for testing.
 

Hm.  there must be something in Muttrc.  I dont see it in my
local ~/.muttrc; this something is controlling every /search
term and highlighting it.  

the regular vim /tmp/foofile.c /tmp/footext is fine.  it's only
in mutt that highlights EVERY instance that I'm searching for.
I'll figure it out eventually if you don't know offhand.  or
anybody else.  

maybe I should just find keith bostic's newvi; see if they have it 
for linux; theyve got everything else... {grumble}

thanks, polyt.

gary


 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: somewhat OT ... in parts

2013-01-04 Thread Gary Kline
On Fri, Jan 04, 2013 at 06:09:53AM -0800, Devin Teske wrote:
 
 On Jan 3, 2013, at 11:03 PM, Polytropon wrote:
 
  On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote:
 one question I have may solve the problem of vim displaying
 all the ^/search terms and displaying them in some color. 
 the default brown is awful, but dark blue isn't much bbetter.
  
  If you try :colorscheme blue you can see that the results have
  orange background with dark text (maybe black?), while the editor
  background is blue (as the name of the color scheme suggests).
  
  
  
 So: can I add something to my ~/.vimrc that =limits=
 the search to displaying one term?  if I am searching for,
 say, the or I guess /\the\, I dont want every the in my 
 file.  I want only  one.   or one at a time, and not necessarily
 in color.
  
  If you have :set hlsearch activated, all (visible) matches will
  be highlighted,
 
 :set hls
 :set nohls
 
 for short to enable/disable (respectively).
 
 
  and the cursor will be placed at the first match.
  
 


YES!  well, at least it works when I reply in mutt --which ive got
set to use vim.  the set strings immediately vanished from deep
blue ...  in other words, I can read the reply much more easily.

I put the 

:set nohls

in my ~/.muttrc and got an error when  I exec'd mutt.  I'll try
without the colon.


 On a side note, there's also :set incsearch
 
 That will make you jump ahead as you type (I personally don't care for it).
 

right; I see that incsearch jumps ahead to the next /search term
[.]  I can see a use if you are searching for, say /\i\ or
/\j\ , maybe.


  I don't see an option to highlight the _next_ result only. However,
  if you do _not_ set hlsearch, searching and continuing searching
  will not highlight anything, instead let the cursor skip to the
  next match (tried here with gvim /COPYRIGHT, /this, /, /, / and
  so on), with :set nohlsearch for testing.
  
  
  
  
  -- 
  Polytropon
  Magdeburg, Germany
  Happy FreeBSD user since 4.0
  Andra moi ennepe, Mousa, ...
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 _
 The information contained in this message is proprietary and/or confidential. 
 If you are not the intended recipient, please: (i) delete the message and all 
 copies; (ii) do not disclose, distribute or use the message in any manner; 
 and (iii) notify the sender immediately. In addition, please be aware that 
 any message addressed to our domain is subject to archiving and review by 
 persons other than the intended recipient. Thank you.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: somewhat OT ... in parts

2013-01-03 Thread Gary Kline
On Thu, Jan 03, 2013 at 07:27:41AM +0100, Polytropon wrote:
 On Wed, 2 Jan 2013 18:53:05 -0800, Gary Kline wrote:
  one reason ive stuck with vim-as-vi was of the colors that vim 
  defaults to.  I'v fought the dark/crap/puke brown  /search
  color that seems to be the default on my linux desktop.  it's hard
  to see my block cursor when I search for words.  und`zo, today I 
  spend a couple hours tracking down this color feature in vim.  was
  pleased to find that there was a blue-tone color set.  my joints
  are complaining so I'll ask if any of you can give me the right 
  terms to google for.  I'd like to find a lighter blue or play 
  around with the colors.  {am assuming that vim is the same across
  the linux and berkeley distributions.}
 
 In case you're using gvim (a GUI enclosing for vim) you can
 do the following: Load some text or source code, :syntax on,
 then in the menu: Edit - Color Scheme, and pin the resulting
 menu next to the editor window; click the different schemes
 to check if one of the predefined 17 schemes looks usable to
 you; when done, unpin the menu. This approach is just for
 testing and looking around in the first place, not for
 actual permanent use. :-)
 

wow!  [apologies: I fergot that I had an appt =all day== 
downtown.]  I am seeing this in mutt as all-green.  I guess
it's not that bad.

one question I have may solve the problem of vim displaying
all the ^/search terms and displaying them in some color. 
the default brown is awful, but dark blue isn't much bbetter.
So: can I add something to my ~/.vimrc that =limits=
the search to displaying one term?  if I am searching for,
say, the or I guess /\the\, I dont want every the in my 
file.  I want only  one.   or one at a time, and not necessarily
in color.


 
 
  PS:  OH; the offtopic thing.  I'm done, or =very= close with my
  voice by computer program.  It's in C with gtk and AFAICT works
  only on linux.  ive got a few months of cleaning up before 
  release 0.51 will be finished.  in the FBSD world, this would
  fit into the accessibility directory.  now, the speech-impaired
  who can type will be able to communicate with anyone.  VBC requires
  espeak and gvim.  
 
 There are both gvim and /usr/ports/audio/espeak in ports, and
 Gtk is also in there. What would cause this software to refuse
 working on FreeBSD?
 
hm. dunno.  but then , since I was using FBSD only as a server, I 
only put in ctwm.   no gnome, no gtk, no espeak.  actually, my
VBC certainly ought to work under gnome and with gtk, espeak, 
and gvim [as the pop-up editor].  I'll put the tarball on my
deadbbs.com site where ive got all my other portballs ... if 
you or anybody wants to try it out.  just gimmee a couple weeeks.
the code is seriously messy. --I hang my head... .

 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: somewhat OT ... in parts

2013-01-03 Thread Gary Kline
On Thu, Jan 03, 2013 at 08:44:22AM -0500, Rod Person wrote:
 On Wed, 2 Jan 2013 18:53:05 -0800
 Gary Kline kl...@thought.org wrote:
  
  thanks in advance for a few url's.  
  
 
 I love this color scheme, I use it for everything. There is a vim
 specific version...http://ethanschoonover.com/solarized
 


tx;  if it is just plug-and-work, I'll try it out.  --note that
to use this blue/green scheme, I swiped a couple lines. Voila.

 
 -- 
 Just because it can been done, does not mean it should be done.

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


somewhat OT ... in parts

2013-01-02 Thread Gary Kline


guys,

it was bill joy and friends  who clued me in on how-to use the
vi that he was writing in the late 70's.  I've been stuck on that 
editor--or VIIM in recent years.  Bill's original editor became 
COPYRIGHT of UNIX {TM}, and of course you just didnt mess with
the telephone company.  I was glad when keith bostic wrote an
exact clone of bill joy's editor.  I'm still getting used to vim.

one reason ive stuck with vim-as-vi was of the colors that vim 
defaults to.  I'v fought the dark/crap/puke brown  /search
color that seems to be the default on my linux desktop.  it's hard
to see my block cursor when I search for words.  und`zo, today I 
spend a couple hours tracking down this color feature in vim.  was
pleased to find that there was a blue-tone color set.  my joints
are complaining so I'll ask if any of you can give me the right 
terms to google for.  I'd like to find a lighter blue or play 
around with the colors.  {am assuming that vim is the same across
the linux and berkeley distributions.}

thanks in advance for a few url's.  

gary

PS:  OH; the offtopic thing.  I'm done, or =very= close with my
voice by computer program.  It's in C with gtk and AFAICT works
only on linux.  ive got a few months of cleaning up before 
release 0.51 will be finished.  in the FBSD world, this would
fit into the accessibility directory.  now, the speech-impaired
who can type will be able to communicate with anyone.  VBC requires
espeak and gvim.  


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


which C function is best to check for directory EXISTANCE?

2012-12-18 Thread Gary Kline

which C function is best to check for the existence of a 
*directory*?  say that I am want to make postitve that /tmp/foo/
exists.

ALso: which will make sure that the directory AND ffile 
tmp/foo/filename12345 exists and that I have read access to it?
in other words, can playing around with access() and stat() be
best?  is there any new dirstat(PATh) that would work?

just want to see which way is best?

dank mucho, y'all!

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to get audio from youtube?

2012-12-11 Thread Gary Kline

is there a way I can get the audio off u-toob?

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to get audio from youtube?

2012-12-11 Thread Gary Kline
On Tue, Dec 11, 2012 at 08:38:23PM -0800, Waitman Gobble wrote:
 On Dec 11, 2012 8:19 PM, Gary Kline kl...@thought.org wrote:
 
 
  is there a way I can get the audio off u-toob?
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
Twenty-six years of service to the Unix community.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 oh its like the new old napster.
 
 Youtube downloader works pretty good, needs python.
 
 http://rg3.github.com/youtube-dl/
 
 then convert using ffmpeg.
 
 Waitman Gobble
 San Jose California USA



thankee; will check it out!
-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about my new Dell 3010

2012-12-10 Thread Gary Kline
On Mon, Dec 10, 2012 at 07:05:50AM +, Matthew Seaman wrote:
 On 10/12/2012 00:31, Gary Kline wrote:
  On Sun, Dec 09, 2012 at 08:38:06AM +, Matthew Seaman wrote:
   On 09/12/2012 00:23, Gary Kline wrote:
 
  one of the remaining problems --hopefuully the Last-- with my 
  Dell 3010 quad i5 is that the resolution stops at 5:4.  it's
  something like 1280x1014 whereas my widescreen Dell needs
  1920x1280 or close to that.  do I need to go out and find a
  videocard?  or is there a way of taking my 6GB of RAM and 
giving 
  it to the video?
 
   Do you have a DVI connector on your current graphics card, or just the
   old style VGA connector?  Pretty much all modern widescreen monitors
   will have a DVI connector as well as the legacy VGA.
 
  actually, I have both.  the KVM dates from 2010 and came with
  four cables and eight plugs.  
 
 Ahah!  You're using a KVM switch.  That can block the monitor from
 sending its configuration information to the X server.  It's easy to
 tell: just try connecting directly to the monitor temporarily.
 
 If that works, you can use xrandr to extract the monitor details, write
 a mode line for your xorg.conf and put the KVM back in the loop, while
 keeping the optimum configuration.
 
   Cheers,
 
   Matthew


the thing is that I had this working before--twice--one running
Gnnome, once KDE and both thru theKVM switch.  the last time I
re-reinstalled from a DVD [gnome], the kde from a CD: nojoy.

gary
 
 PS I managed to get both ssh's [bi-directionally] within a few
 hours.  ive run every diagnostic I can think of.

 
 -- 
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey
 
 



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about my new Dell 3010

2012-12-10 Thread Gary Kline
On Mon, Dec 10, 2012 at 02:26:43AM -0600, Zane C. B-H. wrote:
 On Sun, 9 Dec 2012 15:47:06 -0800
 Gary Kline kl...@thought.org wrote:
 
   
  
  
  Rats:: xvidtune gave me 
  
  Video modes are not settable on this chip.
  
  how cheap can you get? no, the question is: what chip/video
  card do I need that will get me [at least]  1920x1280?
 
 Unless you wish to get the the KMS stuff working like Warren Block
 suggested, I strongly advise getting a Nvidia card as of
 currently that is the easiest and most reliable way to get good 3D
 under FreeBSD.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



thanks; I will check into this!  ... .

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about my new Dell 3010

2012-12-09 Thread Gary Kline
On Sun, Dec 09, 2012 at 05:24:27AM +0100, Polytropon wrote:
 On Sat, 8 Dec 2012 16:23:31 -0800, Gary Kline wrote:
  
  
  
  one of the remaining problems --hopefuully the Last-- with my 
  Dell 3010 quad i5 is that the resolution stops at 5:4.  it's
  something like 1280x1014 whereas my widescreen Dell needs
  1920x1280 or close to that.  do I need to go out and find a
  videocard?  or is there a way of taking my 6GB of RAM and giving 
  it to the video?
 
 There are two factors involved:
 
 The question of video memory is usually selectable in the
 CMOS setup of the BIOS. Defaults will allocate several (and
 sufficient) MB for common resolutions. However, this is a
 usually automated process that does not involve user action.
 It should just work(TM)(R)(C). :-)


Holy Crud =no=.  the 3010 has that screwy bootloader 
UEIF [?] that took me 79 years to get past that.  the box 
just-boot.  but not into widescreen.

actually, I have two optiplix models; the older is
a Dell dual and works at widescreen.  I dont know why
or how.


 The question of the support for the current display is handled
 by the GPU driver (usually brought by X itself or an additional
 package, like for nVidia drivers). You can easily obtain what
 resolution your display _natively_ has (in case it's a LCD,
 which I assume), and the driver should automatically initialize
 the display for _that_ display size (because physically, there
 is only that one, in contrast to CRTs that can support different
 display characteristics).


you lost me.  how can I easily obtain the resolution?
FWIW:: im using my KDE switch ... 

   ssh works going out; I get no route to host going
   back from this dell dual to tao my new quad.  I have 
   been trying for around three hours to get ssh working
   bidirectionally.  nutshell, there is no way I can get
   Perry's or your xorg.con file onto tao wwithout a 
   shit*oad of typing.  censored


 In case it does _not_ work automatically, you can always setup
 things using xorg.conf (which you normally do _not_ need). For
 example,
 
   Section Screen
   Identifier  Screen0
   Device  Card0
   Monitor Monitor0
   DefaultDepth24
   SubSection Display
   Viewport0 0
   Depth   24
   Visual  TrueColor
   Modes   1920x1280
   EndSubSection
   EndSection
 
 would require 1920x1280 to be initialized regardless of what
 the integrated magician might think.
 
 
 
 For dynamic testing, you can use the xrandr command. Issue those
 commands from an X terminal:
 
   xrandr --fb 1920x1280
   xrandr --size 1920x1280


HMMM.  I Just buttoned over: the --size says that the 
1920x1280 isnt found in the modes.

I'll use locate and see where the heck that configuration file is.

...WEll, the xorg.conf is only three lines long.  it's in the 
usual place, /etc/X11 .  and there are a bunch of related files
in /usr/share/X11/* without a Mode line anywhere.



 You can use xvidtune (usually _not_ used for LCDs, only for CRTs
 and tuning) to verify.
 
 In worst case, put those two commands in your X initialization
 file (usually ~/.xinitrc, sometimes ~/.xsession, if not cascaded).
 It's a dirty hack, but it should work. :-)
 


everything in my to-be desktop is standard.  so is KDE and 
Gnome.  I'll see in xvidtune is there.

thanks for the help.

gary

 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: question about my new Dell 3010

2012-12-09 Thread Gary Kline
On Sat, Dec 08, 2012 at 07:21:17PM -0800, per...@pluto.rain.com wrote:
 Gary Kline kl...@thought.org wrote:
 
  one of the remaining problems --hopefuully the Last-- with my 
  Dell 3010 quad i5 is that the resolution stops at 5:4.  it's
  something like 1280x1014 ...
 
 Probably 1280x1024 -- a common size before widescreen.
 The largest commonly seen back then was 1600x1200.
 
  ... whereas my widescreen Dell needs 1920x1280 or close to that.
 
 Probably 1920x1200.


see enclose snapshot.  I was right.   nonetheless, howi get that 
here on my old deall dual and do not on my dell quad is the 
mystery.

 
  do I need to go out and find a videocard?  or is there a way of
  taking my 6GB of RAM and giving it to the video?
 
 Dunno about currently-supported versions, nor your particular
 display hardware, but 1920x1200 works for me on an ancient Dell
 Optiplex GX1 with ATI Mach64 under 6.1.  Maybe something in the
 (attached) conf and/or log will help.


I'll check, thanks.  I had linux as my desktop --and the
worst of the bunch, IMO, fedora.  have to use locate to
find the Xorg stuff.  

/*

   I wonder if the 1900 line isn't there and commented ...
   hmm.

 */


 Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 Section Files
   RgbPath  /usr/X11R6/lib/X11/rgb
   ModulePath   /usr/X11R6/lib/modules
   FontPath /usr/X11R6/lib/X11/fonts/misc/
   FontPath /usr/X11R6/lib/X11/fonts/TTF/
   FontPath /usr/X11R6/lib/X11/fonts/Type1/
   FontPath /usr/X11R6/lib/X11/fonts/CID/
   FontPath /usr/X11R6/lib/X11/fonts/75dpi/
   FontPath /usr/X11R6/lib/X11/fonts/100dpi/
 EndSection
 
 Section Module
   Load  dbe
   Load  dri
   Load  extmod
   Load  glx
   Load  record
   Load  xtrap
   Load  freetype
   Load  type1
 EndSection
 
 Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
 EndSection
 
 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/psm0
   Option  ZAxisMapping 4 5 6 7
 EndSection
 
 Section Monitor
   #DisplaySize  520   320 # mm
   Identifier   Monitor0
   VendorName   IQT
   ModelNameHDIT24W DSUB
  ### Comment all HorizSync and VertSync values to use DDC:
   HorizSync31.0 - 83.0
   VertRefresh  59.0 - 76.0
 # Modelines that actually worked on the BTC LM-1702, for reference.  The 
 first is known
 # to also work on the IQT (Hyundai) HDIT24W, but it is stretched in the X 
 dimension.
 # Modeline 1280x1024  108.00  1280 1328 1440 1688  1024 1025 1028 1066 
 +hsync +vsync
 # Modeline 1024x76865.00  1024 1048 1184 1344   768  771  777  806 
 -hsync -vsync
 # Modeline  800x60040.00   800  840  968 1056   600  601  605  628 
 +hsync +vsync
 # Modeline  640x48025.20   640  656  752  800   480  490  492  525 
 -hsync -vsync
 
 # Modeline reported as working (via DVI) on a 24 Eizo FlexScan:
 # Modeline 1920x1200  162.00  1920 1968 2000 2080  1200 1203 1209 1235 
 +HSync -Vsync
 
 # Modelines implied by Xorg.0.log, but not reported by autoconf, for
 # the HDIT24W (aka IQT 9001, IQT = ImageQuest, www.imagequest.co.kr)
 #+W = wider aspect ratio than (HDIT24W native) 1920x1200
 
   Modeline 1920x1200  154.128 1920 1968 2000 2080  1200 1203 1209 1235 
 +hsync +vsync
 #+W   Modeline 1920x1080  148.50  1920 2008 2052 2200  1080 1084 1089 1125
 
 # Widescreen resolutions claimed as supported in Xorg.0.log, but no details 
 given:
 # Modeline 1680x1050
 # Modeline 1440x900
 #+W   Modeline 720x400
 
 # Other widescreen resolutions of the same aspect ratio as 1920x1200:
 # Modeline 1600x1000
 # Modeline 1280x800
 # Modeline 1229x768
 # Modeline 960x600
 # Modeline 720x450
 # Modeline 640x400
 
 # Modelines reported by autoconf for the HDIT24W -- these are not widescreen:
 # Modeline 1792x1344  204.80  1792 1920 2120 2448  1344 1345 1348 1394 
 -hsync +vsync
 # Modeline 1600x1200  175.50  1600 1664 1856 2160  1200 1201 1204 1250 
 +hsync +vsync
 # Modeline 1600x1200  162.00  1600 1664 1856 2160  1200 1201 1204 1250 
 +hsync +vsync
 # Modeline 1400x1050  155.80  1400 1464 1784 1912  1050 1052 1064 1090 
 +hsync +vsync
 # Modeline 1400x1050  122.00  1400 1488 1640 1880  1050 1052 1064 1082 
 +hsync +vsync
 # Modeline 1280x1024  135.00  1280 1296 1440 1688  1024 1025 1028 1066 
 +hsync +vsync
 # Modeline 1280x1024  108.00  1280 1328 1440 1688  1024 1025 1028 1066 
 +hsync +vsync
 # Modeline 1280x960  108.00  1280 1376 1488 1800  960 961 964 1000 
 +hsync +vsync
 # Modeline 1152x864  108.00  1152 1216 1344 1600  864 865 868 900 
 +hsync +vsync
 # Modeline 1024x768

Re: question about my new Dell 3010

2012-12-09 Thread Gary Kline
On Sun, Dec 09, 2012 at 08:38:06AM +, Matthew Seaman wrote:
 On 09/12/2012 00:23, Gary Kline wrote:
 
  one of the remaining problems --hopefuully the Last-- with my 
  Dell 3010 quad i5 is that the resolution stops at 5:4.  it's
  something like 1280x1014 whereas my widescreen Dell needs
  1920x1280 or close to that.  do I need to go out and find a
  videocard?  or is there a way of taking my 6GB of RAM and giving 
  it to the video?
 
 Do you have a DVI connector on your current graphics card, or just the
 old style VGA connector?  Pretty much all modern widescreen monitors
 will have a DVI connector as well as the legacy VGA.

actually, I have both.  the KVM dates from 2010 and came with
four cables and eight plugs.  

 If you don't know what those are, see this page:
 
 https://en.wikipedia.org/wiki/File:DVI_Connector_Types.svg
 
 Most DVI monitor cables have a DVI-D dual link plug on them, but
 anything matching those patterns is proof positive of DVI.
 
 VGA connectors looks like this:
 
 https://en.wikipedia.org/wiki/File:Vga-cable.jpg
 
 Anyhow, the point is if you're using a DVI connector, X will be able to
 query the monitor and find out its preferred resolution etc.
 automatically.  Whereas with a VGA connector, it will default to using
 one of the standard VGA series of resolutions.  All monitors will
 support some sort of VGA resolution for backwards compatibility --
 typically 1024x768@60Hz -- and many will support higher, but all of the
 VGA series resolutions are 4:3 aspect ratio which doesn't look very nice
 on a widescreen monitor.
 
 There's two ways to fix the problem.
 
   1) Get a video card with a DVI connector, or at least a DVI-to-DVI
  monitor cable if your card already has that.  Apart from the
  hassle of getting a new video card that will work happily with X,
  this should be pretty painfree.
 
   2) Edit your Xorg.conf to add a custom mode that matches what your
  monitor expects.  Back in the days of CRTs this was a potentially
  risky thing to do, as configuring the video mode wrongly could
  phsically damage your monitor.  Modern flatscreens however will
  just put up a message saying the input is incompatible.
 
 Working out what the right parameters are to put in the mode definition
 is the tricky bit.  You may be able to use xrandr to pull them out (but
 if xrandr could do it, then X would do it automatically too...) There
 should be documentation that comes with the monitor, or you may find a
 kind soul online with the same make and model of monitor who will send
 you some xrandr output.


here's the Whole story.  last summer I dedided to switch to 
all linux`in order to make upgrades simple[r].  since my brother
engineer [a retired ME] was too ill to help i hired a technician.

my old-tao (a homebrew AMD quad-CPU) had a broken USB. 
this was how I realized that the USB was broken.  with a new KVM
the home-brew still failed.  I could ssh to- from, but not
watch it boot.

So
I finally
decided it was time to buys another Dell, new.  somebody gave me
a used Dell dual.  my server is  a new dual from '09.  used and 
refurb'd and home-brew is not the optimal way.  so my tech said 
he would look for the best Dell quad he could find, and after 6
weeeks he brought over the 3010.  [fact: this chap is self-taught.
but he got me a new kvm and blindly pluged things together.]]

whether the 3010 has ye-olden VGA jack =plus= the DVI, I dont 
know.  my guess is that the technician knows the diff.  nutshell,
looks like whatever ghaphic chipset the computer had maxes out
a 5:4 screen-size ratio.  I =will= try adding the mode line info.

thanks,

gary



   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey
 
 



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


question about my new Dell 3010

2012-12-08 Thread Gary Kline



one of the remaining problems --hopefuully the Last-- with my 
Dell 3010 quad i5 is that the resolution stops at 5:4.  it's
something like 1280x1014 whereas my widescreen Dell needs
1920x1280 or close to that.  do I need to go out and find a
videocard?  or is there a way of taking my 6GB of RAM and giving 
it to the video?

anybody??

tia,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


just thought of a new gui port!

2012-11-27 Thread Gary Kline


how about a local weather GUI that reports the outdoors highs and
lows [temps], and the barometric scale and the forecast?

we've got one in a shaded area on our deck that pings an indoors
receiver every 10-15 minutes.  I can't get too close to the 
receiver for fear of ramming into the furniture.  also, the
backlight only lasts a few seconds ... too fast for me to scan
everything.

1. is there any transmitter that will reach, say, 25 meters and 
whose data could be picked up by a card inside my computer?

2. I live so close to the airport weather station that im sure
that would tell me tons more stuff that I could pick up outside the
house.  Iremember seeing the weather bureau for the entire US.
pretty sure there are global sites with similar data.

feedback?

gary

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


any gtk folk on list?

2012-11-21 Thread Gary Kline

guys,

it helps to have g_get_home_dir() rather than g_get_homedir();
I *finally* triple-checked.  yep, that was why my voice-by-
computer GUI program wouldn't compile.  ...Anyhow, I hope there 
are some listmembers on -questions who can help me with a final
un-implemented feature.  

my program will help people with a small laptop or tablet that 
runs Unix  who CAN type but whose speech is impaired.  or 
perhaps they cannot talk at all.

one of my last features is a window that will display something
the speech-impaired may have typed several minutes before.  by
hitting the display prev button, a window opens with the title,
say talk.17.text  that was the 17th entry typed and spoken by the
computer.  it may be several paragraphs.  I already have (at the
button of this window), the buttons [Play], [Last window], 
[Next window], [Close window].

I am not skilled enough yet to know how to reach the Last or
Next --if these exist.  wondering if any FBSD folk can help me
with this.  if so, let's take it offline to avoid anybody who may
not think that -questions is the right mailinglist.

ithink I have exhausted all good-will among the gtk* lists and
forums.  right now I'm working on the built-in documentation.  
--this Will include a brief tutorial on vim/gvim.

TIA, people... .

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Anybody use the Dell 3010??

2012-11-19 Thread Gary Kline
On Mon, Nov 19, 2012 at 12:18:32PM +0100, Polytropon wrote:
 On Mon, 19 Nov 2012 06:00:29 -0500, Jerry wrote:
  On Mon, 19 Nov 2012 11:43:06 +0100
  Polytropon articulated:
  
   Allow me to provide just one example:
   
 More in the series of bizarre UEFI bugs
 http://mjg59.dreamwidth.org/20187.html
  
  That doesn't appear to be a bug. It appears that the code is doing
  exactly what the designer wanted it to do. At best this was an
  oversight by the designer; at worse just plain incompetence.

I heard from my technician last night--on his way East for the
week.  he send the URL for an 18MB file {from Dell} all about 
this new paradigm.  --like I've got the time to much around with
that much detail... .

someone, I think down-queue said something about the UEFI having
been designed to make it all the more difficult to drop on FBSD 
[or anything *except* Doze.  my tech echoed the same thing 8 days
ago when he dropped off the box.  

I'm sure by now the BIOS has been hacked beyond reason--especially
with the 64-bit versions.  Still, if I were designing a new BIOS
that supported the vast majority of my users [DOZE], I would use
every last trick I could dream of to strongly =discourage= anything
but Windows.  
 
 That's quite possible. We've seen poorly implemented ACPI
 behaviour in modern BIOS as well, or manufacturers
 intendedly going their way to limit hardware in what
 it can do or what it will support.

Exactly; not to put to fine a point on this, but this is where I
smell greed as part of the picture/rationale.  


 It's just my fear that UEFI won't do better per se, and
 that lazy or incompetent people will screw it up, and
 make it worse.
 
 The article mentions legacy boot to restore a somewhat
 normal behaviour...
 
ha! I tried the legacy route for hours without success.  only when
I selected the UEFI did things start to work.  and then, upon reboot, 
I got the string Cand Find Boot Sector; press any key to reboot

nutshell, I'll scan thru the 18meg file that I have the pointer to.
but will probably ask for a less-featureful model.



 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Anybody use the Dell 3010??

2012-11-19 Thread Gary Kline
On Mon, Nov 19, 2012 at 10:30:44AM -0500, Daniel Feenberg wrote:
 
 
 
 On Mon, 19 Nov 2012, Mehmet Erol Sanliturk wrote:
 
 On Mon, Nov 19, 2012 at 4:55 AM, Daniel Feenberg feenb...@nber.org wrote:
 
 
 
 On Mon, 19 Nov 2012, Polytropon wrote:
 
  On Mon, 19 Nov 2012 06:00:29 -0500, Jerry wrote:
 
 On Mon, 19 Nov 2012 11:43:06 +0100
 Polytropon articulated:
 
  Allow me to provide just one example:
 
 More in the series of bizarre UEFI bugs
 
  http://mjg59.dreamwidth.org/**20187.htmlhttp://mjg59.dreamwidth.org/20187.html
 
 
 
 The only way for FreeBSD (or Linux, for that matter) to survive
 in a world where hardware vendors care only about Windows, is
 to make sure that FreeBSD only depends upon features that Windows
 uses. If a hardware or firmware specification requires feature X,
 but Windows doesn't use feature X, then vendors won't test feature
 X, and FreeBSD can't depend on it being functional. So it shouldn't
 be required by FreeBSD. It can be used, provided it isn't required.
 In this case it may mean that FreeBSD must identify itself as
 Windows, just as all browsers identify themselves as IE.
 
 
 
 The above paragraph is completely meaningless , because neither *BSD , nor
 Linux
 is a marginal operating system .
 
 Please see
 
 http://www.top500.org/statistics/list/
 
 
 Select from this Operating System Family
 where in world's 500 super computers , Windows is on ONLY 3 computers , the
 rest is
 almost Linux 469 , Unix 20 , BSD-based 1 computers and others .


I'll take a bow, or part-of, for the BSD computer.  Maybe I 
shouldn't.  1/500 is nothing to put on my tombstone:-)


 http://www.asus.com/Static_WebPage/OS_Compatibility/
 http://www.asus.com/websites/global/aboutasus/OS/Linux.pdf
 contains Linux distributions supported in ASUS desktop boards .
 
 Some trade marked servers excluded , Linux and *BSD run on many server
 hardware .
 
 
 It isn't what vendors should care about. I agree they should care
 about FreeBSD. But by and large they don't. Arguing that they should
 serves no purpose. They have poor moral character, that is why they
 don't care and also why they are impervious to argument, except from
 large customers. The handful of server vendors that are exceptions
 do not detract from the force of my argument.
 
 daniel feenberg


answer me this, daniel or anybody else:: isn't there a very small
group who is devoted to creating a 100% open/free hardware and
software?  maybe 64-bit only to start?  most of us who are still
alive and contributing *something* might be interested in this.

forget where I read it, but unless I was dreaming, it was for real
and would fit the OPen-* model... .

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Anybody use the Dell 3010??

2012-11-19 Thread Gary Kline
On Tue, Nov 20, 2012 at 07:46:45AM +0100, Polytropon wrote:
 On Mon, 19 Nov 2012 13:27:52 -0800, Gary Kline wrote:
  answer me this, daniel or anybody else:: isn't there a very small
  group who is devoted to creating a 100% open/free hardware and
  software?  maybe 64-bit only to start?  most of us who are still
  alive and contributing *something* might be interested in this.
 
 Even though it's not x86, this might be interesting as it
 is _really_ open:


yeah, but I NEED x86


 http://cubieboard.org/
 
 You can freely obtain schematics, dimensions, components...
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Anybody use the Dell 3010??

2012-11-18 Thread Gary Kline


I probably should cc the hardward guys about this.  first, see if it
geta  any traction here, tho.  my tech guy got me a Delll 3010
that has an improved [[meaning screwed up]] BIOS with some 
hardware mess called the UEFI.

Trying to get ssh to work *bi-directionally* i royally f'ked up my
installation for well over 27 hours.  ssh still fails to connect going
in to my new tao; but this time I know what to avoid.  my 
question is simple: of what use is this new/improved POS setup?

im sure its the same for every flavor of unix. my view is that it
mjust makes using non-windozw that much more painful. 

gary

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote:
 On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote:
  Anyway, linux is 
  installed; the box is on my internal IP net.  I can ssh *out*. to my
  server, vut from my server or wherever, I cant ssh back in.
  
  doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
  Connection refused.  if I try an ssh -X tao I get a string like
  Connnection closed.  can any of you network wizards or setup
  wizards clue me in.  {FWIW:: the ssh stuff is from OpenBSD.}
 
 Have you checked that tao is actually running a SSH server?

ja vohl.  futher dhclient is there.  I'll go back to comparing 
tao to ethic.
 
 The way _how_ to enable it depends on the distribution you're
 using and is very different among the Linusi.

rt., and this is fedora, my least fav distro.  But I've always had
trouble   with ssh, even with FBSD.

 
 The FreeBSD equivalent would be something like
 
   # /etc/rc.d/sshd start
 
 or putting sshd_enable=YES into /etc/rc.conf to have this
 task at boot.
 
 Depending on what Linux you are using, this may be as easy as
 on FreeBSD... or overcomplicated, because nobody needs this
 anyway. :-)


no mo' energy.  I hear my bed singing sirens' songs:)

5 mins later: I ssh'd from tao to ethic then used the ssh-vvv
for debug.  Somewhere this string shoewd up.  as noted, this 
is from OBSD:

SSH2_MSG_IGNORE

so  if anybody running openbsd or fedora, or anybody who has stubbed
his toe this way, give a hollar.

S'All,

gary
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Tue, Nov 13, 2012 at 09:08:12AM +0100, Polytropon wrote:
 On Mon, 12 Nov 2012 23:57:21 -0800, Gary Kline wrote:
  On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote:
   On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote:
Anyway, linux is 
installed; the box is on my internal IP net.  I can ssh *out*. 
to my
server, vut from my server or wherever, I cant ssh back in.

doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
Connection refused.  if I try an ssh -X tao I get a string 
like
Connnection closed.  can any of you network wizards or setup
wizards clue me in.  {FWIW:: the ssh stuff is from OpenBSD.}
   
   Have you checked that tao is actually running a SSH server?
  
  ja vohl.  futher dhclient is there.  I'll go back to comparing 
  tao to ethic.
 
 The dhclient is a client (just as the ssh program), while
 the system has to run some kind of SSH _server_ (sshd on
 FreeBSD for example). Additionally, network configuration
 and especially firewall has to _permit_ the access to that
 specific service (that has to be enabled).


hmmm. that might be it.  my firewall is in a nice small, 4w netgear
box.  it's got a web interface and runs some flavor of firewall that 
I never studied.  yuk.  

 
 
 
   The way _how_ to enable it depends on the distribution you're
   using and is very different among the Linusi.
  
  rt., and this is fedora, my least fav distro.  But I've always had
  trouble   with ssh, even with FBSD.
 
 There is a nice summary on how to get the OpenSSH server
 set up on Fedora:
 
 http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH
 
 Basically, it's about installing and enabling it. The article
 also discusses how to enable configure the firewall properly.
 


thank you.  I'll ck it out.  also google other stuff if I have to.

 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Tue, Nov 13, 2012 at 03:10:33PM +0700, Erich Dollansky wrote:
 Hi,
 
 On Mon, 12 Nov 2012 23:57:21 -0800
 Gary Kline kl...@thought.org wrote:
 
  On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote:
   On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote:
Anyway, linux is 
installed; the box is on my internal IP net.  I can ssh
*out*. to my server, vut from my server or wherever, I cant ssh
back in.

doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
Connection refused.  if I try an ssh -X tao I get a
string like Connnection closed.  can any of you network wizards
or setup wizards clue me in.  {FWIW:: the ssh stuff is from
OpenBSD.}
   
   Have you checked that tao is actually running a SSH server?
  
  ja vohl.  futher dhclient is there.  I'll go back to
 
 you wanted to say 'jawohl'?
 
 Erich


Ha! yes!  I did not know it was one word, but should have remembered
the v should be a w ...



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote:
 On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote:
  Hi,
  
  On Mon, 12 Nov 2012 23:57:21 -0800
  Gary Kline kl...@thought.org wrote:
  
   On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote:
On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote:
 Anyway, linux is 
   installed; the box is on my internal IP net.  I can ssh
 *out*. to my server, vut from my server or wherever, I cant ssh
 back in.
 
   doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
   Connection refused.  if I try an ssh -X tao I get a
 string like Connnection closed.  can any of you network wizards
 or setup wizards clue me in.  {FWIW:: the ssh stuff is from
 OpenBSD.}

Have you checked that tao is actually running a SSH server?
   
 ja vohl.  futher dhclient is there.  I'll go back to
  
  you wanted to say 'jawohl'?
 
 Jawohl mein Herr! :-)
 
What, no comma!?

:)




 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Tue, Nov 13, 2012 at 09:08:12AM +0100, Polytropon wrote:
 On Mon, 12 Nov 2012 23:57:21 -0800, Gary Kline wrote:
  On Tue, Nov 13, 2012 at 06:39:52AM +0100, Polytropon wrote:
   On Mon, 12 Nov 2012 21:22:00 -0800, Gary Kline wrote:
Anyway, linux is 
installed; the box is on my internal IP net.  I can ssh *out*. 
to my
server, vut from my server or wherever, I cant ssh back in.

doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
Connection refused.  if I try an ssh -X tao I get a string 
like
Connnection closed.  can any of you network wizards or setup
wizards clue me in.  {FWIW:: the ssh stuff is from OpenBSD.}
   
   Have you checked that tao is actually running a SSH server?
  
  ja vohl.  futher dhclient is there.  I'll go back to comparing 
  tao to ethic.
 
 The dhclient is a client (just as the ssh program), while
 the system has to run some kind of SSH _server_ (sshd on
 FreeBSD for example). Additionally, network configuration
 and especially firewall has to _permit_ the access to that
 specific service (that has to be enabled).
 

and I believe you need to give the full path name; that's one of the 
things ii just did.

 
   The way _how_ to enable it depends on the distribution you're
   using and is very different among the Linusi.
  
  rt., and this is fedora, my least fav distro.  But I've always had
  trouble   with ssh, even with FBSD.
 
 There is a nice summary on how to get the OpenSSH server
 set up on Fedora:
 
 http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH
 
 Basically, it's about installing and enabling it. The article
 also discusses how to enable configure the firewall properly.
 

well, it works.  im not sure what I did, but no comp;laints!
I'm running pfSense in a netgear box.  before I rebooted, my
local IP ended in .114; after and now it moved to .113.  when 
I did an ssh 10.47.0.113, voila! the new tao requested my password.
and I was in.  and go ssh back and forth.  Whew!

thanks for the help, guys.  

gary

ps:  I'v got to figure out how to remove gnome and install kde, 
c, but  at least that should be easy.
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote:
 Hi,
 
 On Tue, 13 Nov 2012 11:00:07 -0800
 Gary Kline kl...@thought.org wrote:
 
  On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote:
   On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote:
Hi,
   ja vohl.  futher dhclient is there.  I'll go back to

you wanted to say 'jawohl'?
   
   Jawohl mein Herr! :-)
   
  What, no comma!?
 
 what the Playboy did to the German language ...
 
 Playboy's German tag line missed out on a comma too. It was obviously a
 mistake. I have heard that they brought it back after decades of no
 comma in the tag line.


do you mean that it was Play boy? or what? what was the tag line?

 
 You know, while in other countries man could say that they read Playboy
 only because of the articles, in Germany they read Playboy only to check
 on the comma.


:-) funny.  I, of course, =always= read playboy for the articles,
just like every other guy.  {that line goes back to the  early
1970s.  at least.}

gary

 
 Erich
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Wed, Nov 14, 2012 at 03:58:14AM +0100, Polytropon wrote:
 On Wed, 14 Nov 2012 08:26:00 +0700, Erich Dollansky wrote:
  Hi,
  
  On Tue, 13 Nov 2012 17:07:38 -0800
  Gary Kline kl...@thought.org wrote:
  
   On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote:
   
  Playboy alles was Maennern Spass macht
 
 Ouch.
 
 Unlike in English, the comma in German is an important symbol
 in grammar. It brings structure to sentences. In English, there
 is the word order that achieves this goal, and a comma is
 mostly optional or left to preferences. In German, there are
 rules where to place a comma, and where not to. Those rules
 are relatively easy to understand, and luckily they do not
 leave much space for individual preferences. :-)
 
 In the above example,
 
   Playboy, alles was Maennern Spass macht
 
 or better using a hyphen
 
   Playboy - alles was Maennern Spass macht
 
 would have been correct, as it's shown on the current web page
 in a correct manner.
 


So!  this explains a lot that I've noticed over the years.  
remember that im beyong =getting= old; I really Am  old.

before I started high school, the rules for commas were
almost set in concrete.  my english teacher took points off
if there was an incorrect comma.  it looks like in germany
language has remained very strict. {but then, that's why 
punctuation exists.}

I've noticed an easing of punctuation--esp'ly in the use of
commas--in how I was taught.  but let's face it: it's easier 
to text by slacking off.  :)

 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Wed, Nov 14, 2012 at 02:35:43AM +0100, Polytropon wrote:
  box.  it's got a web interface and runs some flavor of firewall that 
  I never studied.  yuk.  
 
 I assume your HW firewall protects you to the outside. Of
 course it should allow SSH connections from the outside to
 the tao box _if_ you want it that way.


my netgear and pfSense setup surprised me this afternoon.  the
initial setup listed my internal IP as

10.47.0.114,

but something I did changed the DHCP leases section to

10.47.0.113 .

after that, I could ssh out and then ssh back to tao.


 But I was thinking about the firewall run by the Fedora OS
 that might block SSH connections to tao, no matter from
 where they come, just as if you would have set up FreeBSD's
 ipfw with the default to deny connections: without explicitely
 enabling SSH connections the server cannot be reached, no
 matter if it's running.
 

I havent used ipfw for many years.  the most recent firewall I 
ran was on FBSD 5.X and was {i think} pfw.  I got quite good
at it.  I should learn more about plain pf and pfSense.
do you know if pf/pfsense defaults to DENY incoming connections?
that would explain a Lot!

 
 The way _how_ to enable it depends on the distribution you're
 using and is very different among the Linusi.

rt., and this is fedora, my least fav distro.  But I've always 
had
trouble   with ssh, even with FBSD.
   
   There is a nice summary on how to get the OpenSSH server
   set up on Fedora:
   
   http://www.techotopia.com/index.php/Configuring_Fedora_Linux_Remote_Access_using_SSH
   
   Basically, it's about installing and enabling it. The article
   also discusses how to enable configure the firewall properly.
   
  
  
  thank you.  I'll ck it out.  also google other stuff if I have to.
 
 Check if the Techotopia article matches your version of Fedora.
 It shows how to install and enable the SSH server and also
 mentions the built-in firewall that has to be configured
 to allow connections to that server.


the URL you had was fedora-13; what I installed fedora-17.
and just recently--maybe when I rebooted--i saw fedora-19[?]
not sure... .

 
 From my limited experience with Fedora (haven't used it for some
 time), this looks like what you need to do.
 

well, the deal is that my volunteer system admin worked for 
red hat for about 5 years.  I'm more used to ubuntu, but my
friend says that im on my own

anyway, things are starting to eork.  [!]


 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: well, try here first...

2012-11-13 Thread Gary Kline
On Wed, Nov 14, 2012 at 04:01:20AM +0100, Bernt Hansson wrote:
 2012-11-13 06:22, Gary Kline skrev:
 
  guys,
 
  hold your flame-throwers, because this is about how to get ssh working
  from an outside computer into my brand new tao that is running a
  flavor of linux.  I just got my quad i5 box to replace the old, broken
  tao.  this was the box with the busted USB. [!]  Anyway, linux is
  installed; the box is on my internal IP net.  I can ssh *out*. to my
  server, vut from my server or wherever, I cant ssh back in.
 
  doing an % ssh 10.47.0.114  OR ssh tao gives me an instant
  Connection refused.  if I try an ssh -X tao I get a string like
  Connnection closed.  can any of you network wizards or setup
  wizards clue me in.  {FWIW:: the ssh stuff is from OpenBSD.}
 
  anybody know what im NOT doing?
 
 You have to start the ssh daemon (sshd)


this may have been what did the trick; also, you need the full 
path.
-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: way way off topic

2012-10-23 Thread Gary Kline
On Tue, Oct 23, 2012 at 11:31:18AM +0700, Olivier Nicole wrote:
 Gary,
 
 On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote:
 
  apologies up front for this math type quandary. I had it in a std C program,
  but 3+ hours of grepping havent found it.  I would have bet my last cent 
  that I
  had a summary Somewhere, but cant find that either.
 
  here is the problem as best I can remember it.
 
 
  let's say that john is 8 and his older friend, jim, is 22.
  how much older is exact percentage terms is jim?
 
 That should be 22/8=2.75
 Jim is 275% older than John
 
 Olivier
 

thanks.  but this wasn't the formula I remember mousing 
down.  I'll keep looking.

gary

ps:  it was involved; something with three or more steps.
things that I had crammed together in one line of C... 


  to find the answer I had to find the relative difference {22 - 8} and then
  do something with the difference.  this isn't any kind of trick or
  advanced-cognition; I just thought it was clever [and exact].  it 
  obviously
  works for finding the abs() results in subtraction.  it's something I found 
  on
  the web and swipes and save the prose discussion.  BZZT: Lost, :-(
 
  if this seems dumb, I plead guilty!
 
  im asking here because -questions is the sharpest list on the net.
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Twenty-six years of service to the Unix community.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: way way off topic

2012-10-23 Thread Gary Kline
On Tue, Oct 23, 2012 at 11:34:36AM +0700, Erich Dollansky wrote:
 Hi,
 
 On Mon, 22 Oct 2012 21:20:07 -0700
 Gary Kline kl...@thought.org wrote:
 
  
  apologies up front for this math type quandary. I had it in a std C
  program, but 3+ hours of grepping havent found it.  I would have bet
  my last cent that I had a summary Somewhere, but cant find that
  either.
  
  here is the problem as best I can remember it.
  
  
  let's say that john is 8 and his older friend, jim, is 22.  
  how much older is exact percentage terms is jim?
  
  to find the answer I had to find the relative difference {22 - 8} and
  then do something with the difference.  this isn't any kind of trick
  or advanced-cognition; I just thought it was clever [and exact].
  it obviously works for finding the abs() results in subtraction.
  it's something I found on the web and swipes and save the prose
  discussion.  BZZT: Lost, :-(
  
 It seems that I am also lost. What should abs() do here?
 
 I would multiply the age of john and the difference with 100 and then
 divide the result to get the percentage.
 
 Or did I get lost here?
 
  if this seems dumb, I plead guilty!
  
  im asking here because -questions is the sharpest list on the net.
  
 
 Are you sure?
 
 Erich

LOL.  yes!  

it's been years since I used the steps to find the accurant amount of
difference.  it may not have involved a %.  I can only think of one
concrete example.

lets say that x == 15 and y == 16.  Q:  how much less is x than y?
it is not just 1; there was some other way of finding the answer.  


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: way way off topic

2012-10-23 Thread Gary Kline
On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote:
 On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote:
  Gary,
  
  On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote:
  
   apologies up front for this math type quandary. I had it in a std C 
   program,
   but 3+ hours of grepping havent found it.  I would have bet my last cent 
   that I
   had a summary Somewhere, but cant find that either.
  
   here is the problem as best I can remember it.
  
  
   let's say that john is 8 and his older friend, jim, is 22.
   how much older is exact percentage terms is jim?
  
  That should be 22/8=2.75
  Jim is 275% older than John
 
 Jim is 175% _older_. Why? Because 100% older means 16 years,
 as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24).
 Percentage is always a reference to something else, in this
 question, Jim's age in relation to John's. The word older
 means adding percentage, refering to the base value of 8,
 divided in 100 parts (floating point considerations aside),
 to finally reach the value 22.
 
 If the question would be different, say, What's the percentage
 of John's age regarding Jim's age? In that case, it would be
 8/22=0.3636 being 36%. Obvious: John's age is approximately
 1/3 of Jim's age.
 
 The easiest way for creating the proper calculation is to refer
 to the equation
 
  percentage * 100
   percentage value = 
base value
 
 and resolve it to whatever is required.
 


I just took a cup's worth of coffee/caffeine to bring me back up! but
it seems to me that your logic is about the same as I remember 
otherwise stated in getting the true differences in ages or speeds
[say or cars. x == 200clicks/hr, y == 400 clicks/hour.] or 
*whatever*.  it isn't as easy as it would seem at first thought.



 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: way way off topic

2012-10-23 Thread Gary Kline
On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote:
 On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote:
  Gary,
  
  On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote:
  
   apologies up front for this math type quandary. I had it in a std C 
   program,
   but 3+ hours of grepping havent found it.  I would have bet my last cent 
   that I
   had a summary Somewhere, but cant find that either.
  
   here is the problem as best I can remember it.
  
  
   let's say that john is 8 and his older friend, jim, is 22.
   how much older is exact percentage terms is jim?
  
  That should be 22/8=2.75
  Jim is 275% older than John
 
 Jim is 175% _older_. Why? Because 100% older means 16 years,
 as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24).
 Percentage is always a reference to something else, in this
 question, Jim's age in relation to John's. The word older
 means adding percentage, refering to the base value of 8,
 divided in 100 parts (floating point considerations aside),
 to finally reach the value 22.
 
 If the question would be different, say, What's the percentage
 of John's age regarding Jim's age? In that case, it would be
 8/22=0.3636 being 36%. Obvious: John's age is approximately
 1/3 of Jim's age.
 
 The easiest way for creating the proper calculation is to refer
 to the equation
 
  percentage * 100
   percentage value = 
base value
 
 and resolve it to whatever is required.
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...


yo; I THInk this is it. around line 4542 in my ~/.HowTo file::



%%% find percent inc/dec [increase/decrease] between two numbers.

Always figure the percentage of change relative to the original value!
For instance: * Suppose a certain item used to sell for seventy-five
cents a pound, you see that it's been marked up to eighty-one cents a
pound. What is the percent increase?

First, I have to find the absolute
increase:
Reserved 81 - 75 = 6

The price has gone up six cents. Now I can find the
percentage increase over the original price.

This percentage increase is the relative change: 6/75 = 0.08
...or an 8% increase in price per pound.



So I was wrong about ages or speed; it's the % betwen two ints;
here, the inc/dec [or change] between 75 cents as compared to
an inflated increase of 81 cents.

1.  find abs increase:  81-75 = 6;
2   find the % increase over the *original* value. 6.0/75.0
3.  percent increase using doubles is 0.08;  so a markup of six
cents is an 8% rate.


so: going back to the ages example with john bein 8, jim, 22.
22-8 is 14.
14.0/8.0 = 1.75

175%.  jim is 175% times older than john.  which is what you found,
polyt.  {I'll have to re-read your logic now that im awake..}

Or, how much more, in % is 16t than 15, it is 1.0/15.0 which is 6%.
etc,  etc.

Hm.  that's 0 for gary, 729 for polytrop!!

Ah, life:: accept no substitutes.




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: way way off topic

2012-10-23 Thread Gary Kline
On Tue, Oct 23, 2012 at 05:52:02PM -0700, Gezeala M. BacuƱo II wrote:
 % change = ( (present - past) / past ) * 100
 


yeah, this is exactly it for my how much more is 16 than 15
problem. or the ages example. 

It's 6.6[bar-over .6]%  this is probably close to or exactly
what was the core of my C [argc, *srgv[]] program.   my error was in
not understanding the logic that polttropon has given below.  if/when
I ever find that v short exercise, THIS time, il'l remember to
'splain stuff in

/*
 * comments
 */


 
 On Tue, Oct 23, 2012 at 5:07 PM, Gary Kline kl...@thought.org wrote:
  On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote:
  On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote:
   Gary,
  
   On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote:
   
apologies up front for this math type quandary. I had it in a std C 
program,
but 3+ hours of grepping havent found it.  I would have bet my last 
cent that I
had a summary Somewhere, but cant find that either.
   
here is the problem as best I can remember it.
   
   
let's say that john is 8 and his older friend, jim, is 22.
how much older is exact percentage terms is jim?
  
   That should be 22/8=2.75
   Jim is 275% older than John
 
  Jim is 175% _older_. Why? Because 100% older means 16 years,
  as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24).
  Percentage is always a reference to something else, in this
  question, Jim's age in relation to John's. The word older
  means adding percentage, refering to the base value of 8,
  divided in 100 parts (floating point considerations aside),
  to finally reach the value 22.
 
  If the question would be different, say, What's the percentage
  of John's age regarding Jim's age? In that case, it would be
  8/22=0.3636 being 36%. Obvious: John's age is approximately
  1/3 of Jim's age.
 
  The easiest way for creating the proper calculation is to refer
  to the equation
 
   percentage * 100
percentage value = 
 base value
 
  and resolve it to whatever is required.
 
  --
  Polytropon
  Magdeburg, Germany
  Happy FreeBSD user since 4.0
  Andra moi ennepe, Mousa, ...
 
 
  yo; I THInk this is it. around line 4542 in my ~/.HowTo file::
 
 
 
  %%% find percent inc/dec [increase/decrease] between two numbers.
 
  Always figure the percentage of change relative to the original value!
  For instance: * Suppose a certain item used to sell for seventy-five
  cents a pound, you see that it's been marked up to eighty-one cents a
  pound. What is the percent increase?
 
  First, I have to find the absolute
  increase:
  Reserved 81 - 75 = 6
 
  The price has gone up six cents. Now I can find the
  percentage increase over the original price.
 
  This percentage increase is the relative change: 6/75 = 0.08
  ...or an 8% increase in price per pound.
 
 
 
  So I was wrong about ages or speed; it's the % betwen two ints;
  here, the inc/dec [or change] between 75 cents as compared to
  an inflated increase of 81 cents.
 
  1.  find abs increase:  81-75 = 6;
  2   find the % increase over the *original* value. 6.0/75.0
  3.  percent increase using doubles is 0.08;  so a markup of six
  cents is an 8% rate.
 
 
  so: going back to the ages example with john bein 8, jim, 22.
  22-8 is 14.
  14.0/8.0 = 1.75
 
  175%.  jim is 175% times older than john.  which is what you found,
  polyt.  {I'll have to re-read your logic now that im awake..}
 
  Or, how much more, in % is 16t than 15, it is 1.0/15.0 which is 6%.
  etc,  etc.
 
  Hm.  that's 0 for gary, 729 for polytrop!!
 
  Ah, life:: accept no substitutes.
 
 
 
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Twenty-six years of service to the Unix community.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


way way off topic

2012-10-22 Thread Gary Kline

apologies up front for this math type quandary. I had it in a std C program,
but 3+ hours of grepping havent found it.  I would have bet my last cent that I
had a summary Somewhere, but cant find that either.

here is the problem as best I can remember it.


let's say that john is 8 and his older friend, jim, is 22.  
how much older is exact percentage terms is jim?

to find the answer I had to find the relative difference {22 - 8} and then
do something with the difference.  this isn't any kind of trick or 
advanced-cognition; I just thought it was clever [and exact].  it obviously
works for finding the abs() results in subtraction.  it's something I found on
the web and swipes and save the prose discussion.  BZZT: Lost, :-(

if this seems dumb, I plead guilty!

im asking here because -questions is the sharpest list on the net.

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editing pdf files

2012-10-13 Thread Gary Kline
On Sat, Oct 13, 2012 at 01:19:07PM +0200, Polytropon wrote:
 On Fri, 12 Oct 2012 16:46:28 -0700, Gary Kline wrote:
 
 The disassembling can be done with 
 
   % pdfimages source.pdf .
 
 Then the files can be edited whatever tool you like, e. g. Gimp.
 They often come out in PBM format.
 


A qstn I should have asked last time.  this book is a history or
bio of richland county, ohio::  in type, it's like 650 or more
pages.  SO: Is pdfimages going to spit of 6t50 files?  as noted 
in last email, only  a couple of these images are of any interest 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editing pdf files

2012-10-13 Thread Gary Kline
On Sat, Oct 13, 2012 at 11:15:36PM +0200, Polytropon wrote:
 On Sat, 13 Oct 2012 13:47:01 -0700, Gary Kline wrote:
  On Sat, Oct 13, 2012 at 01:19:07PM +0200, Polytropon wrote:
   On Fri, 12 Oct 2012 16:46:28 -0700, Gary Kline wrote:
   
   The disassembling can be done with 
   
 % pdfimages source.pdf .
   
   Then the files can be edited whatever tool you like, e. g. Gimp.
   They often come out in PBM format.
   
  
  
  A qstn I should have asked last time.  this book is a history or
  bio of richland county, ohio::  in type, it's like 650 or more
  pages.  SO: Is pdfimages going to spit of 6t50 files?  as noted 
  in last email, only  a couple of these images are of any interest 
 
 Depends on what actually _is_ in the PDF file. If every page is
 represented as a picture, 650 pictures will be created. If it
 contains text _and_ images, the images will be output, if will
 _only_ output the images, with no real realtion to where they
 have been placed in the text. As suggested by the name pdfimages
 it takes the images from the PDF file. :-)
 
 The easiest way to check for possible text is to install xpdf
 which brings the binary pdftotext (if I remember correctly that
 this tool is in _that_ package). You can then use it like this:
 
   % pdftotext source.pdf
 
 It will create source.txt with all actual text (but of course
 without _any_ formatting except line breaks and ^L page breaks),
 including page numbers. But hey, it's pure ASCII text suitable
 for further processing. :-)
 
 Run pdftotext without parameters for a short summary of its
 parameters; man pdftotext is also provided.
 


Well, then my original instincts were right.  I ran the 
pdftotext file.pdf and nothing but the page numbers were 
there.   rats.  oh-well, at least I can type in byhhand what 
I want:)


 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: editing pdf files

2012-10-12 Thread Gary Kline
On Fri, Oct 12, 2012 at 10:40:29PM +0400, Boris Samorodov wrote:
 10.10.2012 02:35, Gary Aitken ŠæŠøшŠµŃ‚:
 
  Can someone give me advice on editing pdf files?
 
 Take a look at graphics/inkscape.
 
 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


ive got a question that fits in here.  hopefully.

last week  I found a book from 1901 that google had scanned and listed
as a pdf file.  it was text plus photos of the rich/famous of the 
1800s.  somehow, google found the exact string that matched my great
grandfather [from the civil war].  I d'loaded the file (maybe 2mbytes)
and searched using acroread.  nada.  I used the pdftotext utility.
same: nothing but  some 600 page numbers.

my guess is that google just took photos of the book and used other
tools to create a pdf file.  I am not =that= serious  about genealogy,
but I would like to know if there are any tools to edit this kind of
pdf file.

tia guys,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Spam and more spam.

2012-10-11 Thread Gary Kline
On Wed, Oct 10, 2012 at 05:06:11PM -1000, Al Plant wrote:
 Erich Dollansky wrote:
 Hi,
 
 On Wed, 10 Oct 2012 19:39:12 +1100
 andrew clarke m...@ozzmosis.com wrote:
 
 On Wed 2012-10-10 10:16:35 UTC+0200, RenƩ Mercier
 (realmo.merc...@gmail.com) wrote:
 
 Bonjour,
 
 Je suis sous Debian, mais travaillant dans les rƩseaux, je
 souhaiterai passer sur FreeBsd pour sa stabilitƩ et pour sa
 sƩcuritƩ,, je vois qu'actuellement il y une 9 rc1, pourriez vous
 s'il vous plait me dire quelle la prochaine release Ć  venir et sa
 date de sortie
 http://www.freebsd.org/releases/9.1R/schedule.html
 
 PS. This is an English-speaking mailing list.
 
 I wonder how many people did what I did an classified this as spam.
 
 Erich
 ___
 
 Aloha Erich,
 
 I'm getting SPAM on the FreeBSD list for a couple of days now.
 In several languages including Chinese and French as well as English.
 
 Doesnt our list have a way to block so much of this?
 
 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org +
   + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
email: n...@hdk5.net 
 All that's really worth doing is what we do for others.- Lewis Carrol
 

aloha al!

I have been getting arabic, vchinese, french, and other spam in recent
weeks.  Ugh!!  dont know how it is getting thru godaddy's filters, but
it is.

gary


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Spam and more spam.

2012-10-11 Thread Gary Kline
On Thu, Oct 11, 2012 at 01:27:30PM +0700, Erich Dollansky wrote:
 Hi,

hello erich and everyone,

im getting too aged [and achy and cranky:)] to sleep well, 
so I am not as patient as you, erich,--or others still on-list.
I have =not= read all the mail headers below.  but at the bottom
of this email I will enclose an arabic [i think!] email.  if you
can gleen anything from it, excellent.  I get other *non*-8859
iso encoded email.  {Note that I still use mutt as my mua.  until
all this spam, I did not know that mutt could even render non-
Latin characters.

--cont below--
 
 On Wed, 10 Oct 2012 23:04:48 -0700
 Gary Kline kl...@thought.org wrote:
 
  On Wed, Oct 10, 2012 at 05:06:11PM -1000, Al Plant wrote:
   Erich Dollansky wrote:
   Hi,
   
   On Wed, 10 Oct 2012 19:39:12 +1100
   andrew clarke m...@ozzmosis.com wrote:
   
   On Wed 2012-10-10 10:16:35 UTC+0200, RenƩ Mercier
   (realmo.merc...@gmail.com) wrote:
   
   Bonjour,
   
   Je suis sous Debian, mais travaillant dans les rƩseaux, je
   souhaiterai passer sur FreeBsd pour sa stabilitƩ et pour sa
   sƩcuritƩ,, je vois qu'actuellement il y une 9 rc1, pourriez vous
   s'il vous plait me dire quelle la prochaine release Ć  venir et sa
   date de sortie
   http://www.freebsd.org/releases/9.1R/schedule.html
   
   PS. This is an English-speaking mailing list.
   
   I wonder how many people did what I did an classified this as spam.
   
   Erich
   ___
   
   Aloha Erich,
   
   I'm getting SPAM on the FreeBSD list for a couple of days now.
   In several languages including Chinese and French as well as
   English.
   
   Doesnt our list have a way to block so much of this?
   
   ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org +
 + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
  email: n...@hdk5.net 
   All that's really worth doing is what we do for others.- Lewis
   Carrol
   
  
  aloha al!
  
  I have been getting arabic, vchinese, french, and other spam
  in recent weeks.  Ugh!!  dont know how it is getting thru godaddy's
  filters, but it is.
  
 I took a look at one of the spam mails. The header looks like this:
 
 Return-Path: owner-freebsd-sta...@freebsd.org
 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53])
   by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id
 q9AKN55i005588 for erichfreebsdl...@ovitrap.com; Wed, 10 Oct 2012
 14:23:06 -0600 Received: from hub.freebsd.org (hub.freebsd.org
 [8.8.178.136]) by mx2.freebsd.org (Postfix) with ESMTP id 5A5BA203799;
   Wed, 10 Oct 2012 19:52:52 + (UTC)
 Received: from hub.freebsd.org (hub.freebsd.org [8.8.178.136])
   by hub.freebsd.org (Postfix) with ESMTP id 1B0E2D06;
   Wed, 10 Oct 2012 19:52:44 + (UTC)
   (envelope-from owner-freebsd-sta...@freebsd.org)
 Delivered-To: freebsd-sta...@freebsd.org
 Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
  by hub.freebsd.org (Postfix) with ESMTP id 2C2F6C67
  for freebsd-sta...@freebsd.org; Wed, 10 Oct 2012 19:52:32 + (UTC)
  (envelope-from bounce+freebsd-stable=freebsd@to.benaughty.com)
 Received: from me20.to.frindr.net (me20.to.frindr.net [70.33.212.83])
  by mx1.freebsd.org (Postfix) with ESMTP id A88788FC08
  for freebsd-sta...@freebsd.org; Wed, 10 Oct 2012 19:52:31 + (UTC)
 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
  by me20.to.frindr.net (Postfix) with QMQP id 4E1E7301038
  for freebsd-sta...@freebsd.org; Wed, 10 Oct 2012 19:52:23 + (UTC)
 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=benaughty.com;
 s=to; t=1349898743; bh=v8GVq7lXQBvGUXBVXF9xdjLIwxk=;
  h=MIME-Version:List-Unsubscribe:List-Id:From:Reply-To:Subject:
  Content-Type:Message-ID:Date:To;
  b=Peb/n29Jvys2WqT4eslGuADZLrXVVj31xJRRUW/yHQVeNst8vwe8jR1/HR+yaEfca
  FtOdaor2xY2Q55emnfQWJQDwfhLJm9//ilbufZCm0oRqeOiX7688rdNXVJB/mDQxET
  BZ0sLGBVlnpZ+ZM1zDuaX85XynxsmU7hucJMWlug=
 MIME-Version: 1.0
 Organization: Frindr Ltd
 X-Priority: 3
 X-Mailer: Frindr
 X-Campaign-Id: 084693
 X-Dating:
 3b87203fdf6ba6b75457570b493fbc6fZnJlZWJzZC1zdGFibGVAZnJlZWJzZC5vcmc=
 From: BeNaughty ad...@benaughty.com Subject: Get your 25% premium
 discount for FREE to contact 1.3 million girls! Message-ID:
 084693.mbp0iy.b9g...@benaughty.com Date: Wed, 10 Oct 2012 20:52:10
 +0100 To: freebsd-sta...@freebsd.org
 X-Content-Filtered-By: Mailman/MimeDel 2.1.14
 X-BeenThere: freebsd-sta...@freebsd.org
 X-Mailman-Version: 2.1.14
 Precedence: list
 Reply-To: BeNaughty ad...@benaughty.com
 List-Id: Production branch of FreeBSD source code
 freebsd-stable.freebsd.org List-Unsubscribe:
 http://lists.freebsd.org/mailman/options/freebsd-stable,
 mailto:freebsd-stable-requ...@freebsd.org?subject=unsubscribe
 List-Archive: http://lists.freebsd.org/pipermail/freebsd-stable
 List-Post: mailto:freebsd-sta

Re: Spam and more spam.

2012-10-11 Thread Gary Kline
On Fri, Oct 12, 2012 at 10:49:34AM +0700, Erich Dollansky wrote:
 Hi Gary,
 
 On Thu, 11 Oct 2012 13:43:13 -0700
 Gary Kline kl...@thought.org wrote:
 
  On Thu, Oct 11, 2012 at 01:27:30PM +0700, Erich Dollansky wrote:
   Hi,
  
  hello erich and everyone,
  
  im getting too aged [and achy and cranky:)] to sleep well, 
 
 oh, do you have a Windows machine secretly running somewhere? I would
 not be able to sleep then either.


ha!  never, never have I bought even one dos/doze computer.  my
daughter was given an old [1998] w2k box that she played games on.
it is long-gone:)
 
  so I am not as patient as you, erich,--or others still
  on-list. I have =not= read all the mail headers below.  but at the
  bottom of this email I will enclose an arabic [i think!] email.  if
  you can gleen anything from it, excellent.  I get other *non*-8859
  iso encoded email.  {Note that I still use mutt as my mua.
  until all this spam, I did not know that mutt could even render non-
  Latin characters.
 
 Let me see what you got.
 
  for my appending the spam that I got from wherever.  it
  might have been sent from Anywhere.  
 
 It looks to me too like it came directly to you as there is no sign of
 FreeBSD have been between.
  


it looks to me like this [and probably my other junk email] is
coming from the lines in my ~/.fetchmailrc that go out and 
pull in what is sent to my gmail account.  [rarely, there is
spam from one of the freebsd lists--usually questions.]  instead 
of getting mad, I just hit d and move on.  
  
  From uhrda...@googlegroups.com  Thu Oct 11 01:14:43 2012
  Received: from pop.where.secureserver.net [173.201.193.199]
  by ethos.thought.org with POP3 (fetchmail-6.3.22)
  for kline@localhost (single-drop); Thu, 11 Oct 2012
  01:14:43 -0700 (PDT) Received: (qmail 11377 invoked by uid 30297); 11
  Oct 2012 08:13:50 - Received: from unknown (HELO
  p3pismtp01-046.prod.phx3.secureserver.net) ([72.167.238.180])
  (envelope-sender
  uhrda-15+bncbdnzzghsyenbboh73gbqkgqe66yi...@googlegroups.com) by
  p3plsmtp12-02.prod.phx3.secureserver.net (qmail-1.03) with SMTP for
  kl...@thought.org; 11 Oct 2012 08:13:50 -
  X-IronPort-Anti-Spam-Result:
  AiMSADx+dlDRVda4k2dsb2JhbABEgkuDR7Z6gT9nCCMBAQEBCQkLCRQEI4IjBQIPAg8dAQEEFh4FAQIBBQIIPQcCAgIBAQEZBREBBQERJAUdh08BEguaNwkDimhuT4J2AQWFCAoZgQ2IdQIEi0eFDoESB4hUhECXIz9Fg2o
  Received: from mail-ob0-f184.google.com ([209.85.214.184]) by
  p3pismtp01-046.prod.phx3.secureserver.net with ESMTP; 11 Oct 2012
  01:13:50 -0700 Received: by mail-ob0-f184.google.com with SMTP id
  x4sf1055803obh.21 for kl...@thought.org; Thu, 11 Oct 2012 01:13:46
  -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
  d=googlegroups.com; s=20120806;
  h=x-beenthere:date:from:to:message-id:subject:mime-version 
  :x-original-sender:reply-to:precedence:mailing-list:list-id 
  :x-google-group-id:list-post:list-help:list-archive:sender 
  :list-subscribe:list-unsubscribe:content-type;
  bh=jMFZmAQdT+pN7T6QKNSP2XkXpR1aCJ1+Wwtbzb2StxM=;
  b=jPb2itO+q4lJZ9J8x8DIaPCegwCUkLJvIshfIA680YoMkZXW75RlpD+gCRtmmdsU7g
   
  A6qeq75zQpbzkMHzwCXyQjNCxXFN/J2Ldi5AChZgi21i0BCELW7gOpBxcsdcpwr6qlGy
   
  rVjws1Cnyzx/sZ6nX7J+Y1escXN7oPTWVQL6aqqqgkGXpW8ce6vJLE/lAEke8Jsdx2QW
   
  hZ+klU5MPA700mA+ZE+0qYGHSv2D9DolX3+ilivKy9QiMHYFpyt+/njC533tyTtRISxu
   
  j3QpnxjbSv+MYMy7bg4RPFtnZQY7wYvK0NWXQymo5VLtjvxu0QXDJPghZDEsrMtgVnOE
   o5jw==
  Received: by 10.52.28.45 with SMTP id y13mr7790vdg.10.1349943226444;
  Thu, 11 Oct 2012 01:13:46 -0700 (PDT)
  X-BeenThere: uhrda...@googlegroups.com
  Received: by 10.220.141.4 with SMTP id k4ls1027454vcu.8.gmail; Thu,
  11 Oct 2012 01:13:44 -0700 (PDT)
  Received: by 10.52.72.197 with SMTP id f5mr6251vdv.17.1349943224082;
  Thu, 11 Oct 2012 01:13:44 -0700 (PDT)
  Date: Thu, 11 Oct 2012 01:13:43 -0700 (PDT)
  From: hamdy ahmed uhrda1...@gmail.com
  To: uhrda...@googlegroups.com
  Message-Id: 29039954-caad-40fe-a3be-d06d79027...@googlegroups.com
  Subject: =?UTF-8?B?2YjYsdi02Kkg2LnZhdmEIDogKNiq2YbZhdmK2Kkg2Ygg?=
   =?UTF-8?B?2KrYt9mI2YrYsSDYp9mE2YXZh9in2LHYp9iqINin2YTYpdiv2Kc=?=
   =?UTF-8?B?2LHZitipKdin2LPYt9mG2KjZiNmEIOKAkyDYqtix2YPZitinIA==?=
   =?UTF-8?B?IDIyIOKAkyAzMSDYr9mK2LPZhdio2LEyMDEy2YU=?=
  MIME-Version: 1.0
  X-Original-Sender: uhrda1...@gmail.com
  Reply-To: uhrda...@googlegroups.com
  Precedence: list
  Mailing-list: list uhrda...@googlegroups.com; contact
  uhrda-15+own...@googlegroups.com List-ID: uhrda-15.googlegroups.com
  X-Google-Group-Id: 474025889798
  List-Post: http://groups.google.com/group/uhrda-15/post?hl=ar_US,
  mailto:uhrda...@googlegroups.com List-Help:
  http://groups.google.com/support/?hl=ar_US,
  mailto:uhrda-15+h...@googlegroups.com List-Archive:
  http://groups.google.com/group/uhrda-15?hl=ar_US Sender:
  uhrda...@googlegroups.com List-Subscribe:
  http

Re: cksum entire dir??

2012-09-13 Thread Gary Kline
On Thu, Sep 13, 2012 at 10:23:47AM +0200, Jonathan McKeown wrote:
 On Wednesday 12 September 2012 22:29:45 Gary Kline wrote:
 
  how, with mtree, could I tell  whether dir1 == dir2 or not?
 
 From the manpage:
 
 ``The mtree utility compares the file hierarchy rooted in the
 current directory against a specification read from the standard
 input.  Messages are written to the standard output for any files
 whose characteristics do not match the specifications, or which
 are missing from either the file hierarchy or the specification.''
 
 So you run mtree twice, once against dir1 with the -c option to output the 
 specification for the directory tree to stdout (which you can capture to a 
 file, or pipe straight into the second invocation) and once against dir2 with 
 the output of the first one as input (either in a pipeline, or by using -f 
 with the filename of the captured output).
 
 Jonathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I'm having unexpected troubles with my old BSD server.  ...

I've seen Waitman's examples, and your paragraphs above--[thankx, both
of you, BTW].  I'Ve got several hours of piecing the fragments of my
original *desktop* back together.  Following that, I'll be back.

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote:
 On 12/09/2012 00:14, Polytropon wrote:
  % cksum directory
  
  and could obtain a checksum - so it _seems_ to work.
  After alteration of one file within the hierarchy a
  different result was printed.
 
 That will give you a checksum on the directory inode -- file names and
 associated metadata only, not file content.  In theory you could edit a
 file without modifying any of the timestamps, and that wouldn't result
 in any change to the directory checksum.  Also, modifying things a few
 layers down the filesystem hierarchy won't have any effect either.
 
 Generally I find the best test for differences between old and new
 copies of a filesystem is 'rsync -avx -n ...'
 
 Also, sum and cksum have way too small a key size for this to be
 reliable, since you can't tell a true result from a hash collision.  Use
 md5 or sha1 or sha256 for best results.
 

So this sha256 is *real*??  I have no md5 on my fedora
that is on my desktop and m having trouble getting used to.  
but the gentleman who recommened cpio was right on the money.

note that I am loathe to spam this list with the following mail from my
files in sept, 1988, but here it is.  if I had only gr -r -w cpio
around in all my directories, I would have found this, sent to one Dirm
Myers across the pond ::


===

From kline Sat Sep  5 11:52:20 1998
Subject: lost mail file...
To: di...@buster.dhis.eu.org (Dirk Myers)
Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT)
Organization:  thought.org: public access uNix in service... 
X-Mailer: ELM [version 2.4ME+ PL32 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 2283
Status: RO


  Yesterday morning I began composing the next two Q's and A's
  in my mailer.  Last night in the wee hours there was a power
  glitch and I lost the mail.

  Enclosed is the first//next Q/A.  I'll send along another one
  or two later today.  One that I was playing around with *failed*
  and I'm trying to figure out why.

  -

  How can I uise my FBSD floppy drive to copy files to it (in this case,
  at work), and retrieve the files on my FBSD systtem at home.  So far
  I've only seen examples that used floppies with a filesystem on them.
  Is there a simplr, more direct way?

  You can treat the 'raw' floppy device as if it is a tape drive, and
  use typically UNIX tape tools to read/write, such as tar and  cpio.
  For instance, to copy the current directory onto a floppy to
  take home at night:

(put the floppy in the drive, and cd to the directory where
 the files are; then )

% tar -cvf /dev/rfd0 .

  To read it when you get home:

(put the floppy in the drive at home; and extract the tarball
 wherever you want the files)

% tar -xvf /dev/rfd0

  The flags -c and -x indicate create and extract mode, the ``v''
  specifies verbose mode, and the ``f'' tells tar that the following
  argument is the file or device that tar acts upon.  Here, it is
  the floppy devide.


  With cpio:

(chdir to the directory where the files are)

% ls | cpio -oc  /dev/rfd0

   To read a cpio archive from a tape drive:

   % cpio -icd  /dev/rfd0


   The flags -i and -o indicate copy-in or extract mode and
   copy-out or create archive mode.   The ``c'' tells cpio
   to use the old, portablr ASCII archive format.  And the
   ``d'' flag tells cpio to create directories where necessary.

   Do a

   % man cpio

   for much greater detail on this utility.

  -

  There are another one or two of the simpler Q/A's and one or two
  more involved.

  Then, for this month only, I want to write a paragraph or two
  about who I am and where I'm coming from.  Since you are sharing
  the by-line you might want to consider this too.

  gary

  PS:   Next month we get a break!!

--
   Gary D. Kline kl...@tao.thought.org  Public service uNix


as you can see, this dealt with my olden tape drive.  a 250meg
QIC drive, I think.but this was about the earliest reference 
I could find re my use of cpio.  there are others in my journal 
dir that reference my running out of hard drive and using cpio rather
that a straight cp -rp.  [this was back when a 130meg drive was Huge
and made me feel rick.]



   Cheers,
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey
 
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 09:12:58AM +0200, Jonathan McKeown wrote:
 On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote:
  On 12/09/2012 00:14, Polytropon wrote:
 % cksum directory
 [snip]
 
  That will give you a checksum on the directory inode -- file names and
  associated metadata only, not file content.
 [snip]
  Generally I find the best test for differences between old and new
  copies of a filesystem is 'rsync -avx -n ...'
 
 Wouldn't suitable applications of mtree(8) also do what's wanted?
 
 Jonathan
 ___

how, with mtree, could I tell  whether dir1 == dir2 or not?

gary


 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote:
 On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote:
 
  On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote:
   On 12/09/2012 00:14, Polytropon wrote:
% cksum directory
   
and could obtain a checksum - so it _seems_ to work.
After alteration of one file within the hierarchy a
different result was printed.
  
   That will give you a checksum on the directory inode -- file names and
   associated metadata only, not file content.  In theory you could edit a
   file without modifying any of the timestamps, and that wouldn't result
   in any change to the directory checksum.  Also, modifying things a few
   layers down the filesystem hierarchy won't have any effect either.
  
   Generally I find the best test for differences between old and new
   copies of a filesystem is 'rsync -avx -n ...'
  
   Also, sum and cksum have way too small a key size for this to be
   reliable, since you can't tell a true result from a hash collision.  Use
   md5 or sha1 or sha256 for best results.
  
 
  So this sha256 is *real*??  I have no md5 on my fedora
  that is on my desktop and m having trouble getting used to.
  but the gentleman who recommened cpio was right on the money.
 
 
 
 
 are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux
 machines.
 
 Waitman Gobble
 San Jose California USA
 

yup, you be right.  altho we have no md5 [[does FBSD?]], fedora 
does have md5sum.  makes me wonder why this flavor didnt do at least a
symlink.   oh well.

thankee much.

[[ 
axeing to save BW
]]


 
   Dr Matthew J Seaman MA, D.Phil.
   PGP: http://www.infracaninophile.co.uk/pgpkey
  
  
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 02:11:05PM -0400, Karl Vogel wrote:
  On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote:
 
 G I'm trying to checksum directories as I move them around.  ive read the
 G man page for sum and cksum ... or maybe skimmed them.  no joy.  anybody
 G know of a utility to do this?  I've got files that are decades old...
 
I wouldn't use CRC32 to check file integrity; use SHA1 or MD5 at the
very least.  See http://home.comcast.net/~bretm/hash/8.html for details.


[root@ethos klinebak]# yum install sha1
Loaded plugins: langpacks, presto, refresh-packagekit
adobe-linux-x86_64   |  951 B 00:00 
rpmfusion-free-updates   | 3.3 kB 00:00 
rpmfusion-nonfree-updates| 3.3 kB 00:00 
updates/metalink |  18 kB 00:00 
No package sha1 available.
Error: Nothing to do
[root@ethos klinebak]# 

see, nothing; I tried to install sha256 as  well. zip.  but md5sum
I have, so that will serve.

 
  On Tue, 11 Sep 2012 18:17:25 -0700, 
  Colin Barnabas colin.barna...@gmail.com replied:
 
Are you by any chance a Dark Shadows fan?


I havent a clue what that is; if it's a tv show, no.  
same w/ movies.

 
 C This works for me:
 C $ find foo/ -type f -print0 | xargs -0 md5  foo.md5
 
I do something similar when copying files to a backup server; it's not
unheard of for SSH to drop a session or a drive to have a bad spot.
 
An easy-to-automate way is: get a list of files, use the hash of your
choice to generate signatures, sort the signature file by the hash, and
then get the hash value of the signature file.  Here's an example using
my bin directory:
 
  me% ls
  aline   dir histmakecfg mx  ro
  authlog diskusedisodate makekey mylook  setperm
  avg dline   kernlog makepassn32 sha
  buildenvdnslog  lastdom mb  n64 sshlog
  cline   dosrc   linkdupsmd5path nr  sulog
  cmdlog  dot ll  memuse  ntplog  syslog
  conlog  dp  lsl mgrep   pathinfotc
  coref   lslmmk  pingtcv
  cronlog fixhist lsn mkdtree plogtl
  daemonlog   fmt lsnmmkproto pwgen   tr0
  dblog   getperm lss mkrcs   r   tx
  dbrun   google  lssmmongolograndvi
  dh  haval   lst month   range   zp
  dig help2manlstmmv2inode
  
  me% find . -type f -print0 | xargs -0 md5 -r | sort  /tmp/dir.md5
  
  me% cat /tmp/dir.md5
  01328aeb4fd0eb3d998f4d7ad407a73f ./setperm
  017d6d622fb93bf7f23c0fb7b96b16eb ./core
  0287839688bd660676582266685b05bd ./mkrcs
  0b97494883c76da546e3603d1b65e7b2 ./pwgen
  ...
  ddbed53e795724e4a6683e7b0987284c ./authlog
  ddbed53e795724e4a6683e7b0987284c ./cmdlog
  ddbed53e795724e4a6683e7b0987284c ./conlog
  ddbed53e795724e4a6683e7b0987284c ./cronlog
  ddbed53e795724e4a6683e7b0987284c ./daemonlog
  ddbed53e795724e4a6683e7b0987284c ./kernlog
  ddbed53e795724e4a6683e7b0987284c ./ntplog
  ddbed53e795724e4a6683e7b0987284c ./sulog
  ddbed53e795724e4a6683e7b0987284c ./syslog
  ...
  fdff1fd84d47f76dbd4954c607d66714 ./dbrun
  ff5e24efec5cf1e17cf32c58e9c4b317 ./tr0
 
The *log files are hard-linked, hence the duplicate MD5 values.
  

right.


  me% md5 -r /tmp/dir.md5
  fdc34a5a5df7807d4fc45739d2d3039f /tmp/dir.md5
 
If I copy these files elsewhere, I can repeat the steps and just compare
the final hash; if it's anything other than 'fdc34...3039f', something's
wrong.


well, the full story is my new system admin left my desktop 3/4 or 7/8
or 15/16ths in shardes.  I have to-be-made-whole files/dirs in
/home/kline.  copies from two primary computers are scattered all
over.  I/  it won't be the-end if I lose a few favorite songs, but 
I  wantto make certain that my devel and journal and writing dirs 
and a few others are md5sum flawless. 

thanks for youw howto across machines, karl.  I'll save this in my
howto file.  my present desktop is temp; I'll turn it into a server
---just-in-case.  then will use my server for backups.  gotta 
match up.

 
 -- 
 Karl Vogel  I don't speak for the USAF or my company
 
 When In Doubt, Empty The Magazine--bumper-sticker seen on military base
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail

Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote:
 On Wed, 12 Sep 2012 10:55:57 -0700
 Waitman Gobble gobble...@gmail.com wrote:
 
  On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote:
  
[[ ...]]
 
 My Linux system has both md5sum and md5deep. They give the same result, 
 except that md5sum quotes the file name in the current directory, and md5deep 
 gives the fully-qualified name. I have been using md5deep - I didn't know 
 md5sum existed.

I did a yum install md5* and got deep! :_)

t.y

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 11:39:46PM +0100, RW wrote:
 On Wed, 12 Sep 2012 14:47:04 -0700
 Gary Kline wrote:
 
  On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote:
  
   are you sure it's not 'md5sum' ? ... that seems to be on all my
   GNU/Linux machines.
   
   Waitman Gobble
   San Jose California USA
   
  
  yup, you be right.  altho we have no md5 [[does FBSD?]],
  fedora does have md5sum.  makes me wonder why this flavor didnt do at
  least a symlink.   oh well.
 
 FreeBSD's md5 and GNU's md5sum don't behave the same. Specifically when
 reading from stdin (as in a pipeline) md5 sensibly just outputs the hash
 and a newline, whereas md5sum follows the hash with a - to indicate
 stdin as the filename.
o


ah shit.  well, I spent at least ten years porting stuff--everything
F'ing thing...So I'll  have to find the md5 src and port it.

then follow karl's example.  and others'.  [[[ See, this is just one
example of taken proven code and adding something and breaking 
something ... ]]]


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote:
 On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline kl...@thought.org wrote:
 
  On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote:
   On Wed, 12 Sep 2012 10:55:57 -0700
   Waitman Gobble gobble...@gmail.com wrote:
  
On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org
  wrote:
   
  [[ ...]]
  
   My Linux system has both md5sum and md5deep. They give the same result,
  except that md5sum quotes the file name in the current directory, and
  md5deep gives the fully-qualified name. I have been using md5deep - I
  didn't know md5sum existed.
 
  I did a yum install md5* and got deep! :_)
 
  t.y
 
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 
 
 also maybe??? of interest.. it's pretty quick  easy to hack the 'find'
 function in /usr/src/usr.bin/find/ with md5 capability..
 not sure if it's helpful..
 
 
 copy /usr/src/usr.bin/find/ somewhere, then edit function.c,
 
 #include md5.h
 
 int
 f_print(PLAN *plan __unused, FTSENT *entry)
 {
 char * md5sum[32];
 (void)printf(%s ,MD5File(entry-fts_accpath,md5sum));
 (void)puts(entry-fts_path);
 return 1;
 }
 
 
 and edit Makefile (change exec name,
 
 PROG=   md5find
 LDADD+= -lmd
 
 then make..
 
 run it:
 
 ./md5find .
 224df9d178aa35cb532664ea37875791 .
 bfe464b3ac942e85d8b818a9441e2286 ./find.o
 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile
 beb4c49ba914f62da0b57b16778c1772 ./extern.h
 8895f62adaa15b194dec6f15e4c5956b ./find.1
 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c
 99fade54bb9baf0d3b4d8822d53800b3 ./find.h
 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c
 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y
 fce6f5ec314eaea09170b79a0711d07e ./ls.c
 75d64926376a5440b7e23b295417a6cc ./main.c
 2599f1f22d557b076ff1cde9b17cff55 ./misc.c
 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c
 3157efe1ed3821e96fec71f1ca4b2306 ./option.c
 7ea8adb4cb549b118b903238f43afd37 ./function.o
 12f6a75a82f817e1306c323fdddbff59 ./ls.o
 e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o
 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o
 6360e963e0f285fe3dc170309a2ae219 ./operator.o
 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o
 47a8978565c6cb8b0280c231679847ba ./getdate.c
 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o
 e406e4422cf29f3b42484596524b71c1 ./find
 e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz
 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find
 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir
 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c
 
 
 etc
 
 Waitman Gobble
 San Jose California
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
o
where, Sir, is the header?!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 05:42:43PM -0700, Waitman Gobble wrote:
 On Wed, Sep 12, 2012 at 5:32 PM, Gary Kline kl...@thought.org wrote:
 
  On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote:
   On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline kl...@thought.org wrote:
  
On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote:
 On Wed, 12 Sep 2012 10:55:57 -0700
 Waitman Gobble gobble...@gmail.com wrote:

  On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org
wrote:
 
[[ ...]]

 My Linux system has both md5sum and md5deep. They give the same
  result,
except that md5sum quotes the file name in the current directory, and
md5deep gives the fully-qualified name. I have been using md5deep - I
didn't know md5sum existed.
   
I did a yum install md5* and got deep! :_)
   
t.y
   
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
   
  
  
  
   also maybe??? of interest.. it's pretty quick  easy to hack the 'find'
   function in /usr/src/usr.bin/find/ with md5 capability..
   not sure if it's helpful..
  
  
   copy /usr/src/usr.bin/find/ somewhere, then edit function.c,
  
   #include md5.h
  
   int
   f_print(PLAN *plan __unused, FTSENT *entry)
   {
   char * md5sum[32];
   (void)printf(%s ,MD5File(entry-fts_accpath,md5sum));
   (void)puts(entry-fts_path);
   return 1;
   }
  
  
   and edit Makefile (change exec name,
  
   PROG=   md5find
   LDADD+= -lmd
  
   then make..
  
   run it:
  
   ./md5find .
   224df9d178aa35cb532664ea37875791 .
   bfe464b3ac942e85d8b818a9441e2286 ./find.o
   0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile
   beb4c49ba914f62da0b57b16778c1772 ./extern.h
   8895f62adaa15b194dec6f15e4c5956b ./find.1
   8d3986a5e8747ae89b3c5f82f22bc402 ./find.c
   99fade54bb9baf0d3b4d8822d53800b3 ./find.h
   23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c
   1d25eb09d42261b28cc783a6b48e39ac ./getdate.y
   fce6f5ec314eaea09170b79a0711d07e ./ls.c
   75d64926376a5440b7e23b295417a6cc ./main.c
   2599f1f22d557b076ff1cde9b17cff55 ./misc.c
   2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c
   3157efe1ed3821e96fec71f1ca4b2306 ./option.c
   7ea8adb4cb549b118b903238f43afd37 ./function.o
   12f6a75a82f817e1306c323fdddbff59 ./ls.o
   e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o
   2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o
   6360e963e0f285fe3dc170309a2ae219 ./operator.o
   68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o
   47a8978565c6cb8b0280c231679847ba ./getdate.c
   7eb3a4e4984e4696347501eeba2e0566 ./getdate.o
   e406e4422cf29f3b42484596524b71c1 ./find
   e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz
   4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find
   03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir
   8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c
  
  
   etc
  
   Waitman Gobble
   San Jose California
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
  o
  where, Sir, is the header?!
 
  which header?
 
 this example I just copied /usr/src/usr.bin/find/ (entire directory
 contents) to my home directory then added.
 
 #include md5.h to the top of function.c (with the other includes, order
 /may/ matter.. i did after the sys/ includes but before the others)
 
 md5.h is in /usr/include, it's basically a wrapper around
 /usr/include/sys/md5.h


sounds reasonable.  if you have this compiler on fedsora, I'd like to
see it for myself.  I think I have gcc* installed.

so, whenever you have time... .


 
 
 then changed the function int f_print, added two lines
 char * md5sum[32];
 (void)printf(%s ,MD5File(entry-fts_accpath,md5sum));
 
 then changed the two lines in Makefile, PROGNAME so i don't end up with
 'find' executable and the other is -lmd so i get the library with md5
 routines.
 
 I think maybe I wasn't clear that i was editing function.c, and that there
 is more to function.c than my example code.
 
 I can put the source on git if you want, but it's pretty basic. Also i'd
 have to research the second parameter in MD5File function, i don't actually
 think that's what i thought it was. it is returning the correct hash, and
 printing it out, as returned from the function.
 
 Waitman Gobble
 San Jose California
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman

Re: cksum entire dir??

2012-09-12 Thread Gary Kline
On Wed, Sep 12, 2012 at 08:17:16PM -0500, Robert Bonomi wrote:
 
  Date: Wed, 12 Sep 2012 14:47:04 -0700
  From: Gary Kline kl...@thought.org
  Subject: Re: cksum entire dir??
 
  On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote:
  
 [sneck]
  
   are you sure it's not 'md5sum' ? ... that seems to be on all my 
   GNU/Linux machines.
  
 
   yup, you be right.  altho we have no md5 [[does FBSD?]], fedora does 
   have md5sum.  makes me wonder why this flavor didnt do at least a 
   symlink.   oh well.
 
 to find out what you do have, try 'apropos'.
 e.g.
apropos checksum
apropos md5
apropos sha


this was the second thing I did.  I have basically 
cksum and sum

on this fedora box.

oh, and now, md5sum.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


cksum entire dir??

2012-09-11 Thread Gary Kline

I'm trying to checksum directories as I move them around.
ive read the man page for sum and cksum ... or maybe skimmed 
them.  no joy.  anybody know of a utility to do this?  I've 
got files that are decades old... 

tx, guys.

gary


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-11 Thread Gary Kline
On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote:
 On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote:
  
  I'm trying to checksum directories as I move them around.
  ive read the man page for sum and cksum ... or maybe skimmed 
  them.  no joy.  anybody know of a utility to do this?  I've 
  got files that are decades old... 
 
 Maybe it's possible to tar the directory (without
 compression of course) and obtain a checksum of
 the tar archive?
 
   % tar cf - director | cksum
 
 But I also tried cksum directly with a directory
 like
 
   % cksum directory
 
 and could obtain a checksum - so it _seems_ to work.
 After alteration of one file within the hierarchy a
 different result was printed.
 
 Tested on OS version 8.2-STABLE/i386, one year old.
 


I think I tried something like your second example last night.
I think I did

% cksum foodir/*

and had to compare each file from another file I was copying from.
it was tiresome to check each of dozens of files tho. I was here at 
desk for something obscene -- over 12 hrs. getting my new [slightly
used:)] computer back to normal.  

if there isn't anything that can compare entire dirs, it looks like
it's time to hack a small program.  tx, polyt.

gary


 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-11 Thread Gary Kline
On Wed, Sep 12, 2012 at 02:48:54AM +0200, Polytropon wrote:
 On Tue, 11 Sep 2012 17:24:08 -0700, Gary Kline wrote:
  On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote:
   On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote:

I'm trying to checksum directories as I move them around.
ive read the man page for sum and cksum ... or maybe skimmed 
them.  no joy.  anybody know of a utility to do this?  I've 
got files that are decades old... 
   
   Maybe it's possible to tar the directory (without
   compression of course) and obtain a checksum of
   the tar archive?
   
 % tar cf - director | cksum
   
   But I also tried cksum directly with a directory
   like
   
 % cksum directory
   
   and could obtain a checksum - so it _seems_ to work.
   After alteration of one file within the hierarchy a
   different result was printed.
   
   Tested on OS version 8.2-STABLE/i386, one year old.
   
  
  
  I think I tried something like your second example last night.
  I think I did
  
  % cksum foodir/*
 
 That lets the shell expand * to the content of foodir, making
 a final command line like cksum foodir/file1 foodir/file2
 and so on. If you omit the /* part, the directory will be
 checksummed entirely. If you then remove a file or change
 it, a different checksum will be printed. At least that is
 my interpretation of what I've tested.
 
 
 
  if there isn't anything that can compare entire dirs, it looks like
  it's time to hack a small program.  tx, polyt.
 
 The Midnight Commander has a function to compare directories
 which will also identify _which_ files have changed (unlike
 the command cksum foodir that will tell you _that_ a file
 has been changed) and use the mark file function to highlight
 those files. It can be accessed by putting one directory into
 the left, the other one into the right panel, and then F9 C C
 (or Ctrl-X D). You are then presented a selection:
 
   + Compare directories -+
   | Select compare method:   |
   |  |
   |  [ Quick ]  [ Size only ]  [ Thorough ]  [ Cancel ]  |
   +--+
 
 Quick = file names, Size only = file sizes, Thorough = file
 content.
 


I'm not concerned about a file having been changed, just whether

   % cp -rp /home/klinebak/foodir   /home/kline/

is 100% reliable.  down to the bit!  a friend has volunteered
to take over my system admin chores.  he left my drive fragmented 
and while I am going over /home/klinebak with extreme caution--
getting rid of dross while coping everything valid to my new 
/home/ dir.  im hoping that the cp utility is flawless and/or 
that the drive to this duo/dual-CPU computer is good.   I'm 
buying a new Dell 4-CPU new.  Should have everything setup in a
couple weeks.  Oh, and in addition to klinebak, there are 
fragments of my backup systems all over the place.

Higgsbo, give me strength!
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-11 Thread Gary Kline
On Tue, Sep 11, 2012 at 09:18:13PM -0400, kpn...@pobox.com wrote:
 On Tue, Sep 11, 2012 at 05:24:08PM -0700, Gary Kline wrote:
  On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote:
   But I also tried cksum directly with a directory
   like
   
 % cksum directory
   
   and could obtain a checksum - so it _seems_ to work.
   After alteration of one file within the hierarchy a
   different result was printed.
  
  I think I tried something like your second example last night.
  I think I did
  
  % cksum foodir/*
  
  and had to compare each file from another file I was copying from.
  it was tiresome to check each of dozens of files tho. I was here at 
  desk for something obscene -- over 12 hrs. getting my new [slightly
  used:)] computer back to normal.  
  
  if there isn't anything that can compare entire dirs, it looks like
  it's time to hack a small program.  tx, polyt.
 
 Unix was originally created to do text manipulation. No need for a new
 program when you can do it from the command line.
 
 cd dir1 ; cksum * | sort  /tmp/dir1-cksum
 cd dir2 ; cksum * | sort  /tmp/dir2-cksum
 
 diff /tmp/dir?-cksum
 
 Don't forget to remove temporary files when you are done.
 
 Other useful commands:
 cut
 paste
 
 You can use awk to pull out and rearrange columns:
 cksum * | awk '{ print $3, $1, $2; }' | sort
 
 This gives you a little easier diff in case you do have changes.
 
 Friendly tip: if you did comparisons by hand for 12 hours then you
 may have missed something.


no, it was several other tasks that I had t  o do very carefully
by hand.  I was going to write an awk script.  I figured there
were others ways.

my desktop is a flavor of linux that i don't  know.  it seems to be
lacking in many common unix binaries; md5 is one that I spent
an hour checking.  zero.

your first way works very well and will serve.   many thanks.
now I can listen to:

/Lectures on the Critique of Pure Reason

which is now safely in my home directory in several mp3 files.

 
 It's a real shame Unix doesn't have a really good tool for comparing
 two directory trees. You can use 'diff -r' (even on binaries), but that
 fails if you have devices, named pipes, or named sockets in the
 filesystem. And diff or cksum don't tell you if symlinks are different.
 Plus you may care about file ownership, and that's where the stat
 command comes in handy.


right.  these are things you only discover the hard way.   
  
 Not that I'm volunteering, mind you. I ended up instead writing a
 Python script to do copies of filesystems off of old machines I'm
 putting to pasture. It's amazing how badly old versions of dump and
 tar behave. 


REmember CP/M and MP/M?  I started out with a dual 8085/80888 box 
with MP/Mand wrote notes and letters that were stored on 8
twin floppies.  circa mid-1980's I transferred a boatload of floppies
onto my 386 with SVR2 with uucp and others C programs on the 8088 box. 
it took forever and things keep faulting, but I got it done.
eventually.

 -- 
 Kevin P. Nealhttp://www.pobox.com/~kpn/
 
I like being on The Daily Show. - Kermit the Frog, Feb 13 2001
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-11 Thread Gary Kline
On Tue, Sep 11, 2012 at 09:55:33PM -0500, Robert Bonomi wrote:
 
  Date: Tue, 11 Sep 2012 17:24:08 -0700
  From: Gary Kline kl...@thought.org
  Subject: Re: cksum entire dir??
 
  On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote:
   On Tue, 11 Sep 2012 14:38:04 -0700, Gary Kline wrote:

I'm trying to checksum directories as I move them around.
ive read the man page for sum and cksum ... or maybe skimmed 
them.  no joy.  anybody know of a utility to do this?  I've 
got files that are decades old... 
   
   Maybe it's possible to tar the directory (without
   compression of course) and obtain a checksum of
   the tar archive?
   
 % tar cf - director | cksum
   
   But I also tried cksum directly with a directory
   like
   
 % cksum directory
   
   and could obtain a checksum - so it _seems_ to work.
   After alteration of one file within the hierarchy a
   different result was printed.
   
   Tested on OS version 8.2-STABLE/i386, one year old.
   
 
 
  I think I tried something like your second example last night.
  I think I did
 
  % cksum foodir/*
 
  and had to compare each file from another file I was copying from.
  it was tiresome to check each of dozens of files tho. I was here at 
  desk for something obscene -- over 12 hrs. getting my new [slightly
  used:)] computer back to normal.  
 
 If you'd say _what_ you are trying to accomplish, as distinct from
 _how_ you are attempting to do things,  people might be able to 
 suggest a sensible answer.
 
 Taking what you asked _literally_, 'tar . -cf - | cksum' answers the question.
 Although 'find . -exec cat {} \; | cksum' may be closer.





below, is what is easiest to script ... this was kevin's idea, simple
and straight foreward.  the only trick is that in several cases I have
to type [[ ot alias ]] prefix strings like
/home/ethic/usr/home/kline before I get into the breadth or depth of
my directories ...

 
 However, if you just want to etablish that the contents of two directories
 are identical, the 'diff -r -q {dir1} {dir2} might be appropriate.
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AAAARRRgghhh-h-h. [[tooo tired]]

2012-08-25 Thread Gary Kline
On Sat, Aug 25, 2012 at 09:05:39AM -0700, Waitman Gobble wrote:
 Date: Sat, 25 Aug 2012 09:05:39 -0700
 From: Waitman Gobble gobble...@gmail.com
 Subject: Re: RRRgghhh-h-h. [[tooo tired]]
 To: FreeBSD Mailing List freebsd-questions@freebsd.org
 
 On Fri, Aug 24, 2012 at 5:52 PM, Gary Kline kl...@thought.org wrote:
 
 
  been here the whole day since around 09.00.  one question since the
  guy who did my kvm switch used too-short cablesthey were ~4ft
  instead of 6.  my question:  Do any of you know if I can just buy
  kvm cables... of say 6ft?  it's a trendnet TK-409K.
 
 
  #2:: I have no idea how a USB port could burn out, but that's what
  the tech found.  anybody care to reply to either point??
 
  tx very tmuch
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
  Unix
Twenty-six years of service to the Unix community.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 Hi Gary,
 
 I don't recall a burn-out issue like that with a USB port, except maybe on
 a notebook one time.. but I've recently seen some mobo mfgs advertising
 'ESD resistant USB ports'. So I suppose that's been an issue...
 
 Waitman Gobble
 San Jose California USA


tx for the datapoint.   a friend in Dallas thinks the USB
ports are good and that it's a cabling isssue.  the tech is
self-taught.  that might be as good a way of learning about
computer hardware... .  

I may not have to buy a new/refurb computer.  the tech is
thinking of coming back tomorrow {sunday} to make sure about
the cables.  he inserted the USB plugs *by feel*.  blew me
away.


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


AAAARRRgghhh-h-h. [[tooo tired]]

2012-08-24 Thread Gary Kline

been here the whole day since around 09.00.  one question since the
guy who did my kvm switch used too-short cablesthey were ~4ft
instead of 6.  my question:  Do any of you know if I can just buy
kvm cables... of say 6ft?  it's a trendnet TK-409K.


#2:: I have no idea how a USB port could burn out, but that's what
the tech found.  anybody care to reply to either point??

tx very tmuch

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AAAARRRgghhh-h-h. [[tooo tired]]

2012-08-24 Thread Gary Kline
On Sat, Aug 25, 2012 at 08:39:29AM +0700, Erich Dollansky wrote:
 Date: Sat, 25 Aug 2012 08:39:29 +0700
 From: Erich Dollansky erichfreebsdl...@ovitrap.com
 Subject: Re: RRRgghhh-h-h.  [[tooo tired]]
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Mailing List freebsd-questions@freebsd.org
 X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0)
 
 Hi,
 
 On Fri, 24 Aug 2012 17:52:53 -0700
 Gary Kline kl...@thought.org wrote:
 
  #2:: I have no idea how a USB port could burn out, but that's what
  the tech found.  anybody care to reply to either point??
  
 every electrical or electronic device can burn out. I would check the
 hardware directly connected to the affected port. Especially the
 motherboard if it is a built-in one.

the tech tried every USB port; none responded.  the motherbd 
was a drop-in since the box was oeiginally a 2.75GHz
single-proc bare-bones from 2005.

gary

ps: I have two copies of everything so just d/loaded Fedora.
see if that reactivates the ports.
 
 Erich

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AAAARRRgghhh-h-h. [[tooo tired]]

2012-08-24 Thread Gary Kline
On Fri, Aug 24, 2012 at 08:00:05PM -0500, Jerry Dunham wrote:
 Date: Fri, 24 Aug 2012 20:00:05 -0500
 From: Jerry Dunham jdun...@texas.net
 Subject: Re: RRRgghhh-h-h.  [[tooo tired]]
 To: freebsd-questions@freebsd.org
 Cc: 
 X-mailer: Pegasus Mail for Windows (4.63)
 
 On 24 Aug 2012 at 17:52, Gary Kline wrote:
 
  been here the whole day since around 09.00.  one question since the guy
  who did my kvm switch used too-short cablesthey were ~4ft instead
  of 6.  my question:  Do any of you know if I can just buy kvm cables...
  of say 6ft?  it's a trendnet TK-409K. 
 
 KVM cables are generally pretty standard critters, though there are several 
 types.  You 
 could probably just do a Google search, but I can tell you that NewEgg has a 
 variety of 
 them.
 
 

wow! outstanding.  thanks.

gary

 
 --
 Jerry Dunham
 Moderator, Texas Great Dane Rescue
 jdun...@texas.net
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AAAARRRgghhh-h-h. [[tooo tired]]

2012-08-24 Thread Gary Kline
On Fri, Aug 24, 2012 at 04:08:56PM -1000, Al Plant wrote:
 Date: Fri, 24 Aug 2012 16:08:56 -1000
 From: Al Plant n...@hdk5.net
 Subject: Re: RRRgghhh-h-h.  [[tooo tired]]
 To: Gary Kline kl...@thought.org
 CC: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG
 
 Gary Kline wrote:
 been here the whole day since around 09.00.  one question since the
 guy who did my kvm switch used too-short cablesthey were ~4ft
 instead of 6.  my question:  Do any of you know if I can just buy
 kvm cables... of say 6ft?  it's a trendnet TK-409K.
 
 
 #2:: I have no idea how a USB port could burn out, but that's what
 the tech found.  anybody care to reply to either point??
 
 tx very tmuch
 
 Aloha Gary,
 
 Check pccables.com thats where I got mine. 6 foot.


YES!  

Aloha!!

 
 
 
 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org +
   + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
email: n...@hdk5.net 
 All that's really worth doing is what we do for others.- Lewis Carrol
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I Can Has Packages?

2012-08-19 Thread Gary Kline
 to
 package the software (the make package command), the
 current vendor or Java (no idea who is it today) forces
 you do manually download the sources and put them into
 /usr/ports/distfiles, requiring you to interactively
 agree with their terms of use.
 
 
 
 Now keep working harder and carry a towel. =^_^=
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

All of the above argumentation is why I have decided to
goto the dark side.  im tired of ubuntu 12.04 chewing up 
 1.30 load while doing [abs] nothing, so before the guy I
am hiring to come over and install a new KVM, I WIll 
likely switch to the free clone of redhat.  but at least
linux is just about push-button to upgrade.  I spent nearly
three months last spring to get my 7.3 up to date.  --there
were ==still== about four ports that would not build!  
So after 17 years, it's best wishes and im moving on.  

years ago we [FBSD] had a sponsor of some kind.  I forget
who, but they went belly-up or just quit on  us.  [???]
I never was that much of a capitalist--and esp'ly not after
three years of consulting until I found a REAL job.
Nevertheless, it seems to me that having a backer would save
us.  I guess it boils downto this:  either spent some N
hours of work weekly in keeping this current -- (plus K 
hours between versions).  or find a sponsor.  or buy a 
mac.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


TRENDnet, which?

2012-08-13 Thread Gary Kline

Well, it pays to check prices!  the Avocent brand of KVM
are an arm and *three* legs.  I have abs no use for anything
fancy.  just want something to get me to boot status on
different boxes...  a number of you suggested a kvm switch
with the brand trendnet.  

anybody know which model?

tia,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  1   2   3   4   5   6   7   8   9   10   >