You can also go through the same procedure for a bash.exe
Unix shell window which you can install from Cygwin below.
I use the bash shell all the time because the DOS prompt is
so primitive. You'll like having histories, pipes, and the ability
to run decent scripts. Other shells are also available.
If you really need a DOS command you can invoke it with
cmd /c command .
You can also improve the default telnet window.
Hit Run at the Start button, and type
to any node. Modify the properties of
the new screen to change the awful colors and add scrollbars.
These changes will be saved. ("ftp" also works.)
You can also use "find" from your start button, to find the executable
for telnet, and then create a shortcut to put on your desktop.
The properties of the shortcut can also be edited.
Get the full package from http://sources.redhat.com/cygwin/ Click on "Install now." Download the "setup.exe" to a local directory, then run. Select "Download from Internet" rather than "Install..." Select "Direct Connection" and try the first ftp site on the list. Click the buttons "Curr" and "Full/Part" to get the whole package, then "next." (It is not necessary to check the boxes.) After the download is complete, run "setup.exe" again and install from your local copy. To run X applications, make a shortcut to the X server ``C:\cygwin\usr\X11R6\bin\run.exe XWin -multiwindow -clipboard -unixkill -nowinkill'' (You may prefer to replace ``-multiwindow'' with ``-rootless'')
Customize the shortcut and properties for the bash icon as you did for the DOS prompt.
I was able to download additional utilities directly from a gnu website, type "./configure" and "make" in a bash window, just as I would on Unix.
If you do not want the Cygwin tools Download Perl from a separate site: http://www.activestate.com/ .
Set the environmental variable HOME to your desktop path, or to a subdirectory of your desktop. You will also need to extend your path. To do so, right click on "My Computer" and select "Properties." Look under the tabbed entry "Environment" for the variable PATH. Most environmental variables should be set in your home directory in the files .bash_profile (used once when a shell is started) and .bashrc (called again by all bash subprocesses). (You can get to the same tabbed pane by hitting Start Button -> Settings -> Control Panel -> System.)
A few commands may prefer the DOS environment. Open an Exceed spreadsheet according to the default mapping of the file suffix from bash with
% cmd /c start file.xls
cmd /c start file.txtwill start your default text editor on the specified file.
cmd /c net send localhost This is a messagewill popup a dialog with the specified message.
CONVERT C: /FS:NTFS /VIt will ask if you want to convert when you reboot. Reply "Y". Reboot and you should see the conversion take place. All non-boot drives will convert immediately.
If you must hit the reboot button, or if you have a power failure,
then you run the risk of having corrupted your disk and file indexing.
You may have serious problems later without warning. The vast majority of
such corruptions can be fixed automatically. After you reboot, type
chkdsk /f c: to fix problems in disk partition
help chkdsk to remind yourself
of the syntax.) Run
chkdsk on all your disk
partitions. Your boot partition will delay repairs until you next
reboot. Get it over with and reboot again immediately.
keyremap.infand "install." Then hit Start -> Settings -> Control Panel -> Keyboard and the second tabbed pane to see a few remappings. (Tip from http://sites.netscape.net/computingx/tricksnt.html.)
To change the "Caps Lock" into a control key for all users, use the following tip from http://bmrc.berkeley.edu/people/chaffee/swapnt.html :
chkdsk /f c:and try reinstalling the service pack. It complains that you didn't finish a previous installation, and you need to reboot. But you just did reboot. You try to reboot, and it says your win16 subsystem is corrupt and some hidden process won't die. Oh mercy. Something in your registry or system files is trashed.
Now is a good time to reboot with an older registry and backed up system files. As you reboot, you see a message like "Hit space bar to boot with Last Known Good Configuration." Hit the bar and see if you survive. Then try reinstalling that service pack. If your last configuration doesn't work, then use that emergency repair disk you made recently. You made one, didn't you?
To make an emergency repair disk (ERD), stick
in a floppy and run
rdisk on a command
line. If you install more software after making this disk and
don't update the ERD, then you can still use
the disk later, but you'll have to reinstall the
later software. If you're about to install some
hairy software, then it is probably a good time
to make a new ERD, or update an old one. (Updating is fast.)
For easy cut and paste between X and your PC applications, right-click on Exceed on the menu bar. Select Tools-> Configuration-> X-Selection, then choose "PRIMARY" for "X Selection Associated with Edit Operations" and put checks in the boxes for "Auto Copy X Selection" and "Auto Paste To X Selection".
With default settings, window sizes and location popups will not be correctly cleared. Right-click on Exceed on the menu bar and select Tools -> Configuration -> Performance. Check the box for "Save Unders."
Unix GUIs may require 256 colors. To make many Unix X GUI's run under X-emulators such as Exceed, you need to adjust the X-emulator to 256 colors (pseudo-color). From the Exceed menu, open Xconfig and select the Video icon. Turn off "Preserve System Colors," and turn off "Preallocate System Colors in Default Colormap." Next, from Xconfig select the "Screen Definition" dialog, and select "PseudoColor" under "Server Visual:" (By right-clicking on the desktop and hitting Properties and settings, you can see the number of colors on your desktop. Leave this setting at a large number so you do not degrade non-X applications.)
You may only have a two-button mouse. Open Exceed configuration and click on the Input icon. Check the box at the bottom of the dialog for "Middle Button Emulation" and increase the "Click Interval (ms)" to something like 200 ms.
C:and arrange for a dual boot to Linux on another partition, say
D:. Install Linux on the partition
D:. The installation will ask if you want the Linux boot record at the top of the Linux partition. Say yes. Do not put it on the NT boot partition because you will then be unable to boot directly into NT. Suppose that this Linux partition is called
/dev/hdb2in Linux. Then copy the 512 of the linux boot record onto a floppy with
dd if=/dev/hdb2 of=/dev/fd0/linux.boot count=1 bs=512Reboot into NT. Copy the file
linux.bootoff the floppy onto your
C:\root directory. Modify the
boot.inifile to point to this file. Add a line like
c:\linux.boot="Linux RedHat 5.1 (Kernel 2.0.34)"
On Windows 2K, click Start Button -> Settings -> Control Panel -> Administrative Tools -> Computer Management -> System Tools -> System Information -> System Summary.
On Windows XP, click Start Button -> Programs -> Accessories -> System Tools -> System Information. Save to a text file.
This method prevents programs that use the Messenger APIs from using Windows Messenger. Outlook 2002, Outlook Express 6, and the Remote Assistance feature in Windows XP are examples of programs that use these APIs and that depend on Windows Messenger. 1. Start Registry Editor. To do this, click Start, click Run, type regedit.exe, and then click OK. If the following registry subkey already exists, go to step 6: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Messenger\Client 2. Click the following registry subkey: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft 3. On the Edit menu, point to New, and then click Key. Type Messenger for the name of the new registry key, and then press ENTER. 4. Click the following registry subkey: key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Messenger 5. On the Edit menu, point to New, and then click Key. Type Client for the name of the new registry key, and then press ENTER. 6. Click the following registry subkey: key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Messenger\Client 7. On the Edit menu, point to New, and then click DWORD Value. Type PreventRun for the name of the new DWORD value and then press ENTER. 8. Right-click the PreventRun value that you created in step 7, and then click Modify. In theValue data box, type 1, and then click OK. 9. Quit Registry Editor.
jvm.dllor about an access violation for
Use Explorer to find the JRE folder
in the application directory.
bin\client\jvm.dll, and all other dll's in the bin directory.
After installing plain NT and getting on the network, I upgrade in the following order.
Connect to "\\spitfire.denver.lgc.com\username" Connect as "lgc\username"The double bashslashes are important. If the file server name
spitfire.denver.lgc.comis not recognized, then see the comments below about setting a DNS server. You can also set a default domain
This remote file server happens to be a Samba server running on Unix. If you have the same login name on Unix and your PC, then everything should work the first time. It should not be necessary to type in your password. If your login name is not recognized, or if it requests a password, then ask the sysadmin who maintains Samba to add your name and password to a privileged list. I am not sure if it helps to have the same password on both machines, but I do.
If you install a Service Pack and can no longer connect
to a Samba server, then ask the sysadmin to reconfigure
to handle encrypted passwords.
The alternative is to hack on your registry with information
in Microsoft's Knowledge Base under Q166730, to disable
encrypted passwords. Run the registry editor (regedt32.exe),
go to the
and find the key
Click "Add Value" on the Edit menu and add the following:
Value Name: EnablePlainTextPassword
Data Type: REG_DWORD
Click OK, exit the editor, and reboot.
You can now drag and drop from your new drive letter as from any folder. If Samba is configured improperly, files copied from NT to Unix will introduce extra carriage return characters. To avoid this problem, use ftp, put the file inside a tar file, or compress it first. (Install tar and gzip from Cygwin below.) Exceed comes with a "Hummingbird Neighborhood" which presents an FTP site like an Explorer window.
You may discover that you cannot unmount a remote drive, and the drive gets remounted each time you log in. If so, type on a command line:
% net use g: /deletewhere
g:is the drive letter that is remounted.
On NT 4, you'll be able to change a DNS server address by following Start Button -> Settings -> Control Panel -> Network -> Protocols -> TCP/IP Protocol -> Properties -> DNS -> DNS Search Order -> Add.
On Windows 2000, follow Start Button -> Settings -> Control Panel -> Network and Dial-up Connections -> right click Local Area Connection -> Properties -> Internet Protocol (TCP/IP) -> Properties.
At our office, you need to set the principal/preferred server to 18.104.22.168, and optional backups to 22.214.171.124, 126.96.36.199, or 188.8.131.52. The order matters. Remove any extraneous addresses that may already be on the list.
To get the correct default domain on NT 4, set Start Button -> Settings -> Control Panel -> Network -> Protocols -> TCP/IP Protocol -> Properties -> DNS -> Domain -> "denver.lgc.com" On the same page you can set multiple default DNS suffixes "denver.lgc.com", "ad.lgc.com", and "lgc.com". Eventually reboot.
On Windows 2000, follow Start Button -> Settings -> Control Panel -> Network and Dial-up Connections -> right click Local Area Connection -> Properties -> Internet Protocol (TCP/IP) -> Properties -> Advanced -> DNS panel -> DNS suffix -> "denver.lgc.com" On the same panel set "Append these DNS suffixes (in order)" -> "denver.lgc.com", "ad.lgc.com", and "lgc.com".
After you reboot, you should be able to select a Domain as "LGCDEV" when specify your login name and password.