Re: What is it? Set 230

General Metalworking - All aspects of working with metal. 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Re: What is it? Set 230 Leon Fisk 05-02-2008
Posted by DoN. Nichols on May 6, 2008, 1:47 am
Please log in for more thread options
><snip>
>>> Right-click on a page and choose "Save as" from the menu.
>>
>>        Hmm ... not in the right-click menu on this system (Solaris 10
>>on UltraSPARC CPUs).
>
> I was afraid of that, my menus are highly modified. It use
> to be there but Opera has been messing around with the menus
> a lot lately :(

        I wish that they had not removed the "close window" one, leaving
only the ^W to accomplish the task. Sometimes I am leaning back with
the keyboard out of my lap on a shelf, and just using the mouse, but I
have to reach up to the awkwardly-located keyboard from time to time to
get rid of a page -- especially when I am using my saved eBay searches.

>>> Now you should have another dialog box with an item called
>>> "Save as type".
>>
>>        O.K. I can find this in the "File" menu.
><snip>
>
> Cool! nice thing about Opera, usually there is more than one
> way to do something.

        Just like unix. :-)

>>        So it does -- with a nasty (for unix systems at least), as it
>>saved by the file name: "D-AND_D.COM web pages.mht" instead of the
>>preferred "D-AND_D.COM_web_pages.mht". (I don't use spaces in filenames
>>as they are a pain on the unix command line.) For that matter,
>>Microsoft has discovered in some of their business/commercial
>>applications that they are a pain on the command line in Windows, too. :-)
>
> Agreed, I avoid spaces if at all possible. They cause a lot
> of trouble in Windows too, contrary to what MS would have
> you believe...

        I do understand that they are having troubles with them in their
business systems -- when the spaces are breaking command-line operation
or scripts (batch files?).

        But -- they would never admit it to their home users. :-)

        [ ... ]

> Now that you have figured out what mht is, I have a bunch of
> old "What is it?" pages saved that way. If you want an old
> one for comparison purposes let me know and I can stick one
> or two on my web page for a few days. Give me an idea of
> what time frame you would be looking for if so.

        Well ... at this point, I think that the problem really was that
about that time I had turned on the fit-to-width option (which I found
while playing around in the latest 9.27 version). Since I have shared
home directories, when I went to the system with the older (9.26)
version, I still got the same settings. :-)

>
>>        Winzip isn't going to do much on a system running Solaris 10 on
>>an UltraSPARC CPU. :-)
>
> I knew that :) but I wanted you to know that some archiver
> programs can un-pack mht. I thought 7-Zip could too but it
> choked on one when I gave it a try.

        O.K. That is one which I don't know.

> I poked around a bit looking for something Unixish for this,
> but didn't find anything via a quick search. I'm sure
> someone has made a program for it though.

        Certainly someone has.

>>        Any clues as to the others (which would handle the whole thing)?
>>I could, of course edit it into separate chunks and manually run
>>
>>        mimeencode -u
>>
>>on it -- giving it my own choice of names if necessary.
>
> This would work and the name is easy enough to read/spot in
> the mht file. You wouldn't have to make it up. If the file
> doesn't have any non-text characters it probably wouldn't be
> encoded anyway.

        Good enough. But of course the images would have to be encoded
(though hopefully the file name would not be.)

><snip>
>>        O.K. While I often have to use zoom to be able to read the
>>pages (and even then is difficult with one of the dark-blue on black
>>pages. :-)
>
> Have you tried "Ctrl-g" (user style sheet) on such pages?

        Hmm ... is *that* where that one went. I used to set up a set
of colors in one of the preferences menus, but I could not find how to
invoke it, as the "always use my colors" button had vanished.

> You can set Opera up with your own special css page to
> override a lot of poor web page design crap and/or use its
> own built in values via the preferences settings. If you
> want to explore this a bit farther I can take a few deep
> breaths and try to help. It can be a bit confusing/difficult
> if you haven't messed around with it before. I think it is
> the same as the Windows version but not sure...

        Well ... I used to use that on Mozilla -- but could not find how
