2007/08/27

rename files


    for i in 2mD* ; do
    mv $i test-"$i";
    done;


    for i in P* ; do
    new=`echo $i | sed s/"Picture "/course-Picture_/g`;
    mv "$i" $new;
    done;


File re-namer (http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.3)

File re-namer (http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.4)

ICAO Phonetic Alphabet (alpha bravo charlie)

ICAO Phonetic Alphabet

A - Alpha

J - Juliett

S - Sierra

B - Bravo

K - Kilo

T - Tango

C - Charlie

L - Lima

U - Uniform

D - Delta

M - Mike

V - Victor

E - Echo

N - November

W - Whiskey

F - Foxtrot

O - Oscar

X - X-ray

G - Golf

P - Papa

Y - Yankee

H - Hotel

Q - Quebec

Z - Zulu

I - India

R - Romeo

0 - Zero

4 - Four

8 - Eight

1 - One

5 - Five

9 - Nine

2 - Two

6 - Six

3 - Three

7 - Seven



Section 2. Radio Communications Phraseology and Techniques
Chapter 14. Phraseology

2007/08/13

nedit / keyboard shortcuts (accelerator keys) are not working ...

copied from: http://www.nedit.org/faq/sect_bugs.php#N900

You have probably NumLock or CapsLock ON ...



1. The keyboard shortcuts (accelerator keys) are not working when 'Caps' or 'Num Lock' are switched on. Have I overlooked something obvious?

You haven't overlooked anything, it's a Motif design flaw. Netscape painfully works around this and the Alt/Meta key reversal on Sun workstations by internally re-implementing the Motif menu accelerator mechanism. NEdit will likely follow suit with the release of version 5.2.

Another possibility (writes Peter Daifuku of SGI):

There's another answer which unfortunately isn't widespread as yet. For an X11R6.3 X server supporting the XKB extension, there is a mechanism to ignore the NumLock and CapsLock key as modifiers. The file /usr/lib/X11/xkb/X0-config.keyboard should contain the string IgnoreLockMods=NumLock+Lock . For systems with multiple displays, display 1 would be controlled by the file X1-config.keyboard, etc.

On SGI systems, this mechanism is support on IRIX 6.2 with X server patch 1574 or later, on IRIX 6.3 and IRIX 6.4 and all later releases.


2. Sometimes NEdit inserts instead of saving the file when I type ^S. Other keyboard shortcuts (accelerator keys) don't work either.

You have probably NumLock or CapsLock ON. See the answer to this question. 3. I use the numeric keypad really often, so I keep NumLock on. But NEdit shortcuts don't work when NumLock is on.

The bug is not in NEdit, but in Motif. This is fixed as of NEdit 5.2, but that might not help you much. Older versions have the same problem.

Here's how you tell X to interpret the keypad keys as numbers without turning NumLock on. Create a file .Xmodmap in your home directory, and put the following lines in it:

    keycode 79 = KP_7
    keycode 80 = KP_8
    keycode 81 = KP_9
    keycode 83 = KP_4
    keycode 84 = KP_5
    keycode 85 = KP_6
    keycode 87 = KP_1
    keycode 88 = KP_2
    keycode 89 = KP_3
    keycode 90 = KP_0
    keycode 91 = KP_Decimal


Then make sure the script that starts your X session parses this file with the command:

    xmodmap -merge ~/.Xmodmap


This script can be ~/.xinitrc (called by startx) or something like Xsession if you use xdm/kdm/gdm. Then again, it might be an entirely different script on some systems.

Then turn off numlock, and just continue using the keypad. The only thing is, you loose the alternate set of functions (cursor/home/pgdown/etc).

101 useful Run Commands in Windows XP

copied from pcworld ...


