Changes between Initial Version and Version 1 of Documentation/Tips & tricks


Ignore:
Timestamp:
Oct 4, 2013 8:00:50 PM (14 months ago)
Author:
AmigaPhil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Tips & tricks

    v1 v1  
     1[[TOC(depth=1)]] 
     2 
     3= Tips & tricks = 
     4 
     5== Snapshotting the window positions and sizes == 
     6 
     7Start the MUI settings interface by selecting "Settings/MUI...", 
     8then go to the "Windows" section and make sure the third of the little 
     9system gadget buttons is activated.  After saving the settings, every 
     10window will have an additional system gadget in the upper right corner 
     11- one click on this gadget will snapshot the actual size and position of the window for future sessions. 
     12 
     13 
     14== Avoiding context menus from getting on your way == 
     15 
     16The context menus for the folder & message lists may get in your way 
     17and prevent you from using the usual menu item shortcuts unless you move 
     18the pointer outside the list.  Unfortunately this is a bug in MUI <=3.8, 
     19which can only worked around by disabling the context menus themselves 
     20in [[Configuration#Lists| Configuration/Lists ]]. 
     21 
     22If your menu shortcuts still don't work, it's probably because the 
     23NList context sensitive menus are enabled.  To disable them, start the 
     24MUI settings interface, then select NListviews - Misc - Misc2 - Default 
     25ContextMenu = Never.  Save your MUI settings and you're done. 
     26 
     27 
     28== Moving "YAM" program directory to another partition or directory == 
     29 
     30Moving your YAM directory to another place is a procedure 
     31requiring four steps: 
     32 
     33  1. Quit YAM if it is currently running. 
     34 
     35  2. Copy your YAM directory to the new place with a tool that allows 
     36     you to preserve the original file protection bits, datestamps and 
     37     comments. This is needed to prevent your mail archives from getting 
     38     mangled in the process.  Example:\\ 
     39     (The "CLONE" switch for Copy is paramount here, as it will prevent 
     40     your mail from getting their status information (read, new, etc.) lost.) 
     41 
     42            1.RAM Disk:> copy YAM DH2:Comms/mail/YAM/ ALL QUIET CLONE 
     43 
     44  3. Lastly, update your PROGDIR:.users file to make sure it points to the 
     45     new mail directory.  If you fail to do so, YAM will keep trying to 
     46     read/create/etc. the folders in the old place.  Beware! 
     47 
     48  4. Finally, if you can run YAM again in the new place and all seems 
     49     to work fine, deleting YAM and all its files from the old place should 
     50     be a safe operation now. 
     51 
     52 
     53== Avoiding excessive disk trashing on startup == 
     54 
     55On startup, YAM checks the indices of all its folders against the 
     56datestamp of the directory where they are stored (the "Rebuilding 
     57folders' indices" part).  Under normal circumstances, since filesystems 
     58update a directory datestamp whenever its contents are modified, both 
     59the index and the directory should have the same datestamp, and therefore 
     60this stage shouldn't take too long. 
     61 
     62However, if for some reason an index is found to be older than the 
     63directory where it is stored, YAM will assume that something has changed 
     64in the folder without being written back to the index, so it will promptly 
     65delete the current index and rescan the whole folder to create a new one, 
     66which can indeed take a long time. 
     67 
     68Possible reasons for an index not to be in sync with the directory are: 
     69 
     70     - Faulty or inexistant battery backed up clock, causing impredictable 
     71       results especially if you are not aware of the problem or simply 
     72       forget to set the system time manually. 
     73 
     74     - A faulty filesystem, not updating a directory datestamp whenever 
     75       its contents change. 
     76 
     77 
     78== Using Mailing list support settings properly == 
     79 
     80YAM offers a set of settings meant to support mailing lists that 
     81do not set the "Reply-To:" field correctly or require some sort of 
     82special handling.  As of V2.4, the default signature selection is 
     83also part of these settings. 
     84 
     85First and foremost, enter the mailing list address as a pattern in 
     86the '''To: pattern''' field, e.g. "#?mylist@example.net#?" (without the quotes, 
     87of course).  This way, these settings will be used whenever you start 
     88a new message or reply to an already existing message while this is 
     89the current folder. 
     90 
     91Let's see a few examples that demonstrate how you can use these 
     92settings to your advantage. 
     93 
     94 
     95   a. I want to use an alternate signature when posting to a certain mailing list. 
     96 
     97   Just select the desired signature using the bottom gadget.  New messages 
     98   started while this is the current folder will always use this signature, 
     99   even if signatures are disabled in [[Configuration#Signature| Configuration/Signature ]]. 
     100 
     101   For replies to use this signature no matter which folder is currently 
     102   selected, you need to fill the next gadget with the address to the 
     103   mailing list. 
     104 
     105 
     106   b. The mailing list server does not set a "Reply-To:" address and thus my replies end up being sent to the original sender. 
     107 
     108   Just enter the mailing list address in the '''To: address''' field.  This way 
     109   all the replies will be sent here by default, no matter which folder 
     110   is actually selected; a private reply can still be forced with 
     111   <Shift> + [Reply]. 
     112 
     113   New messages started while this is the current folder will also be sent 
     114   here by default. 
     115 
     116   Please note that the stock phrases used in these messages are taken from 
     117   [[Configuration#ReplyForward| Configuration/Reply/Mailing list reply phrase ]]. 
     118 
     119 
     120   c. I need to email additional recipients when posting to a certain mailing list. 
     121 
     122   Just add them to the contents of the '''To: address''' field, and all of them 
     123   will be put in the "To:" address of your message as well.  This way 
     124   it is very easy to keep other people up to date on something, as it 
     125   is sometimes needed when posting to certain development-orientated 
     126   mailing lists. 
     127 
     128 
     129   d. I want to use a specific "From:" and/or "Reply-To:" address when posting to a certain mailing list. 
     130 
     131   Just enter those addresses in the '''From: address''' and '''Reply-To: address''' 
     132   fields, respectively.  These addresses will be used automatically on 
     133   replies to messages where the "To:" address matches the '''To: pattern''', 
     134   and in new messages started while this is the current folder. 
     135 
     136   Please note that only one address can be entered into these fields. 
     137   Also, some mail servers refuse to transmit messages apparently not 
     138   originating from within their own domain. 
     139 
     140 
     141== Setting Daylight Savings time properly (AutoDST) == 
     142 
     143Amiga systems are lacking one important feature concerning the 
     144timezone handling - there is no method in Locale to indicate that a 
     145system is currently operating within daylight saving time. It also lacks 
     146the possibility to automatically detect the change from/to daylight saving. 
     147This could lead to problems if you send emails while your timezone 
     148settings are incorrect just because you forgot to set the DST settings 
     149correct. 
     150 
     151As this is a common problem on AmigaOS systems, there are also some, 
     152more or less, good third party solutions for automatic DST setting/switching. 
     153YAM currently supports 4 methods to indicate if your system operates in 
     154DST mode or not. While starting, YAM tries to find several environment 
     155variables which are normally generated/modified by such AutoDST tools: 
     156 
     157   1. SetDST (ENV:TZONE) 
     158      [http://www.sfxsoft.de/de/setdst.html] 
     159 
     160   2. FACTS (ENV:FACTS/DST) 
     161      [http://www.unsatisfactory.freeserve.co.uk/facts/] 
     162 
     163   3. SummerTimeGuard (ENV:SUMMERTIME) 
     164      [http://us.aminet.net/pub/aminet/utils/time/sguard.lha] 
     165 
     166   4. ENV:IXGMTOFFSET 
     167      ixemul specific gmtoffset variable that is used/modified by the ixtimezone tools of the geekgadgets package. 
     168 
     169If YAM was able to find one of these four environment variables, it 
     170will automatically adjust the Daylight Savings setting of the configuration 
     171and disable the possibility to switch DST manually within YAM. Please note 
     172that if such a AutoDST variant was found, YAM will also watch this variable 
     173for any change, so that as soon as a AutoDST tool changes the DST settings, 
     174YAM`s DST setting gets refresh accordingly. 
     175 
     176So if you want to get rid of all this manual DST back/forward switching 
     177each year, simply install one of the above (or similar) AutoDST system and 
     178you should never have to worry about all that timezone mess.