Institute of Applied Mathematics
|
Frequently Asked Questions
Q. How do I cancel a print job?
A. If you used the lp command to print the file, then you
would have seen a message with the request id of the
print job. For example:
prompt% lp test.ps
request id is iam-618 (1 file)
prompt%
To cancel the print job of this example, you would type:
cancel iam-618
You should see a message like: request "iam-619"
cancelled
Q. How do I make my postscript file, foo.ps,
into a booklet?
A. You just have to do the following:
- Find out how many pages your postscript file will produce. Call this
number n. If this is number is divisible by 4, great.
If not, let the next integer that is divisble by 4 be n.
- From the command line give the command: psbook -s{n} foo.ps
| psnup -2 > bookfoo.ps. {n} is the number n that
you calculated in step 1. This command will order the pages of
foo.ps, put them on the page with two pages per page,
and store the booklet as a postscript file in the file,
bookfoo.ps.
Q. Why is it when I dial in from home, I can't use vi, emacs, more etc.?
A. Sometimes, particularly dialing in through computer science, the
correct terminal type and dimensions are not set. At the system
prompt type env, your current shell environment will scroll by your
screen and amongst these lines of computer jargan you will probably
see the following,
TERM=dialup
LINES=0
COLUMNS=0
If so, this is the problem!! To fix it you must first set the terminal
type by entering,
setenv TERM vt100
at the system prompt. Then you must also set the correct number of lines
and columns, typically you would enter,
stty rows 24 cols 80
Finally as a precaution it is good idea to unset the TERMCAP variable by
entering
unsetenv TERMCAP
This eliminates the possibility of the TERMCAP environment variable
containing the description of the lame terminal dialup. Now you
can try to run an application such as emacs and it should behave as
expected.
Last Update: 97-04-21
[Graduate Student Survival Guide]
[Institute of Applied
Mathematics Main Page]