Guys do you use the Run feature in Windows XP? For most, this feature
remains unused (or rarely used). Why is that? Well, First off nearly
all of the Run Commands Correspond to a particular Control Panel Item
or a Utility, Tool or Task that can be accessed through Windows. There
are, however, tools and utilities that I bet you never knew you had
that can be accessed through the Run feature. The main reason most
people don't use the Run feature is because they don't know the
Commands. So, to solve that problem, I decided to put together the
following listing, which lists 101 Run Commands and what they
correspond too...


    Go to Start Button ===>> Run & try this below commands

    Accessibility Controls: access.cpl

    Add Hardware Wizard: hdwwiz.cpl

    Add/Remove Programs: appwiz.cpl

    Administrative Tools: control.exe admintools

    Automatic Updates: wuaucpl.cpl

    Bluetooth Transfer Wizard: fsquirt

    Calculator: calc

    Certificate Manager: certmgr.msc

    Character Map: charmap

    Check Disk Utility: chkdsk

    Clipboard Viewer: clipbrd

    Command Prompt: cmd

    Component Services: dcomcnfg

    Computer Management: compmgmt.msc

    Date and Time Properties: timedate.cpl

    DDE Shares: ddeshare

    Device Manager: devmgmt.msc

    Direct X Control Panel (if installed)*: directx.cpl

    Direct X Troubleshooter: dxdiag

    Disk Cleanup Utility: cleanmgr

    Disk Defragment: dfrg.msc

    Disk Management: diskmgmt.msc

    Disk Partition Manager: diskpart

    Display Properties: control.exe desktop

    Display Properties: desk.cpl

    Display Properties (w/Appearance Tab Preselected): control.exe color

    Dr. Watson System Troubleshooting Utility: drwtsn32

    Driver Verifier Utility: verifier

    Event Viewer: eventvwr.msc

    File Signature Verification Tool: sigverif

    Findfast: findfast.cpl

    Folders Properties: control.exe folders

    Fonts: control.exe fonts

    Fonts Folder: fonts

    Free Cell Card Game: freecell

    Game Controllers: joy.cpl

    Group Policy Editor (XP Prof): gpedit.msc

    Hearts Card Game: mshearts

    Iexpress Wizard: iexpress

    Indexing Service: ciadv.msc

    Internet Properties: inetcpl.cpl

    Java Control Panel (if installed): jpicpl32.cpl

    Java Control Panel (if installed): javaws

    Keyboard Properties: control.exe keyboard

    Local Security Settings: secpol.msc

    Local Users and Groups: lusrmgr.msc

    Logs You Out Of Windows: logoff

    Mcft Chat: winchat

    Minesweeper Game: winmine

    Mouse Properties: control.exe mouse

    Mouse Properties: main.cpl

    Network Connections: control.exe netconnections

    Network Connections: ncpa.cpl

    Network Setup Wizard: netsetup.cpl

    Nview Desktop Manager (if installed): nvtuicpl.cpl

    Object Packager: packager

    ODBC Data Source Administrator: odbccp32.cpl

    On Screen Keyboard: osk

    Opens AC3 Filter (if installed): ac3filter.cpl

    Password Properties: password.cpl

    Performance Monitor: perfmon.msc

    Performance Monitor: perfmon

    Phone and Modem Options: telephon.cpl

    Power Configuration: powercfg.cpl

    Printers and Faxes: control.exe printers

    Printers Folder: printers

    Private Character Editor: eudcedit

    Quicktime (If Installed): QuickTime.cpl

    Regional Settings: intl.cpl

    Registry Editor: regedit

    Registry Editor: regedit32

    Removable Storage: ntmsmgr.msc

    Removable Storage Operator Requests: ntmsoprq.msc

    Resultant Set of Policy: rsop.msc

    Resultant Set of Policy (XP Prof): rsop.msc

    Scanners and Cameras: sticpl.cpl

    Scheduled Tasks: control.exe schedtasks

    Security Center: wscui.cpl

    Services: services.msc

    Shared Folders: fsmgmt.msc

    Shuts Down Windows: shutdown

    Sounds and Audio: mmsys.cpl

    Spider Solitare Card Game: spider

    SQL Client Configuration: cliconfg

    System Configuration Editor: sysedit

    System Configuration Utility: msconfig

    System File Checker Utility: sfc

    System Properties: sysdm.cpl

    Task Manager: taskmgr

    Telnet Client: telnet

    User Account Management: nusrmgr.cpl

    Utility Manager: utilman

    Windows Firewall: firewall.cpl

    Windows Magnifier: magnify

    Windows Management Infrastructure: wmimgmt.msc

    Windows System Security Tool: syskey

    Windows Update Launches: wupdmgr

    Windows XP Tour Wizard: tourstart

    Wordpad: write