to invoke it (until you mentioned the ^G). So -- I may be saved. :-)

>>Wasn't it you who was curious about how well zfs worked?
>
><snip good zfs info>
>
> Not me, wrong geek :) I remember you discussing it though
> and I think it was with Steve Ackman. See:
>
> http://groups.google.com/group/rec.crafts.metalworking/msg/98ac5f0371419be9

        O.K. Hopefully he is following this discussion. Anyway, the
test with migrating to a new (larger) set of drives worked just as I had
hoped.

        Thanks,
                DoN.

--
        (too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---

Posted by Leon Fisk on May 6, 2008, 3:28 pm
Please log in for more thread options
On 6 May 2008 05:47:01 GMT, "DoN. Nichols"

<snip>
>I wish that they had not removed the "close window" one, leaving
>only the ^W to accomplish the task. Sometimes I am leaning back with
>the keyboard out of my lap on a shelf, and just using the mouse, but I
>have to reach up to the awkwardly-located keyboard from time to time to
>get rid of a page -- especially when I am using my saved eBay searches.

You can create your own customized menu. Take a look at the
standard/default menu "STANDARD_MENU.INI" and just copy the
sections you want to modify. Put your modified version (with
a new name) in the Opera/profile/menu directory. Bring up
the preferences and point Opera to it. Leave sections you
don't want to change out of this file. Opera will use its
default settings (from the default directory) for all
sections not listed in your custom menu file.

Opera can also modify/create custom menus, keystrokes... via
the preferences editor. I'm old school and usually just
modify the ini files in a text editor. Here is a copy of the
menu mods I'm currently using. It should give you some
ideas:

http://www.iserv.net/~lfisk/myo7_menu2.ini

Don't be too alarmed by the Opera 7 references. I made this
some time ago and haven't bothered changing the names. It is
being used in version 9.27 on Windows right now.

<snip>
>Well ... at this point, I think that the problem really was that
>about that time I had turned on the fit-to-width option (which I found
>while playing around in the latest 9.27 version). Since I have shared
>home directories, when I went to the system with the older (9.26)
>version, I still got the same settings. :-)

Yes, if you had fit-to-width on it is very possible that was
causing the problem. It is a nice feature but has its
caveats, especially leaving it on all the time.

<snip>
>>>O.K. While I often have to use zoom to be able to read the
>>>pages (and even then is difficult with one of the dark-blue on black
>>>pages. :-)
>>
>> Have you tried "Ctrl-g" (user style sheet) on such pages?
>
>        Hmm ... is *that* where that one went. I used to set up a set
>of colors in one of the preferences menus, but I could not find how to
>invoke it, as the "always use my colors" button had vanished.

It is also on the View->Style drop down menu. This is where
you should be tinkering to make crappy web pages readable.

This little bookmarklet can do wonders too. Save it as a
bookmark in Opera and then try clicking on it while viewing
a web page with less than desirable colors and font sizes.
It runs as javascript (so you have to have js enabled) see
if it helps some. This is all on one line, no returns or
spaces:

javascript:for(i=0;i<document.getElementsByTagName('*').length;i++)void(document.getElementsByTagName('*')[i].style.fontSize='10pt');void(document.body.style.background='#e3e3e3')

You can pretty much customize Opera's menus, keyboard,
skins, toolbar... to anything you want it to be.

--
Leon Fisk
Grand Rapids MI/Zone 5b
Remove no.spam for email

