
Printing
^A Jump to the beginning of the line. ^E Jump to the end of the line. ^K Cut the whole line. ^Y Paste the lines you cut. ^D Delete the next character. This command is like the delete key in Microsoft Windows and Netscape text fields. In most editors, the DELETE key deletes the previous character, which is like the BACKSPACE key in MS Windows & Netscape text fields. Notice, that these commands are found in many context in UNIX, including the emacs editor, pine and almost every place there is text and editable text fields.
The printing orders should work through the HP Vectra VL computers, but not the Newrons (yet), because they are most unlabelled.
Printing from TerminalUsing FTP clientType on the terminal "lpr" and then type on the file name.Printing from Netscape
For example: lpr targil1.C
Cancel printing order by, "lprm".In the print command field should be writen "lpr" and usually nothing else. Any problem, email us to problems, and to the webmaster to add the comment.
Type ftp and the ftp remote site you want to connect, for example: ftp ftp.netscape.com
If you have a username and a password for the site you are connecting, type it, If you don't know and just visit a public FTP,
type: anonymous as user name and your email as password.Now you are in, you can look what in the current directory by: ls which gives you list of the files/dirs only or dir which gives you
list of the files/dirs and their modes. To see which directory you are now, type pwd.
Enter to directory with the command cd dir_name and back by cd ..If you want to download one file, first identify what type of file is it - ASCII or binary: ASCII is a text file and binary is all the rest (pictures, executables...), enter asc for ASCII or bin for binary.
After choosing, decide where do you want to copy the file by using lcd (local cd... it means your computer) and then download it by get filename. If you enter the FTP in the directory you want to copy to, no changes are necessery.
If you want to send one file, the same criteria, but use the command send or put.
When you want to send or download more than one file, you can use the mget and the mput commands only (watch the "m" before the commands). when you use those commands 'as is', it will ask you each file if send/get it or not with Y/N question. To cancel it, type before the up/download prompt and now you can send or get the entirly directory with the wildcard "*"; mget * or mput *
To close the connection with the server, type close, and if you want to exit, type bye.
Any problem you have, enter ? or help command for help.
"Path" It's the list of directories that contain executables. So, if you type a command, it will look for that executable in directories listed int the $path variable. It's often set in "~/.cshrc" file.JAVA: To add the compiler of JAVA to your path, write at the ".cshrc":
set path = ( $path /usr/local/jdk117_v3/bin )
MPI: To add the compiler of MPI to your path, write:
set path = ( $path /usr/local/mpich-1.2.0/linux/ch.p4/bin )
You can do either the following, to set the path and other environment variables correctly for MPI:
source /usr/local/bin/mpi.source
If you start to write a command, ^D also gives you the suffix of the command or if there are more suffix to the print command, it will gives the posibilites. For example, type:----------------------------------------------------------------rm
Then click ^d and the computer will print the posibilities suffix to that command:
rm rmail rmdir rmt rmtab
----------------------------------------------------------------
ls: Shows the directory's components.
-lShows the modes of the directory's components.
-F Shows the types (dir, exe...) of directory's components.
-a Shows the hidden and the non-hidden directory's components.
rm: Delete files and directories.
rmdir Delete directory.
-i Asks for permission to delete the file/dir each time.
-rf Delete directory with all its components.
\rm Delete files/dir even if defined earlier the "-i" option.
mkdir: Create directory.
----------------------------------------------------------------
alias: You can add aliases to your system as shortcuts or macros. Open the file ".cshrc" in editor.
WARNING: EACH CHANGING IN THIS FILE IS ON YOUR OWN RESPONSIBILITY.
Adding the following line:
alias rm 'rm -i'
will gives you, that every time you enter thr delete command - rm, it will ask you if you premit to do this.
Some procedure to every command you want to write a macro.
You can write macros to long commands as the compiler 'g++' :alias g 'g++ -Wall -o run'
and every time you want to compile a file, just write: g file.C and it will create you the execution file 'run'.
----------------------------------------------------------------
Showing the lines and clock in Emacs, write at the end of the file the following:
(setq line-number-mode t)
(display-time)
(setq next-line-add-newlines nil)
Any problem you have, send email to problem .
Problems about the site? Complains ? Any mistakes?
email us at webmaster.
Text Editing | Print in Terminal | Print in Netscape 4 | Using FTP | Pathes | Misc. | Problems