Answers (or research into) my questions

Can't get to Apache Web Server | Alarm Clock | a program Requested Info from external source | NTP for WinXP | google start page | Ghost 2003 USB | Calendar Reform 1752 | embed user/pass in URL | Screen Saver stopped | Change WiFi Security | DOS pwd | DOS utilities | tftp config | Guile (Gnu Scheme) | http and ssh to Cisco router | Python tricks | Javascript for Internet Explorer | Ethereal | Old Phones | Drop-Down Auto-Fill window in Google | Editor config | HTML links in table cells | OpenGL and 3D graphics | Cygwin produces undeleteable files | Cprogramming.com/tutorial/templates.html tutorials just print One page | KWIC | Lilo boot error recovery | Java runtime error solutions | SSI on Apache, IIS | Perl on Apache, IIS | Windows Services | Microsoft Word | Javascript and Firefox | Fix "missing .DLL" problems with SFC (system file checker) | Install PHP on Windows XP Home | Install TGF using scp, configuration | Windows and network neighborhood shortcut | Cygwin and Landon Curt Noll's calc | Cygwin and sed | Cygwin environmental Variable and emacs | Netscape was unable to create a network socket connection. (where is) Windows Welcome Music | Send msgs to other Windows users | Diacritical marks - Windows platform | Gawk functions | "Webcast Training" has 357,000 Google hits! | Microsoft Visual Studio C2660 error on old sdiv.c program | Configure GRUB for dual booting | What's my laptop telling other computers on the network & and what ports are open? | How display webpage icon in browser windows? | sc | register file extensions .py, .tcl, .pl so file of this ext will execute | Microsoft Word macro to swap char | Microsoft Word list all shortcut keys | Fixing mysterious errors in Microsoft Word documents | Magnets from disk drives, other sources | Bookmarklets - href: to embedded javascript for limited interactive apps | Improve Performace of Windows Operating Systems... | Table of Contents in Word Documnets | Styles in Word Documents | Pagerefs in Word Documents | Address Book in Mozilla | Change Windows Explorer Display options globally | Web Hosting on DSL | Windows XP batch files build CLASSPATH var | Turn on enablePlainTextPassword from DOS using WSH (jscript) | Turn on enablePlainTextPassword using Windows XP Local Security Policy settings | Set IP address from DOS using netsh command | Words I've had to look up recently | base href HTML usage | XML Schemaa usage | Adjust file order in editor open-file chooser

Workgroup Access to Scheduled Tasks!

Viewing Network Neighborhood, View workgroup computers, see Kerrs workgroup with D. Kerr's Notebook. Dbl Click on D. Kerr's notebook, see shared resources
which includes Scheduled Tasks.
Click on Scheduled tasks, see "Add Scheduled Task" - and - "Norton AntiVirus - Run Full System Scan - Owner"
Click on "Norton AntiVirus - Run Full System Scan - Owner", can change the frequency and the program run; infact program chooser has browser that lets you specify (and see) and file on the computer - at least it's name. LOTS OF Potential for mischief!!

Add Scheduled Task starts a wizard which offers a browser to any programs on the computer you'd like to schedule!

Turned off File and Printer Sharing in Network Protocols on "Local Area Connection" network interface.

Fix Access to Web Server

Somehow Norton Protection Center got to be blocking Apache. (At same time, c:\Windows\System32\drivers\etc\hosts became the large on on linwood...)
The Norton Anti-Virus part of NPC shows Status, Scans, Reports. Click on the Options tab at top. Select Anti-Virus. Click on the Internet Worm Protection item, them click on Program Control. See the list of rules. There were two Apache rules and the first one said Block All. Changed it to say permit local TCP port 80, local UDP 80, remote TCP 443, remote UCP 443. Second Apache rule was Permit All. Changed this to Block all. Now can get the Web Server.
Spent some time misled by the web cache of http://dkgateway, thinking it worked for the computer name but not for 192.168.1.103...
Somehow, even before changing Internet Worm Protection, Apache did seem to work for 127.0.0.1...

Schedule sound files: Alarm Clock

To get Windows XP to serve as Alarm Clock: start a sound pgm like Windows Media Player or iTunes to play a sound file (say mp3 or midi), at a specified time
Go to Control Panel, Schedule Tasks, Add Scheduled Task, select an application - OR - browse to identify file - this can be any sound file! will use Windows extension association to pick pgm. Select "One time only", Set time and date, accept username/password, click Advanced Properties - click "Run only if logged on".

Alternative: use cmd line program "at" - see Microsoft Documentation: at cmd
e.g. in Dos window, navigate to directory with Bach.mid
at 10:47 Bach.mid - no, this doesn't work...
at 10:47 cmd /c Bach.mid - this doesn't work either...
the at cmd seems to start in c:\windows\system32 so the sound file must be on the path to get resolved.
at 11:08 /interactive cmd.exe /k just starts cmd.exe window but lets you inspect the running environment. File associations not active! changing dir to c:\Documents and Settings\Owner\My Documents\My Downloads\mediaPlayerClassic and entering "Bach.mid" which is in this directory, does nothing! But mplayerc.exe Bach.mid works.
tried at 12:46 c:\Documents and Settings\Owner\My Documents\My Downloads\mediaPlayerClassic\mplayerc.exe Bach.mid - didn't work either.

look into Schtasks.exe per p. 70 _Windows Command-Line_ by William R. Stanek; may be a XP Pro command...

Almost related: display nice-looking clock on web page:

a program Requested Info from external source

12-8-2007 a presistent pop-up window saying

You (or a program) have requested information from [fxfeeds.mozilla.org | talkx.l.google.com | talk.google.com] which connection do you want to use?
Connections
   Cotelsa PPTP
   ILI
Also, direct ethernet wire connection getting funny IP address 192.168.0.1 (from where? linksys DHCP giving out 50 address starting with 192.168.1.100)

from google search on fxfeeds.mozilla.org, got advice that firefox news (RSS feeds) is making the request - right-clicked and deleted per advice, right on browser link-bar.

Also (12-10-2007)
uninstalled Cisco VPN (no effect),
in Network Connections, noticed wireless connection shared. Disabled 1394 Connection and in wireless properties, unselected VMWare Bridging. got flurry of pop-up window requests!
in Wireless Properties, Advanced, turned off Internet Connection Sharing (how did it get turned on?)
there appeared a new Icon in Network Connections, a generic "Internet Connections (disabled)" icon. under settings saw a long (~12) services including BitComet, MsnMsgr, Purple_UPNP_Port_forward, Skype. deleted all of them.

