trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2016

Re: [trinity-users] KMail Update

From: Gene Heskett <gheskett@...>
Date: Mon, 22 Feb 2016 12:37:30 -0500
On Monday 22 February 2016 09:54:05 Lisi Reisz wrote:

> On Monday 22 February 2016 12:03:40 Gene Heskett wrote:
> > On Monday 22 February 2016 04:15:02 Lisi Reisz wrote:
> > > On Monday 22 February 2016 00:05:41 Gene Heskett wrote:
> > > > On Sunday 21 February 2016 15:39:57 Thierry de Coulon wrote:
> > > > > On Sunday 21 February 2016 01.41:18 Glen Cunningham wrote:
> > > > > >    Reply to my own post for the archives.
> > > > > >
> > > > > > On Sunday 21 February 2016 09:38:25 Glen Cunningham wrote:
> > > > > > > Thanks for the try, Nik,
> > > > > > >
> > > > > > > On Sunday 21 February 2016 03:39:15 Dr. Nikolaus Klepp 
wrote:
> > > > > > > > Hi!
> > > > > > > >
> > > > > > > > It's that simple :-)
> > > > > > >
> > > > > > >   NO!  It is not that simple.
> > > > >
> > > > > (...)
> > > > >
> > > > > >   Laboriously copied the above 6 files/directories from
> > > > > > .kde3 on the old box to .trinity on the new one.
> > > > > >    That did not work!  Kmail failed to start.
> > > > > >    Deleted the 5 config files, restarted kmail, at least
> > > > > > kmail started this time and my old mailboxes seem to have
> > > > > > survived.
> > > > > >
> > > > > >   There has gotta be a better way!
> > > > > > Cheers,
> > > > > > Glen
> > > > >
> > > > > It should - almost - work the way Nik indicated.
> > > > >
> > > > > There are possibly a few things to edit when you move to
> > > > > .trinity (but that will be only once). Mainly, did you edit
> > > > > /.trinity/share/config/kmailrc ? In the last part of the file
> > > > > (after the mailboxes), you have the path to your mail
> > > > > directory.
> > > > >
> > > > > In (very) old time this would have been ~/mail , but somwhere
> > > > > in KDE history it was relocated to a ./kde3 subdirectory,
> > > > > usually $HOME/.kde3/share/apps/kmail/mail. You must change
> > > > > that to $HOME/.trinity/share/apps/kmail/mail
> > > > >
> > > > > As far as I remember that's all I had to do (apart from
> > > > > copyinf the directory).
> > > > >
> > > > > Thierry
> > > >
> > > > That might not be 100% good info, here on a wheezy system, its
> > > > ~/Mail, and I can't remember when it was different.
> > >
> > > Sorry, Gene - this is the not 100% correct information.  You have
> > > not got a standard Wheezy system by any manner of means.  It was
> > > possible to keep mail in ~/Mail. which is where it was before, but
> > > only by deliberately hacking one's system. It is NOT where it is
> > > on a standard Wheezy/TDE system.  E.g., it is not on mine.  I
> > > migrated my mails, with help from the community, I did not hack
> > > and set up links or whatever in order to keep ~/Mail, although
> > > that was a possibility. ISTR that I tried and made a mess of it.
> > >
> > > Lisi
> >
> > I didn't "hack" anything to put it there, Lisi.  Thats where my
> > first EMC2 install put it, from one of Paul Conners Brain Dead
> > Installers 15 years ago put it, that is where the Lucid 8.04 LTS
> > install put it, thats where the Hardy 10.04 LTS install  put it and
> > thats where the install iso based on Wheezy put it.
>
> It is TDE not Wheezy that decides that.  I know that it was what used
> to be the case.  But when .kde changed to .trinity things changed and
> Mail moved. What you have got is now non-standard.

I repeat, I did NOT have to move it when I installed TDE r14, it 
apparently looked at the old .kde4 config, and adjusted itself 
accordingly. In fact, I am unable to find a configuration option in the 
tde control center that would even allow it to be changed.

This exists in my ~/.trinity:
share/config/kmailrc:folders[$e]=$HOME/Mail
and I didn't touch it.
And I haven't a clue what the [$e] in the string means.

