--------------------------------------------------------------------------
Copyright 1998 Richard J. Gaydos
--------------------------------------------------------------------------
X Windows
--------------------------------------------------------------------------
Getting In Touch with X Windows X11R6
Enter your UNIX Login-ID
--------------------------------------------------------------------------
Passwords
Masked
--------------------------------------------------------------------------
Disconnecting from X Windows X11R6
Choose Exit from twm Menu (AFTER UNIX logout)
--------------------------------------------------------------------------
Initial Windows
toons1 One UNIX window
toons2 Another UNIX window
xclock A clock
xbiff Signaler of new mail
--------------------------------------------------------------------------
Files/Programs that run AUTOMATICALLY when you start a X Windows session
.Xdefaults
twm - tab Window Manager
--------------------------------------------------------------------------
X - A Client/Server System
Server - The X Program
Client - The Applications that run under X
Server and client are linked by communication path
--------------------------------------------------------------------------
The X User Interface
1. Application Interface - Toolkits WITHIN an application, how an
application reacts
2. Management Interface - How you manage you desktop, via a Window Manager
We use twm (tab Window Manager)
--------------------------------------------------------------------------
tab Window Manager - Tells X Windows how to configure your desktop
tab Window Manager Commands - Click OUTSIDE OF all window
Iconify Make window an icon (like Minimize in Windows)
Resize Change size
Move Change position
Raise Make the CURRENT window
Lower Place in the background
Focus Causes keyboard input to go to a SPECIFIC window, NOT the
one where the pointer is (Select Focus, then
MIDDLE click in the desired window
Unfocus Undo Focus
Show
Hide
Kill Remove a window
Delete
Restart
Exit Get out of X Windows ( and UNIX )
--------------------------------------------------------------------------
Copy/Paste
Drag to Highlight something
Move cursor to destination
Hit MIDDLE mouse button to paste
--------------------------------------------------------------------------
Dot Box is Close Box
Athena Scroll Bar
Need mouse cursor INSIDE window to type (Unless focus, see above)
--------------------------------------------------------------------------
The X Windows X11R6 File System
--------------------------------------------------------------------------
X Windows X11R6 Storage Hierarchy
Similar to DOS/Windows, but use FORWARD slashes
--------------------------------------------------------------------------
X Windows X11R6 File Naming Conventions
255 characters - A-Z a-z 0-9 _ period comma (Root is
named / )
--------------------------------------------------------------------------
Opening an Existing File in X Windows X11R6
Double-click
--------------------------------------------------------------------------
Creating a NEW File in X Windows X11R6
Use a text editor in UNIX
--------------------------------------------------------------------------
Saving a File in X Windows X11R6
Use a text editor in UNIX
--------------------------------------------------------------------------
Making a Backup Copy of a File in X Windows X11R6 - Through UNIX
cp old new
--------------------------------------------------------------------------
Listing Your Files in X Windows X11R6 - Through UNIX
ls
--------------------------------------------------------------------------
Displaying the Contents of Your Files in X Windows X11R6 - Through
UNIX
cat filename
--------------------------------------------------------------------------
Printing Files in X Windows X11R6 - Through UNIX
prnt filename to Mainframe printer
lp -d p30xy filename x = 1 OR 2 OR 3
y = a OR b
--------------------------------------------------------------------------
Removing Files From Your Disks in X Windows X11R6 - Through UNIX
rm filename
--------------------------------------------------------------------------
Renaming Your Files in X Windows X11R6 - Through UNIX
mv old new
--------------------------------------------------------------------------
Editing a File in X Windows X11R6 - The pico Text Editor/Word
Processor
--------------------------------------------------------------------------
Keystroke Commands in pico
--------------------------------------------------------------------------
^ g Get Help
^ x Exit
^ o Write to a file
^ j Line Join
^ r Read in a File
^ w Find a string (Where is)
^ y Previous Page
^ v Next Page
^ k Cut Text
^ u Paste Text
^ c Give Cursor Position
^ t Spell Checker
--------------------------------------------------------------------------
The INPUT Mode - Just type in the File Area
--------------------------------------------------------------------------
Adding Lines in pico - Hit ENTER
--------------------------------------------------------------------------
Deleting Lines in pico - Use ^ k
--------------------------------------------------------------------------
Recovering Deletions in pico - Use ^ u
--------------------------------------------------------------------------
Importing a File in pico - Use ^ r
--------------------------------------------------------------------------
Running Applications in X Windows X11R6
--------------------------------------------------------------------------
Word Processing - See the Text Editor/Word Processor pico above
--------------------------------------------------------------------------
Applications will be run (mostly) through UNIX
--------------------------------------------------------------------------
xclock Clock
xbiff Informs you of fresh e-mail
xcalc Calculator
xcalendar Calendar, month at a time
xman Bring up userŐs manual
--------------------------------------------------------------------------
X Windows Lab
--------------------------------------------------------------------------
Give me an X Windows screen that looks like this:
-----------------------------------------------
| | |
| xcalc | xclock |
| | |
-----------------------------------------------
| | |
| | |
| toons1 | toons2 |
| pico lab5 | pico test2 |
| | |
| | |
-----------------------------------------------
--------------------------------------------------------------------------