Still getting pop-ups!!
But direct ethernet wire connection now getting proper IP address - 192.168.1.108

later, uninstalled GoogleTalk

NTP for WinXP

pdf from nist.gov on setting XP Home clock to time-b.nist.gov pointed to by obsolete sourceforge project "net time" which says you can download a full-featured ntp client from microsoft, but you don't even have to do that for WinXP Home...
click to reset date/time in bottom far right hand corner (in notification area), click tab Internet Time. The two choices are time.windows.com and time.nist.gov - but neither work! But time-b.nist.gov does work. Current challenge is to change the update frequency which seems to be set to a week...
list of NIST time servers

google start page

http://www.google.com began being "redirected" to http://www.google.com/ig?hl=en which takes a little longer to come up.
to restore per webmasterworld.com:

You must have clicked that iGoogle link during a session. And then came back under the same session and got redirected to iGoogle. If you look up in the right hand corner, you should see a link that reads "Classic Home". That will put your session back to the regular Google.

ghost 2003 USB

got a USB driver that works with Ghost 2003 from radified.com

Ghosting laptop to USB external drive seems to hang with
"Adding MFT Table file to image"

per http://ghost.radified.com/external_drive.htm,
Ghost 2003 has no problem working with NTFS drives, except in the case reported by Mike Watts, where he writes to say>>>:

Even though Ghost 2003 supports both NTFS and external USB drives, it cannot do so at the same time. The DOS driver that finds and mounts the external drive cannot read NTFS, even though once you get into Ghost, you *can* see NTFS drives. Therefore, if you plan to create Ghost images that involve external USB hard drives, they should be formatted as FAT32.

I get same message, "Adding MFT Table file to image", when I use NTFSboot diskette as basis (FreeDOS with USB drivers - the same as radified.com uses!) to run Ghost 2003

Calendar Reform 1752

in cygwin, try cal 1752.
per adsb.co.uk,

It is widely known that in September 1752, Great Britain switched from the Julian Calendar to the Gregorian Calendar. In order to achieve the change, 11 days were 'omitted' from the calendar - i.e. the day after 2 September 1752 was 14 September 1752.

This change was as a result of an Act of Parliament - the "Calendar Act" of 1751 An Act for Regulating the Commencement of the Year; and for Correcting the Calendar now in Use.

What isn't so widely known is a second change which the Act introduced - as named in the first part of the Act's title. The Act changed the first day of the year (or, if you want to impress your friends with a new word, the Supputation of the Year).

Prior to 1752 in England, the year began on 25 March (Lady Day). Lady Day is one of the Quarter Days, which are still used in legal circles. The Quarter Days divide the year in quarters (hence the name :-), and the Quarter Days are: Lady Day (25 March), Midsummers Day (24 June), Michaelmas Day (29 September), and Christmas Day (25 December).

So, in England, the day after 24 March 1642 was 25 March 1643. The Act changed this, so that the day after 31 December 1751 was 1 January 1752. As a consequence, 1751 was a short year - it ran only from 25 March to 31 December. To throw some more confusion on the issue, Scotland had changed the first day of the year to 1 January in 1600 (in 1600, Scotland was a separate kingdom). When King James VI of Scotland became also King James I of England in 1603, the possibilities of date confusion must have been very large.

embed username, password in URL

Grabbing a file from networked Tivo via auth HTTPS with PHP, perl, or cron?
https://<login>:<pass>@<tivo-ip>/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes
other suggestions:
curl -O -u login:pass https:///TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes
a per script:

#!/usr/bin/perl
print (system("curl -O -u login:pass https:///TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes"));

PHP approach:
curl_setopt($ch, CURLOPT_USERPWD, $passwd_string); in PHP where $passwd_string = "tivo:$mak"; and that didn't work.
I think what you want is curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY)
...Secondly, try changing CURLAUTH_ANY to CURLAUTH_DIGEST. Then Curl will know in advance which kind to use.
Thanks! It works, all CURLAUTH_DIGEST fixed it.

Screen Saver stopped

My laptop screen saver never starts up. Problem turned out
to be wireless mouse (USB) interfers with screen saver - I guess
it appears to be a continuously active application! Pulling out
USB plug for the mouse and screen saver starts up as before!

Change WiFi Security

how change security from WPA2 to WEP in wireless client on PC:
view properties of wireless device in Network Connections window
select tab: Wireless Networks
with correct wireless signal highlighted in vertical "Preferred Networks" window, select properties.

Note: WPA is preferred to WEP

DOS pwd

how set an environmental variable to the current directory?
set tccdir=%cd%

DOS utilities, W98SE CD