> > All I had to do was copy the email corpus
> > from the old drive to the new one each time I made a new install on
> > a new drive.
> >
> > Sure I write scripts to take care of stuff the installer should have
> > taken care of but didn't, and cannot because the choices would
> > exceed the size of the dvd.  All I am doing is scrattching an itch.
> >
> > To me its not hacking, its polishing the apple.
>
> Use whatever word you choose.  Hacking is the correct term, but I
> don't insist on it.
>
> > I don't build/buy these
> > machines to be told how I have to conform to them,
>
> Of course.  But home/$USER/Mail is no longer, now (in this case
> 3.5.13.2) the standard place for mail to be, and when one changes from
> TDE 3.5.?11 (I forget exactly when the change came) one has to go with
> the flow and migrate as required or hack around not to migrate.

Aha, caught'cha my dear girl, I am NOT running the 3.5.xx.y version of 
TDE, but r14.0.3 according to the pulldown.

> Your system is by no means standard.  It is not standard Wheezy, and
> it sounds as though it is not standard TDE either.  There is nothing
> wrong with being non-standard.  It just isn't standard.

And I haven't seen anyplace where its said that r14 uses the same layout 
as the 3.5.xx.y might use.  So my kmail is 1.9.10.  No clue what yours 
says it is.

I believe I'll rest my case... :)

> [tl:dnr]
>
> > To you, even changing a password is hacking I guess.
>
> Of course not.  Don't be ridiculous.
>
I thought some levity might improve the exchange. :)

> > But to make a
> > machine do something it is fully capable of doing, even if its not
> > on the menu at your favorite "greasy spoon"/"distribution" is not
> > hacking, its making the machine do what I need it to do AND bought
> > it or built it to do.
>
> That is what hacking means, for goodness sake.
>
> > I think you need to find a better word than "hacking".  Its usually
> > called programming.
>
> Gene, you are very knowledgeable in electronics.  I am highly
> qualified in language.  I know what programming is.  For what I meant,
> hacking is fine. It is a word with a lot of meanings.  I meant, and I
> quote from www.oxforddictionaries.com:
> "2.1Program quickly and roughly."

My programming is often the end result of living with what I've written 
long enough to see that it could be improved, so it will over time, be 
fine tuned.  My spam and virii treatments both have been overhauled in 
the last month.  I had just been putting clamav's hits in an isolated 
mail file that is not read by kmail.  My bank, a died in the wool 
winderz running bunch that I've long given up on, they are what they 
are, defectively educated MBA's, got infected, clamav triggered, and put 
the messages into isolation.  When I got a new CC with the chip in it, 
it was a total surprise, but in that virii collection was 3 messages 
from then advising me it was coming. 5 pieces of crap from AARP too but 
it was blatant spam too, so no big deal except that clamav has first 
dibs on it in my .procmailrc file. That could have been serious, so both 
have now been modified to give me 24 hours to see them before they are 
sent to dev/null.  That was on the 15th, and clamav hasn't triggered 
since to see if it works. I should probably hack my crontab to have 
clamav look at it about 8 or 9 in the morning to get me an email report.
That should take too much in the way of "hacking".

As for my other programming efforts, in g-code, I have one file that can 
carve the ends of 4 different boards, that has been back into the editor 
at least 1000 times in the two years since I renamed it to a -3.ngc 
version.

And just a week or so back, I found something that would let me change 
the board its to do without a trip to the editor.  It seems named 
variables in linuxcnc can survive anything but a cold restart of the 
computer.

So now I need to figure out how to test to see if they exist, without 
generating a show stopping error, or doing a default all zeros run as 
that is in fact a valid config for those 2 variables.

Not only to tell it which board it is to cut this run, but to improve the 
code even if it was working satisfactorily in terms of makeing joints 
that are perfect mirrors of each other so a side board and an end board 
just plug into each other, ready for a dab of glue and half a box of 
screws to make the finished assembly.

> Merriam-Webster gives:
> "4
> a :  to write computer programs for enjoyment"
>
> I did not mean programming.  I meant, and advisedly said, hacking. 
> Quick is the operative word there.  Creating the odd link, moving
> and/or renaming the odd file is NOT programming in my book.
>
> Lisi

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>