Posted by DoN. Nichols on May 6, 2008, 9:41 pm
Please log in for more thread options
> On 6 May 2008 05:47:01 GMT, "DoN. Nichols"
>
><snip>
>>I wish that they had not removed the "close window" one, leaving
>>only the ^W to accomplish the task. Sometimes I am leaning back with
>>the keyboard out of my lap on a shelf, and just using the mouse, but I
>>have to reach up to the awkwardly-located keyboard from time to time to
>>get rid of a page -- especially when I am using my saved eBay searches.
>
> You can create your own customized menu. Take a look at the
> standard/default menu "STANDARD_MENU.INI" and just copy the
> sections you want to modify. Put your modified version (with
> a new name) in the Opera/profile/menu directory. Bring up
> the preferences and point Opera to it. Leave sections you
> don't want to change out of this file. Opera will use its
> default settings (from the default directory) for all
> sections not listed in your custom menu file.

        Aha! Nice trick. (though the default turns out to be in lower
case in my system. I guess a difference between the Windows and the
unix versions.

        Any idea what the numbers mean in entries like this:

======================================================================
Item, 44004 = Mark as read
======================================================================

and how to derive the proper number for a new addition?

> Opera can also modify/create custom menus, keystrokes... via
> the preferences editor. I'm old school and usually just
> modify the ini files in a text editor. Here is a copy of the
> menu mods I'm currently using. It should give you some
> ideas:
>
> http://www.iserv.net/~lfisk/myo7_menu2.ini

        Got it! Thanks!

> Don't be too alarmed by the Opera 7 references. I made this
> some time ago and haven't bothered changing the names. It is
> being used in version 9.27 on Windows right now.

        Good enough. This also suggests that I don't need to do too
much maintenance when I upgrade Opera each time?

><snip>
>>Well ... at this point, I think that the problem really was that
>>about that time I had turned on the fit-to-width option (which I found
>>while playing around in the latest 9.27 version). Since I have shared
>>home directories, when I went to the system with the older (9.26)
>>version, I still got the same settings. :-)
>
> Yes, if you had fit-to-width on it is very possible that was
> causing the problem. It is a nice feature but has its
> caveats, especially leaving it on all the time.

        As I am learning.

><snip>
>>>>O.K. While I often have to use zoom to be able to read the
>>>>pages (and even then is difficult with one of the dark-blue on black
>>>>pages. :-)
>>>
>>> Have you tried "Ctrl-g" (user style sheet) on such pages?
>>
>>        Hmm ... is *that* where that one went. I used to set up a set
>>of colors in one of the preferences menus, but I could not find how to
>>invoke it, as the "always use my colors" button had vanished.
>
> It is also on the View->Style drop down menu. This is where
> you should be tinkering to make crappy web pages readable.

        Good. Hmm ... I find two major entries -- Author mode and User
mode, and then a third entry to manage modes, plus a bunch of things
below which need to be explored.

> This little bookmarklet can do wonders too. Save it as a
> bookmark in Opera and then try clicking on it while viewing
> a web page with less than desirable colors and font sizes.
> It runs as javascript (so you have to have js enabled) see
> if it helps some. This is all on one line, no returns or
> spaces:
>
>
javascript:for(i=0;i<document.getElementsByTagName('*').length;i++)void(document.getElementsByTagName('*')[i].style.fontSize='10pt');void(document.body.style.background='#e3e3e3')

        Hmm ... how do I get that into the bookmarks?

> You can pretty much customize Opera's menus, keyboard,
> skins, toolbar... to anything you want it to be.

        Thanks! I've been too busy using it to try learning how to
customize it.

        Thanks again,
                DoN.