Building a DOS Boot CD (ThinkPad 600 memory doesn't support Ultimate Boot CD 4 Win) using Bart's Way to create bootable CD-Roms (for Windows/Dos)

looking for dos utilities to put into cds/cdromsi/files/, looked thru .cab files on W98SE CD - winzip just opens them for file selection and extraction! Found directory tools/oldmsdos with qbasic.exe, qbasic.hlp! also got extract.exe, doskey.com. The Win98 directory has mostly .cab files. Base5.cab has extract.exe also, and fdisk.exe. WIN98_25.cab has more.com, edit.com, sys.com
[WIN98_69.cab has chart.vbs, excel.vbs, network.vbs, registry.vbs, shortcut.vbs, showvar.vbs] WIN98_45.cab has debug.exe

tftp and managing Cisco configs

Solar Wind on Windows: point and click install. default root is c:\tftproot
from router, copy run tftp, provide ip address of tftp server machine.
unresolved problem - can't get a config file back from Solar Wind tftp server!
command would be copy tftp run.
Solution! Solar Wind TFTP server is configured for "receive only" by default. File → Configure → Security, click on "Transmit and Receive files" radio button...

Cutting and pasting to rxvt window (thru which logged into router, config t env) use Unix style paste: middle button!

tftpd on Linux is already a service, just turn it on. default root is /tftpboot
IMPORTANT: chmod 777 /tftpboot
backing up a config to this tftp server seems to require that the filename already be found in the /tftpboot directory! touch rcsr-confg works.
IMPORTANT: chmod 777 /tftpboot/rcsr-confg

network services in Linux: /etc/rc.d/init.d/ directory has xinetd program (and component service programs). It may me advisable to restart all network services with the command xinetd restart
/etc/xinetd.d/tftp defines whether the tftp service is disabled, where the default root dir is, etc.

Guile (Gnu Scheme)

guile in cygwin: 'info guile' has complete manual.
'guile' by itself invokes interactive environment.
(load 'fact.scm')
(factorial 40)
(exit)

http and ssh to Cisco router

http: pointing a browser at the Cisco 3560 IP address pops up window requiring username (level 15) and password.
the configuration DOES have a username defined (see ssh below)
but not apparently a level 15 one. Level 15 is required to get to enable mode.
solution add another username, one with level 15 privileges:
username dkerr privilege 15 password 0 easytorememberpasswd
(password 0 says no encryption; elsewhere, the config says
"service password-encryption" but this just seems to force simple (7) encryption...

ssh: with configuration defining
username act350 password 7 00061C030D550C041D2E5B40
and
ip address 172.26.248.253 255.255.255.0
and
line vty 0 4
password 7 110B16001E01C0C0E16253C2A
login local
transport input ssh

ssh -lact350 172.26.248.253
provide enable password

ip cef: Cisco Express Forwarding, or Fastswitching. Lets the router "switch" traffic if it can rather than "route" all of it.

Python tricks

for i in range(8):    #  0 1 2 3 4 5 6 7
   if i in (2,6,4,1):
	   print i

prints 1 2 4 6 (in a column)

MySQL

Installed MySQL 5.0 and MySQLAdmin. started MySQLAdmin, it asked for Stored Connection (left blank), Server Host (localhost), Port (3306) Username (Owner), Password (left blank) and it connected!

Under User Administration, put user "root" password to dogyr.

Under Catalogs (lists databases and has Table Editor!), right clicked on the "test" database, selected "Create New Schema" to create a new Database! (called the new database "dk_addresses".

Trouble with Home FTP server

Running Filezilla server on home pc, accessing it from FAA over Internet via Linksys router passing through ports 21 and 20 to home computer, get message:

521 PASV 88.241.12.8 mismatch 192.168.2.112

the last IP is the internal IP address of the home computer !! Somehow, got out of the box...
the 88.241.12.8 is a mystery; it's NOT the external IP address of the Linksys router...

Web server on same box works fine remotely! (apache) from FAA. So same IP route with NAT on Linksys works for HTTP, fails for FTP...

Javascript for Internet Explorer

Many limitations compared with Mozilla Firefox, so Internet Explorer becomes a conservative target platform...
IE doesn't understand the color "grey", so use "gray"
IE doesn't find id="tagname" in <span> containers, but does find them in table <td> containers.
IE uses innerText instead of textContent to access DOM entities.

How do you print an Ethereal capture report?

Print to file; Check Output to file, supply filename; unselect Packet details but leave selected Packet summary line...

How do you connect an old analog phone to the modular (RJ-11) jack phone world?

Suttle has retrofit plug, found by googling "old telephone adapter", finding
TelephoneTribute.com - parts_sources.

Also see my notes on telephones

Where is Google drop-down auto-fill data kept?

Many users note that when you click on the empty search specification window in google, you get a sometimes-long list of all the search strings you've ever entered into google. These users typically ask "How to delete this list"... This isn't hard or even complicated - in Firefox, Tools → Options → Privacy → Saved Form Information. Either click the "Clear" button or uncheck the box "Save information I enter into web page forms and the Search bar"

BTW, unchecking this box makes the drop-down feature go away but if you recheck the box, the old material comes back!

But I want to know Where is the info stored??
It in the file formhistory.dat way down in the directory
Documents and Settings\david\Application Data\Mozilla\Firefox\Profiles\xxx.default\
but the data is in a peculiar format!
starting in the sixth line is <(80=q$00)(81=
and then a searched item appears, painfully stretched out with $00 seperators between each character! Not designed for easy perusal! - but maybe this format accomodates unicode?
The first 4 lines contain a key table: (80= is formhistory:all, (81= is formhistory, (82= is Value, (83= is Name.
it may be that (80=q is for queries in google search window. There's many other form entries, e.g. (80=emailAddress (each letter seperated by "$00")

Delete an entry in the drop-down list by selecting, pressing Shift-Delete

Related plugins: Roboform (free and pro versions) and Autoform (in rewrite)

Editors

Notepad++ v3.1 released 7/14/2005, has header footer printing!

Ultraedit DOES have color printing of syntax highlighting, you just have to turn it on! (File → Print Setup/Configuration → Page Setup
check "Print Sytnax Highlighting"

Ultraedit doesn't do CSS syntax highlighting, but this can be added. In the Ultraedit install directory, there is a file, wordfile.txt, that defines how 9 or 10 programming language tokens are highlighted. Mark Stevens has "ultraedit_css.txt" defining CSS syntax highlighting - cut and paste to wordfile.txt. Download ultraedit_css.txt here.

Configuration of Ultraedit: somehow, I changed Ultraedit so that the file tabs disappeared! To restore: View → Views/Lists → Open File Tabs
Discovered that Ctrl-u toggles File Tree View!

HTML links in table cells

When the table cell is taller than the link text, and you want the a:hover attribute to make the whole cell clickable, not just the text, what do you do?

The Problem:
hover-yellow
link text high...

DK Home some text
stacked up
to make
cells taller

Partial Solution:
"DK Home" line-height:4em;
but lost yellow!

DK Home
some text
stacked up
to make
cells taller

a {display:block;}
got yellow! most of cell!
"DK Home" line-height:4em;

DK Home
some text
stacked up
to make
cells taller

added TD Padding: 0;
to get more of cell
only tiny improvement

DK Home
some text
stacked up
to make
cells taller

onMouseover
no hover-yellow
no a {display:block;}

DK Home
some text
stacked up
to make
cells taller

onMouseover FUN: use javascript function, itself interesting, to chg bgColor
no hover-yellow
no a {display:block;}

DK Home
some text
stacked up
to make
cells taller

 

OpenGL and 3D graphics

3D graphics used in game development, Project Magneta Flight Simulation Instrumentation, FlightSim, GLStudio. Major site is www.openGL.org

Java3D development suspended by Sun when hardware graphics boards (nVidia, ATI) got so good that Sun proprietary hardware couldn't compete; in cost cutting, Java3d developers got reassigned and an alternative Java OpenGL (jogl) approach rose in prominence. Sun Forum: Goodbye Java3D?. Also, see www.j3d.org, and www.j3d.org, and especially, jogl.dev.java.net.
Project LookingGlass (presented at JavaOne 2005, June 25 - 30, San Francisco, CA is a (JOGL based) 3D desktop environment. Version 0.7 is available...

Google on "OpenGL getting started" points to OpenGL Getting Started FAQ at www.opengl.org along with 154,000 other hits... Highlights at this site are 3 Tutorial websites. Perhaps many game developers work with C/C++; OpenGL operates in many other environment (java, python, perl, Visual C++, Visual Studio .NET).

Almost Related! Java Graphics Scripting Language (jgsl) version 1.0 is out!

Also almost related: nVidia Cg_Toolkit is a high-level graphics language, perhaps just for nVidia graphics boards?, that has OpenGL interface... available for free download is Version 1.4 of the NVIDIA Cg Toolkit (June 2005).

Cygwin produces undeleteable files

Try CACLS, a dos utility for changing Access Control Lists.

This from discuss.joelonsoftware.com:

I encountered the "undeletable folder" problem earlier this evening, too, but I found a way to work around it, at least on Windows 2000.

The problem comes from the access controls on the shortcuts, which can be fixed by resetting their ownership and permissions; this will allow you to delete the files.

You can do this the in the Access Control Settings dialog. (Open the Properties for the CYGWIN folder, select the Security tab, then click the Advanced... button.) On the Permissions tab, give yourself Full Control and check the "Reset permissions on all child objects" box and, on the Owner tab, set yourself as the Owner and check the "Replace owner on subcontainers and objects" box. Click OK; several alert boxes will prompt you to confirm your actions.

from MyBlueMatrix.com:
It's more detailed but same suggestion; I did this and It Worked!

Delete - Permission Denied When Trying to Delete Folders/Files
All you need to do is change the ownership of the file....and then delete the file in a usual way...
HOW TO: Take Ownership of a File or Folder in Windows XP


How to Take Ownership of a Folder

NOTE: You must be logged on to the computer using an account that has administrative privileges. If you are running Windows XP Home Edition, in order to have access to the Security tab, you must first start in Safe Mode and log on with an account that has Administrative rights.

If you are using Windows XP Professional, you must disable Simple File Sharing. By default, Windows XP Professional uses Simple File sharing when not joined to a domain. For additional information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base: 307874 How to disable simplified sharing and set permissions on a shared folder in Windows XP
To take ownership of a folder:
  1. Right-click the folder you want to take ownership of, and then click Properties.
  2. Click the Security tab, and then click OK on the Security message (if one appears).
  3. Click Advanced, and then click the Owner tab.
  4. In the Name list, click your user name, Administrator if you are logged in as Administrator, or click the Administrators group. If you want to take ownership of the contents of that folder, click to select the Replace owner on subcontainers and objects check box.
  5. Click OK. The following message appears, where folder name is the name of the folder that you want to take ownership of: You do not have permission to read the contents of directory folder name. Do you want to replace the directory permissions with permissions granting you Full Control?

    All permissions will be replaced if you press Yes.
    Click Yes.
  6. Click OK, and then reapply the permissions and security settings that you want for the folder and its contents.
=============

hardwareanalysis.com suggests:

Re: Files I can't delete!

check out this site-http://www.bootdisk.com/
scroll down until you find the section that covers "undeletable" files-there are several options available
and one of them may work for you

asus a7n8x-e
2500 barton(11x200)
ati 9800 pro
1gb hynix pc3200

Delete Undeletable Files per computerprivacypro.com

Discovered that there is a Free Microsoft "Services for Unix" 3.5 that is cygwin-like without X-windows but better? integrated with Windows environment. Unix.com forum discusses SFU 3.5 vs cygwin vs UWIN from AT&T.
InteropSystems.com has Unix tools for SFU 3.5.

Cprogramming.com/tutorial/templates.html tutorials just print One page

...Cutting off the rest of the tutorial. Copied html source, cut and trimmed until I found the problem: in the style.css,

table.main {
... 
position:absolute; 
top:75; 
left:0;
...
}
took out the position:absolute, top, left - and all pages of tutorial printed!

KWIC

KWIC (Key Word In Context) is program that automates index creation for text documents. Implemented in several languages (I found an AWK one), there is a cygwin utilitiy ptx that (written in Fortran?) does it! ptx is permuted text indeX.

Lilo boot error recovery

My laptop was running without wall-plug power; when the battery went out, it gracefully went into hibernation and shut off. And came up nicely from hibernation on powerup! But the next time it was powered up, Lilo died immediately with L 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A for 10 lines. Lilo error code for missing second loader signature - which might be boot.b? anyway, knowing this didn't help in solving the problem!

Using cluster Knoppix CD (3.6), I booted from CD, just hitting return at boot: prompt. Following instructions from troubleshooters.com/linux/knoppix, I hit Ctrl+Alt+F2 to get to a root prompt,
mount /dev/hda6 /mnt/hda6 (where Quantian linux lives),
chroot /mnt/hda6 (changes root to the hard drive root),
edited /etc/lilo.conf which for some reason? didn't have WindowsXP as default(!?) no problem saving the file!,
lilo,
umount /dev/hda6,
exit (returns to Knoppix cd prompt, and probably completes all actions in chroot env),
rebooted, and problem solved!

Java runtime error solutions

C:\cygwin\home\Owner\myjava\java>java Primes.class
Exception in thread "main" java.lang.NoClassDefFoundError: Primes/class

Solution: don't include .class in pgm name!
java Primes
works...

On Linwood:
C:\Documents and Settings\David Kerr\My Documents\graphics\openGL\jogl\tutorial>
java HelloWorldWindow
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldWindow

Mindprod.com on CLASSPATH

SSI on Apache, IIS

SSI is enabled on IIS by default! put or other SSI directive in a .shtml file...

to enable SSI in Apache, need to add 3 directives to httpd.conf:
Options +Includes
AddHandler server-parsed .shtml
AddType text/html .shtml

To make index.shtml file the first one in a directory reference instead of index.html, modify the DirectoryIndex directive in httpd.conf:
DirectoryIndex index.shtml index.html index.html.var /cgi-bin/index.pl
(the last item, /cgi-bin/index.pl, means if a directory has none of the preceeding files, use the main .pl one).

You can make default.shtml be the first file looked for in IIS:
Control Panel → Administrative Tools → Internet Infromation Services → expand NAME (local computer), right click on Web Sites → Properties. Goto Documents Tab, click Add button, add file name like default.shtml, move it to the top of the list with left side gadget. Click Apply. In the Inheritance Overrides Window, highlight "Default Web Site" (or just click Select All button), click OK. Click OK. Right Click on NAME (local computer), select All Tasks → restart IIS.

Using SSI: lots of help via google on "server side include apache"; when you view source on a page, the SSI directives are replaced with an empty line! I guess that makes sense: the server sends out the generated page...

Perl on Apache, IIS

download and install ActiveState Perl. To get mod_perl on apache, follow directions from perl.apache.org:
download mpinstall script, execute script with "perl mpinstall" which contacts http://theoryx5.uwinnipeg.ca/ppms/ca/ppms/mod_perl.ppd (I think), and puts the pieces in the right places. Modify Apache2/conf/httpd.conf, adding LoadFile and LoadModule directives per Configuring mod_perl 2.0 for Win32.

For IIS web server, when you install ActiveState Perl, the 3rd and 4th options are selected by default that adds mod_perl (isapi) to IIS, automatically!!

On Apache webserver, perl script files (.pl) are in cgi-bin and must begin with #!c:\perl\bin\Perl.exe on the first line.

on IIS, the initial #!c:\perl\bin\Perl.exe is unnecessary...

Windows Services

services.msc is quick way to display services window. There, you can export the list of running services (by Display Name) to a file: Actions → Export List
another command-line way to list services: sc query > svc_list.txt

To display just the running services, enter at the command line,
net start
you can also net stop svc_name.

may be a way to change service status to manual or disabled via cmd line. maybe with sc command?

Microsoft Word

Javascript and Firefox

Trying to do drop and drag with javascript, found examples that display mouse coords in status bar but the examples don't work in Firefox (they do in Mozilla!).
ANS: Firefox disables by default "whether the text in the browser status bar may be set by non-chrome Javascript"
can be changed via "Tools → Options → Web Features → Enable Javascript / Advanced → Allow scripts to change status bar text"
the dom.disable_window_status_change boolean variable documentation has the above info, see
Mozillazine.org/About:config_Entries

Fix "missing .DLL" problems with SFC

SFC is "system file checker", a dos pgm in Win XP:
sfc /scannow
restores system .DLLs
it may require the Windows CD for sfc to access...
[found this by googling "restore missing dll", on www.experts-exchange.com]

Install PHP on Windows XP Home

Install Apache Web Server (Tomcat won't do).

download, install PHP (i'm using 4.3.10)

in addition to suggested changes to httpd.conf,
(add LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
)
Copy your file /php/php4ts.dll to your /windows/system or /windows/system32 folder.

3-2-2005: Actually, the recommended alternative to putting php4ts.dll in to /windows/system32 is to add c:\php to PATH
BUT THIS DOESN'T SEEM TO WORK, IN FACT W/OUT php4ts.dll in System32, Apache doesn't serve anything!!

More stuff about php: typically compiled in SAFE_MODE, which means only .php files in the doc_root specified in php.ini get operated on by php. maybe can extend this using include_path specification? No.

php gets served in /htdocs and /htdocs/html/ - AND this is also true with IIS: \inetpub\wwwroot\ and \inetpub\wwwroot\html !

Install TGF using scp, configuration

on linwood, su -
cd /
mkdir tgf
cd tgf
scp -r david@172.26.248.90:/tgf/* .
cd /
mkdir recording
chmod 777 recording
Turn Off Firewall (otherwise, it stops communication btwn TGF and XPVD)
to run tgf: /opt/jdk1.5.0/bin/java -jar /tgf/lib/tgf2004-12-16-T0194.jar -p /tgf/properties/eco4.properties
to facilitate this, create tgf.sh in /usr/local/bin (which is usually in everyone's path)
and put in the above line.
in /usr/local/bin, create a symbolic link to the .sh file
ln -s /usr/local/bin/tgf.sh tgf
chmod +x tgf.sh
then everyone can start TGF by typing tgf at any commnad line.

to get xpvd working, need to now that DIS is a communications protocol, superceded by HLA, that uses an offset from 3200. The main TGF windows "Exercise Control Operator", has the offset from the properties file. 42 on linwood. After you start xpvd using the button next to "Send Sim Report" that appears after you press LOAD, under DIS menu/button, Disconnect, Specify (click on button 42, Dismiss), Connect. The clock in the upper right hand corner should now start changing and be the same as the simulation clock.

If the xpvd clock stays at 24:00:00, make sure you started the simulation, make sure the Sim Host address is the same as the computer you're running on, make sure offset is the same between TGF and XPVD, and that the firewall isn't blocking the traffic on the port (3200 + offset).

Windows and network neighborhood shortcut

in Start, Run Programs window, enter \\SATCO
get to directories on satco as tho openning network neighborhood, in one step. (Probably have to have NetBios protocol enabled on network interface...)
can also open web pages! e.g. //www.google.com from Run Programs window!
NOTE: backslashes get resolved witn WINS nameserver, forward slashes get resolved with DNS...

Cygwin and Landon Curt Noll's calc

download calc, tar zxvf calc-2.11.10.1.tar.gz (this creates it's own directory, calc-2.11.10.1),
cd to that directory, make, make install
calc.exe stays in the calc-2.11.10.1 directory; make install adds help files, man pages, examples.

NEW: "make" produces calc.exe
but "make install" tries to copy calc to /usr/bin/calc.new, and there isn't any calc (just calc.exe)! Maybe, before you do "make install", mv calc.exe calc, OR, do the "cp calc.exe /usr/bin", etc., manually. (I captured the "make install" to a file via "make -n install > mk_install" to study what "make install" was trying to do...)

Cygwin and sed

sed is Stream Editor
sed s/p5/p1/ p5.mak > p1.mak
creates p1.mak which is like p5.mak with all p5 changed to p1

Cygwin environmental Variable and emacs

default setting for cygwin env var is ntsec but not tty. setting it to tty fixes emacs ^x^c. Still a problem: how to get set-mark-commnad to work; normally bound to ^-SPC - in fact key-bindings in emacs claims it is! no setting of cygwin variable seems to let it work. did find helpful .emacs fix to backspace key giving help instead of deleting previous char: define C-h as backward-delete-char as in
(define-key global-map "\C-h" 'backward-delete-char)
then to get help, you have to M-x help...

(global-set-key "\e " 'set-mark-command) ;; ESC-SPC does set-mark-command like in MicroEmacs.

Netscape was unable to create a network socket connection.

There may be insufficient system resources or the network may be down.

This message on Gandalf running Windows 2000 led me to test the network card: booting up to Redhat Linux, it works fine!

Tried uninstalling Networking Services, IIS. (There wasn't the usual Communications services that covers TCP/IP, telephony...!)

This didn't fix the problem.

Tried removing TCP/IP protocol from both Connector 2 (NE 2000) and Connector 3 (3Com XL 3C905) and rebooting the computer (it complained that Power Meter wasn't responding...)

added TCP/IP protocol back to Connector 3, along with static IP address.

This didn't fix the problem.

Netscape says:
The most common reason for the "Netscape was unable to create a network socket connection" error message is that the dialer you are using is 16 bit (for Windows 3.1) but the version of Navigator or Communicator that you have is 32 bit (for Windows 95). This is common if you are using an older version of Navigator, AOL, or other 3rd party dialers. Created: 09/14/1998 Version: Navigator/Communicator Last Updated: 06/13/2001 OS: Windows 95 and 98

from speedguide, someone complains he can ping but not connect - which is a restatement of the above problem...

CAUSE This behavior can occur in any of the following circumstances:
Internet Explorer connection settings are incorrect
An incorrect entry exists in a Hosts file
The Winsock.dll, Wsock32.dll, or Wsock.vxd file is missing or damaged
There are multiple copies of the Winsock.dll, Wsock32.dll, or Wsock.vxd file, or one of these files is in the wrong folder.
Transmission Control Protocol/Internet Protocol (TCP/IP) is not installed or is not functioning correctly.
The WinSock2 registry key is damaged.
The Internet Connection Sharing (ICS) installation is damaged or is not functioning.
The Rnr20.dll file is missing or damaged or the "Library Path" value in the following registry key is missing or contains the wrong location:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\WinSock2\Paramete rs\NameSpace_Catalog5\Catalog_Entries\000000000001
If you are using America Online (AOL) or CompuServe, there may be parental control restrictions applied to the account.

Tried renaming winsock.dll to winsockx.dll; modified connector 3 removing TCP/IP (and rebooting), then reinstalling TCP/IP protocol on connector 3. This restored a good copy of winsock.dll to System32 directory but no different than the winsockx.dll. And the problem was not fixed...

Windows Welcome Music

Hey!
Ever wonder where they put all that speaker testing music in windows?
well wonder no more! (windowx xp required)
as my friend described:"modern elevator music but much better"
well here it is:
my computer-c drive(or whatever u call it)- WINDOWS system 32 - oobe - images - title!!!!!
isn't it great? it's been my personal fav for about three weeks... soo relaxing.

Send msgs to other Windows users

net send ip-address "some message"
net send * "to everybody!"

Sept 15th, 2004, Fujitsu in Trinidad, Wednesday afternoon BS470 course...

Diacritical marks - Windows platform, from invisible.8m.com

In Windows XP there is a system accessory called Character Map. Accessed from the Start menu> All programs> Accessories> System tools> Character Map.

Character Map allows you to find the Unicode value of the special character you require. Once you know the four digit Unicode value (see below for information about Unicode) you may enter special characters directly into TitleDriver using this Alt-key entry method:

With the NUM LOCK switched ON,
hold down the Alt key,
enter the unicode value using the number pad keys.

For example, to get a capital O with a diaeresis (™) you would enter
Alt+ 0246
...and the character should appear.

This should work no matter what the default system language of the computer is.

Gawk functions

match(s,r) returns the position in string s of the reg expr r; e.g. x=match($0,/[A-Z]/); x is position of the first upper case letter in $0
x=index($0,s) returns the position of string s in $0
substr(s,i) returns the string beginning at position i in string s
sub(a,b,s) changes string s by replacing a with b, returning number of substitutions
gsub(a,b,s) changes all occurrences of a to b in string s

"Webcast Training" has 357,000 Google hits!

Microsoft Visual Studio C2660 error on old sdiv.c program

/*  sdiv.c                                         8-27-93   D. Kerr
       c = b/a
*/
#include 
#include 
main(int argc, char **argv)
{
   FILE *fp, *fopen();
   ...

C2660 says fopen() has wrong number of arguments. In cygwin, the program compiles and runs... turns out the problem is that the declaration of *fopen() seems to work like a prototyping of the function, which in stdio.h Does have two args - that's the way I'm using the function when I open a file...

In Visual Studio, you have to put in the arguments in your prototype, so the fix is to say:

/*  sdiv.c                                         8-27-93   D. Kerr
       c = b/a
*/
#include 
#include 
main(int argc, char **argv)
{
   FILE *fp, *fopen( const char *, const char * );
   ...
BTW, Visual Studio provides the prototype template of functions when you begin to code them!

Configure GRUB for dual booting

GRand Unified Bootloader from scratch: dual booting Linux and W2K or XP; maybe several Linuxes... despite advice to use Microsoft Bootloader, do it all with GRUB. Make sure you have floppy boot diskettes for W2K or XP as well as for at least one Linux. You can always bail out of GRUB trials by booting to DOS via floppy and fdisk /mbr. this overwrites MBR with standard: boot first partition as a Microsoft Operating System. Other partitions are not touched. Maybe best to put the Microsoft partition first?

In RH Linux, run ./install-grub (grub-install?) providing the partition to put it on. I use /dev/hda to put it on MBR of first drive. The grub-install also builds /boot/grub and puts important file in it like stage1, stage2. grub-install writes a copy of grub onto MBR coded to look for grub.conf in the /boot/grub directory of the Linux partition you are running from. (So there's no step where you have to tell grub where to find grub.conf). ((There are MANY command-line flags you can provide grub so there may well be a way to tell grub to look somewhere else, etc.)) Here's a grub.conf that lets me boot W2K, Fedora RH 10.0, and Knoppix 3.3:

#
# DKerr boot menu configuration file
#
# By default, boot the first entry.
default 0
#
# Boot automatically after 10 seconds.
timeout 10
#
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
#
# Fallback to the second entry if 1st doesn't work...
fallback 1
#
title M$_2000
rootnoverify (hd0,0)
chainloader +1
#
#
title Fedora_RedHat_Linux
root (hd0,5)
kernel /boot/vmlinuz ro root=/dev/hda6
initrd /boot/initrd-2.4.22-1.2115.nptl.img
#
#
title Quantian_Knoppix_3.3
root (hd0,6)
kernel /vmlinuz ro root=/dev/hda7
initrd /boot/initrd.gz

What's my laptop telling other computers on the network & and what ports are open?

Ethereal on Linwood catches NBNS packets from vaio about every 10 seconds querying about Hermes
fixed this by going to IP configuration, Advanced, WINS, disable Netbios over IP.

Ports open?

Ultima Port Scanner on Linwood finds these ports open:
portprotocol
19chargen
25smtp
80http
135epmap loc-srv #DCE endpoint resolution
139netbios-ssn nbsession #NETBIOS Session Service
443https MCom
445microsoft-ds
1025 
1026 
5000 
5225maybe HP tomcat http server
5226 
8008 

port 139 absent after turning off netbios over tcp/ip

How display webpage icon in browser windows?

Like with Google- the nice G

Usual suggestion - add

<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
doesn't work. and commercial pages like Google, etc don't use this in their html...
www.smithfam.com says that you don't need to put the link in your html, just name the icon file "favicon.ico" and put it in the same dir as your page. (still doesn't work! maybe the link rel= allows you to rename, etc. the icon file...)
www.favicon.com is supposed to have a Java icon editor...
now, (3-1-2005), www.favicon.com is a commercial service - let them create a favicon for you... but they do have good info and links, e.g. Microsoft howto on ShortcutIcon. This site says the icon HAS TO BE 16x16 for IE, and the LINK REL="SHORTCUT ICON" HREF= device is to use other name or URL, instead of having local "favicon.ico" file automatically found in the root dir. It also says you can create an icon using Icon Editor in Visual Studio! BTW, it also says the icon is retrieved (only?) when the link is saved in the browser favorites list...
google search on "address bar icons" turned up www.clickfire.com/viewpoints/articles/favicons.php

Also discovered www.clickfire.com/viewpoints/reviews/websites/ Reviews of webmaster help sites!

see (html-kit) service generates favicons
(may be same as Chami.com/html-kit favicons)
and nonags freeware favicon editors
per forum on CSS Creator.com, see conware.org has freeware version of IconArt

Great Web Site tools from Google search on "nonags favicon"

Websitegear.com recommends PixelToolbox as one of the best free icon editors.

IconArchive.com has helpful favicon tips: to get an address bar icon to show, hold down the mouse button while holding shift over the default IE icon in the address bar and then let go of the mouse button anytwhere in the address bar. This seems to "update" the favicon. Also, 32x32x256 icons work; the same format used for the desktop or the "Large Icons" View in Windows Explorer!

sc

stumbled upon command-line tool for managing services; sc query status= all dumps everything. infact it looks like the file that microsoft error conditions tries to send to microsoft!

register file extensions .py, .tcl, .pl so file of this ext will execute

Add the file extensions to Environmental Variable "PATHEXT"

Microsoft Word macro to swap char

Tools->Macro->Record New Macro
set macro name to something nice like swapchar
store macro in: either normal.dot (the default) or filename.dot
set description to something nice like "swaps characters on each side of cursor"
click Keyboard icon
Press new shortcut key: Alt S
click Assign
click Close
funny cassette record icon follows curosr, indicates record is on
shift + right arrow (one char is highlighted)
ctrl X (del selected char)
left arrow (move 1 char to the left)
ctrl V (paste deleted character)
click on Stop Recording

Microsoft Word list all shortcut keys

Thanks http://www.oreilly.com/catalog/msoffmamm/chapter/ch02.pdf December 30, 2003 To print out a list of all Word shortcut keys for future reference, choose Tools---> Macro -> Macros. Choose "Word Commands" from the "Macros in" pop-up menu, click ListCommands in the macro list, then click Run. In the dialog box that comes up, click "Current menu and keyboard settings", then click OK. When the dialog box goes away, choose File -> Print.

Fixing mysterious errors in Microsoft Word documents

in TOC of my FAA report on XML encoded ATC Directives, a presistent error message
ERROR! NO FILENAME SPECIFIED IN DOCUMENT REFERENCE ON PAGE 1
turned out to be a {RD} code on page 1 left over from experiments to find out how do make a page reference within a document. To best find such field codes, select toolbar icon that looks like a paragraph symbol, just to the left of the 100% page display magnification spec.

Another important toggle is Alt-F9 which displays field codes.

Magnets from disk drives, other sources

Neodymium Iron Boron (NdFeB) magnets are the most powerful and advanced commercialized permanent magnet today. Known as third generation of Rare Earth magnets, (Neodymium is one of the most plentiful rare earth element), they have triple the energy product of Al-Ni-Co magnets used in the ....
Invented in 1982. Patent is owned by Magnequench International of Anderson, Indiana, which is suing dozens of computer makers for patent infringement. Nd-Fe-B magnets are used for small motors in most computers and many popular electronic products, as well as automotive and industrial applications. E.G., CD and DVD-ROM drive spindle motors and the motors that operate the zoom lenses of camcorders.
Different magnet types: AlNiCo stands for Aluminum Nickel Cobalt. They were a big technical innovation back in the 1940s, much better performance and resistance to demagnetising than simple steel magnets. But they are far outclassed by NdFeB, SmCo, and Ferrite magnets.

Bookmarklets - href: to embedded javascript for limited interactive apps

bookmarklet calculator.
bookmarklet calculator.

Improve Performace of Windows Operating Systems...

My notes and Links to improving performance of M$ Windows

Table of Contents in Word Documnets

Auto-generated by Insert -> Index and Tables. Select "Table of Contents" Tab Click OK. This organizes all text identified in Styles as Heading 1, 2, etc into TOC with correct pagination references. To see the style of some text, select it, and look at the small window in the tool bar just to the left of the font style and size.
Styles in Word Documents
Also called Templates (lots are stored in c:\Program Files\Microsoft Office\Templates) Can copy style elements (some or all) from one document to another:
Tools -> Templates and Add-Ins, click Organizer button (at bottom LHS).
With the Styles tab selected, there are two main windows showing Style elements in your document and Style elements in the normal.dot file (aka Global Template file). Click the "close" button for the normal.dot file and the button becomes an "open" button. Click on the "open" button and select the file you want to copy Styles from. (You may have to change directories, and select *.doc type files; defaults are the c:\Program Files\Microsoft Office\Templates directory and files ending in .dot)
Select any or all elements in one window (holding down shift key lets you select all items between original selection and next selection; holding down ctrl key allows you to cherry pick additional items). Then click copy button...
Then, of course, click "close" on your document (Actually, this may not matter...) and close the window.
Pagerefs in Word Documents
First, insert a Bookmark at a point to be referred to; give the place a name. Then at the point in the document where you want to refer to this place, insert a PageRef, using the bookmark name. [INSERT -> FIELD; select PAGEREF, add name after "PAGEREF"]

Alt-F9 toggles display of special codes; ctrl-F9 inserts {} curly brackets to encode fields, etc directly.

Address Book in Mozilla
abook.mab
Change Windows Explorer Display options globally
Set the current window the way you want, e.g. Details
Tools -> Folder Options
View; click on button "Apply to all Folders"
Per John Fried, 11-30-2003

Web Hosting on DSL

Linksys router BEFSR41: DHCP can't be running at the same time as forwarding. When I turn off DHCP and direct TCP ports to specific IP addresses in Advanced -> Forwarding I can get to web services by addressing the public port of my DSL modem! but some (Circe) hosts don't get internet access while other do... Maybe have to reset everything? NO the answer turns out that the hosts with static IP addresses must also have DNS servers IP addresses explicitly set in the TCP/IP properties section of their ethernet connection (for Earthlink DSL, DNS servers are at 64.105.159.250 and 64.105.124.154)

Windows XP batch files

can build CLASSPATH env variable with all jar files in a directory!
del do_bldcp.bat
set CLASSPATH=.;C:\j2sdk1.4.1_01\bin
for %%i in (c:\tgf\lib\*) do echo set CLASSPATH=%%CLASSPATH%%;%%i >> do_bldcp.bat
do_bldcp
del do_bldcp.bat

Turn on enablePlainTextPassword from DOS using WSH (jscript)

cscript enable_PlainTextPassword.js
where enable_PlainTextPassword.js is

var WSHShell = WScript.CreateObject("WScript.Shell");

var ptPasswd = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanWorkstation\\Parameters\\EnablePlainTextPassword"

WSHShell.RegWrite( ptPasswd, 1, "REG_DWORD" );
WScript.StdOut.Write(" LanmanWorkstation\Parameters\EnablePlainTextPassword: " + WSHShell.RegRead( ptPasswd ) );
WScript.Quit();

To DisablePlainTextPassword:

cscript disable_PlainTextPassword.js
where disable_PlainTextPassword.js is

var WSHShell = WScript.CreateObject("WScript.Shell");

var ptPasswd = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanWorkstation\\Parameters\\EnablePlainTextPassword"

WSHShell.RegWrite( ptPasswd, 0, "REG_DWORD" );
WScript.StdOut.Write(" LanmanWorkstation\Parameters\EnablePlainTextPassword: " + WSHShell.RegRead( ptPasswd ) );
WScript.Quit();

Turn on enablePlainTextPassword using Windows XP Local Security Policy settings

Start->Programs->Administrative Tools
or Start->Settings->Control Panel, select Administrative Tools
Dougle-click Local Security Policy
click the Plus Sign next to Local Policies to expand it
Double-click Security Options
near bottom of list (scroll down), Double-click Microsoft network client Send unencrypted passwords to third-party SMB servers
Click the Enable radio button
Click OK
Close the local Security Settings Window
Shut down Windows XP and reboot

Note that Windows XP Home doesn't have the Securty Policy menu options above, So...
use the following file to add the registry key to do the same thing:

REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkStation\paramters]
"EnablePlainTextPassword"=dword:00000001

Set IP address from DOS using netsh command

found by Google search on "save restore IP settings in Windows XP"

Set wired ethernet to DHCP:
netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp
Save current IP config:
netsh -c interface dump > c:\location2.txt
To restore
netsh -f c:\location2.txt
Static config with default gw:
netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1
Check what the config is:
netsh interface ip show config

Words I've had to look up recently

repertoirechauffeuralleviatemaneuver

HTML usage

You can set <base href="file:///c:\Documents%20and%20Settings\default\My%20Documents\Univ%20of%20Phoenix\BSIT_profiles\"> after <head> and then all relative href file references will be based from this directory, rather than from the directory in which the web page itself resides!

XML Schemaa usage

How validate an XML element whose content means "one of these"
as in <inbound_to_apt>GBH | FLN</inbound_to_apt>

ans is (page 214 of Pricilla Walmsley's _Definitive XML Schema_)

   <xsd:element name='inbound_to_apt' type="AirportType"/>

   <xsd:simpleType name="AirportType">
     <xsd:list>
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="CLT"/>
           <xsd:enumeration value="LYH"/>
           <xsd:enumeration value="GBH"/> 
           <xsd:enumeration value="FLN"/>
           <xsd:enumeration value="|"/>
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:list>
   </xsd:simpleType>

Adjust file order in editor open-file chooser

When I try to open files in Ultraedit, the file chooser displays files in last openned(?) order instead of sorted by name. While this has it's uses, it happened without my changing anything I was aware of, and I want to know how to change it back... so that when I open files, the chooser displays choices in alphabetical order...

from http://www.experts-exchange.com/Developer/Operating_Systems/WinXP/Q_20419381.html"> http://www.experts-exchange.com/Developer/Operating_Systems/WinXP/Q_20419381.html (found searching on [XP "open file" order changed] in Google

I have a problem with my "save as" or "open files" windows. For instance, when i go to save a picture from the net into a folder, let say "pictures", and want to keep it in order. I have other picture in that folder, car1.jpg, car2.jpg, car3.jpg etc. Instead of listing it in an orderd list like before, all i see in the "save as" window is a random list, so i don't know what name to call my new car picture as to keep it in order. The same thing happens to my "open files" window in winamp. Is there an option i can change to fix this problem? I have windows xp home edition.

ans:

Accepted Answer from pelejab@idg Date: 12/09/2002 08:14AM PST
This works in windows98 but am not sure if it will work in xp but there is no harm in trying:
1. Right-click Start, click Explore, and then click drive C.
2. On the View menu, click Details.
3. Click the Name column to sort items by name, press and hold down the CTRL key, and then quit Windows Explorer by clicking Close in the upper-right corner of the screen.
4. Release the CTRL key.
5. Restart your computer.
cheers
Pete
Comment from Crash2100 Date: 12/09/2002 10:34AM PST
If pelejab's suggestion doesn't work, try this... Close all open programs and explorer windows. Open my computer get it so it looks the way you want it, then go under tools->folder options, click the view tab. Make sure the option "remember each folders view settings" IS checked. Then click "apply to all folders". Now say ok and close the window, restart and see if the list is sorted.


back to Index | back to Links


last updated 4-8-2003, 4-11-2003, 4-25-2003, 6-10-2003, 11-30-2003, 12-30-2003,
3-7-2004, 3-30-2004, 10-1-2004, 12-18-2004, 2-14-2005, 7-13-2005, 11-30-2005,
6-30-2006, 7-22-2006, 8-3-2006, 11-9-2006, 10-19-2007, 10-25-2007, 2-8-2008 dek