--
        (too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---

Posted by Leon Fisk on May 7, 2008, 2:56 pm
Please log in for more thread options
On 7 May 2008 01:41:46 GMT, "DoN. Nichols"

<snip>
>        Any idea what the numbers mean in entries like this:
>
> ======================================================================
>Item, 44004 = Mark as read
> ======================================================================
>
>and how to derive the proper number for a new addition?

Those come from the language file, namely "English.lng".
Mine is located in the main Opera directory. It is actually
a text file and you can just search in it for the number or
some key words. Sometimes there are similar entries, so if
you are searching via name check for more entries.

If you want you can make a small custom language file and
stick it in your Profile directory. This will override
entries in the other file. Mine (custom in profile directory
with same name) looks like this:

===
; Opera language file version 2.0
; Copyright © 1995-2004 Opera Software ASA. All rights
reserved.
; Created on 2004-12-29 08:00
; Lines starting with ; (like this) are comments and need
not be translated
; Custom modifications for my own preferences

[Info]
Language="en"
; The string below is the language name in its own language
LanguageName="My English"
Charset="iso-8859-1"
Build.Win=8321
Version.Win=9.00
DB.version=369

[Translation]

-512239998="Fit to width"
-207624035="Xfr"
-1740944157="Xfr"
-191591729="Other:"
-1598715159="Xfr"
1601122237="Xfr"
2554023139="Xfr"
2696252137="Xfr"
359283713="Maximize"
4087343261="Xfr"
===

I renamed some stuff to shorter entries or more to my
liking. Watch the word wrap on the first few lines that are
commented if you try to use it. There should be just five
lines before the first section. None of the section lines
wrapped. Or take a look at the default one in the Opera
directory. I just snipped and used the leading portion with
a few minor changes.

<snip>
>Good enough. This also suggests that I don't need to do too
>much maintenance when I upgrade Opera each time?

It depends on how much Opera has changed. Your file won't be
overwritten, but it may be lacking some new features.
Somethings may quit working too. When I feel ambitious I
will compare the default ini file to the custom sections in
mine and see if something was added/changed that may be of
interest.

<snip>
>Good. Hmm ... I find two major entries -- Author mode and User
>mode, and then a third entry to manage modes, plus a bunch of things
>below which need to be explored.

User mode is what can be helpful for poorly coded pages. The
Manage Modes sets up how Opera will apply these modes. The
other entries link to pre-built css sheets that can turned
on/off and can sometimes be helpful. They are additive, you
can have more than one active at a time. My modes are setup
such that they (the other entries) are only applied while in
User mode.

The Manage Modes can be a bit confusing. Let me know if it
gives you grief figuring it out. A lot of Opera users get
confused by it.

>> This little bookmarklet can do wonders too. Save it as a
>> bookmark in Opera and then try clicking on it while viewing
>> a web page with less than desirable colors and font sizes.
>> It runs as javascript (so you have to have js enabled) see
>> if it helps some. This is all on one line, no returns or
>> spaces:
>
>javascript:for(i=0;i<document.getElementsByTagName('*').length;i++)void(document.getElementsByTagName('*')[i].style.fontSize='10pt');void(document.body.style.background='#e3e3e3')
>
>Hmm ... how do I get that into the bookmarks?

Create a new bookmark with a name that you like and
copy/past it into the url field. I believe Ctrl-Alt-b will
bring up the edit bookmarks dialog or it may be at the top
of the drop down menu. Not sure about the latter because I
know I have modified that menu to my taste.

You will have to enable javascript too for it to work. I
know you don't like to have it enabled from reading other
posts. I keep it enabled most of time now (js) and only turn
it off when it cause a big headache on some pages. Opera
takes security pretty seriously and I have never had any
problems so far using Opera. The key F12 may bring up a
small settings menu where you can quickly change some of
these settings.

>Thanks! I've been too busy using it to try learning how to
>customize it.

Lucky you! I'm a hopeless tweaker & tinkerer


--
Leon Fisk
Grand Rapids MI/Zone 5b
Remove no.spam for email

Posted by DoN. Nichols on May 7, 2008, 10:48 pm
Please log in for more thread options
> On 7 May 2008 01:41:46 GMT, "DoN. Nichols"
>
><snip>
>>        Any idea what the numbers mean in entries like this:
>>
>> ======================================================================
>>Item, 44004 = Mark as read
>> ======================================================================
>>
>>and how to derive the proper number for a new addition?
>
> Those come from the language file, namely "English.lng".
> Mine is located in the main Opera directory. It is actually
> a text file and you can just search in it for the number or
> some key words. Sometimes there are similar entries, so if
> you are searching via name check for more entries.

        Aha! I thought that they should represent text somehow.

> If you want you can make a small custom language file and
> stick it in your Profile directory. This will override
> entries in the other file. Mine (custom in profile directory
> with same name) looks like this:

        [ ... ]

> I renamed some stuff to shorter entries or more to my
> liking. Watch the word wrap on the first few lines that are
> commented if you try to use it.

        I had already spotted that. I'm used to seeing when comments
are wrapped, even though this used ':' instead of '#' as the comment
delimiter. :-)

> There should be just five
> lines before the first section. None of the section lines
> wrapped. Or take a look at the default one in the Opera
> directory. I just snipped and used the leading portion with
> a few minor changes.

        This is good enough to tell me what to do. If I want to create
my own numbers, I guess that I'll need to write a script to extract all
of the existing numbers, sort them, and then look for usable gaps. :-)

        Or were yours the negative numbers there?

><snip>
>>Good enough. This also suggests that I don't need to do too
>>much maintenance when I upgrade Opera each time?
>
> It depends on how much Opera has changed. Your file won't be
> overwritten, but it may be lacking some new features.
> Somethings may quit working too. When I feel ambitious I
> will compare the default ini file to the custom sections in
> mine and see if something was added/changed that may be of
> interest.

        O.K.

><snip>
>>Good. Hmm ... I find two major entries -- Author mode and User
>>mode, and then a third entry to manage modes, plus a bunch of things
>>below which need to be explored.
>
> User mode is what can be helpful for poorly coded pages. The
> Manage Modes sets up how Opera will apply these modes. The
> other entries link to pre-built css sheets that can turned
> on/off and can sometimes be helpful. They are additive, you
> can have more than one active at a time. My modes are setup
> such that they (the other entries) are only applied while in
> User mode.
>
> The Manage Modes can be a bit confusing. Let me know if it
> gives you grief figuring it out. A lot of Opera users get
> confused by it.

        When I get time to attack it.

>>> This little bookmarklet can do wonders too. Save it as a
>>> bookmark in Opera and then try clicking on it while viewing
>>> a web page with less than desirable colors and font sizes.
>>> It runs as javascript (so you have to have js enabled) see
>>> if it helps some. This is all on one line, no returns or
>>> spaces:
>>
>>javascript:for(i=0;i<document.getElementsByTagName('*').length;i++)void(document.getElementsByTagName('*')[i].style.fontSize='10pt');void(document.body.style.background='#e3e3e3')
>>
>>Hmm ... how do I get that into the bookmarks?
>
> Create a new bookmark with a name that you like and
> copy/past it into the url field. I believe Ctrl-Alt-b will
> bring up the edit bookmarks dialog or it may be at the top
> of the drop down menu. Not sure about the latter because I
> know I have modified that menu to my taste.

        Got it. Had to edit out the space introduced by slrn where it
folded the line. (Hmm ... perhaps I should turn that feature off, since
it will also give problems with the xclip data. I *could* pipe the
output through sed as well to get rid of the spaces -- except for the
nasty practice of putting spaces in URLs. :-)

> You will have to enable javascript too for it to work. I
> know you don't like to have it enabled from reading other
> posts. I keep it enabled most of time now (js) and only turn
> it off when it cause a big headache on some pages. Opera
> takes security pretty seriously and I have never had any
> problems so far using Opera. The key F12 may bring up a
> small settings menu where you can quickly change some of
> these settings.

        That -- and also setting preferences on a per site basis, which
is what I have been having to do a lot of recently.

>>Thanks! I've been too busy using it to try learning how to
>>customize it.
>
> Lucky you! I'm a hopeless tweaker & tinkerer

        Well -- I do that too -- but had not focused on the web browser.
I just built up a slightly older version of smartmontools and installed
it in my main server to (among other things) find out how many hours of
use were already on the FC disks which I built into two zfs pools
recently. They all looked new -- not even any dust in the housings
where the air is pumped through as long as it is running. Apparently,
they were in a *very* clean machine room, because some of them are
showing over 50000 hours. Actually, I wonder whether these were
*started* at 50,000 hours for some reason. Here is one of them:


======================================================================
                number of hours powered up = 50052.38
======================================================================

        And most of the others are in the very low 50k range as well.

        Now -- I have to figure out why the latest version of
smartmontools blows up in the compile phase. (And, whether there are
enough new features to make it worth while with a version number
increase from 5.33 to 5.38. :-)

        Enjoy,
                DoN.

--
        (too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---


Contact Us | Privacy Policy

XML SitemapXML Sitemap