SCEN103 -- pine and xv Worksheet
Several of you have asked me about mailing pictures or other binary files
This turns out to be fairly straightforward using the Attachment feature.
- You should have received an e-mail message from me recently.
Run pine and look for a message with Subject:
CD Density? DON'T ERASE!
- You will find an attachment to the message, a 151 kilobyte microscopic image
of a Compact Disk.
- After reading the message, hit 'v' to view the attachments.
Note that 'e' will exit the viewer or list of attachments to
return to the body of the message.
- Now select the image file "Image of CD"
- If pine responds with:
[Don't know how to display attachment format Image/GIF]
a graphics viewer has not yet been configured.
- If not yet configured, return to the main menu of pine to configure the image viewer.
- Select 's' to setup and then 'c' to configure.
- Scroll to the end of the configuration menu to the entry
image-viewer = <No Value Set>
- Select 'a' (Add Value)
and enter 'xv' as the value to be added so that
the entry appears as:
image-viewer = xv
- Select 'e' to exit the configuration menu
and 'l' to reopen your INBOX.
- xv is the image viewer for the UD X-terminal environment.
- If the image is not yet successfully displayed on your X-terminal at this
point, please call the instructor for help!
- By clicking the right mouse button on the image, the xv menu
box will open.
- If you are interested in learning more about xv, you may print
out a 100-page manual with the following sequence of UNIX commands:
- cd /opt/lib/xv/docs
to go to the xv documents subdirectory.
- qpr -q smips xvdocs.ps
where smips is the Postscript printer service in Smith Hall.
(Substitute whatever printer you wish here.)
to return to your root directory
- Note that if you attempt to view a graphics file from a terminal that is
not an X-terminal, the following error message will result:
[VIEWER Result: xv: Can't open display]
- Attachments may be saved for later use:
- 'v' for View Attachments if not already in that index
- 's' for Save
- You will be prompted to select a name for the file. The name
will default to the value it had as an attachment.
- The file will be saved in your root directory.
- When composing an e-mail message in pine,
a file can be attached by:
- moving the cursor into the Attachment: area of the message header,
- hitting '^J' to Attach; i.e., <CTRL>-J
- and selecting the file to attach.
Completion of the exercise requires you to note the contents of the
graphics file attached to the recent e-mail message
and make a few estimates and calculations.
Hint: How would you count the number of bricks making up a wall without
counting the individual bricks?
- Hint 2: You have a tape measure!
Proposed point value of exercise:
Top of page
- 1 point for attending discussion session and examining figure
attached to recent e-mail message.
- 1 point for completing assignment as outlined in the text attached
to the same e-mail message
-- and e-mailing message to email@example.com by due date.
- 1 point BONUS:
Include solution as an attachment to the e-mail message above!
- 1 point BONUS:
Attach a graphics file -- you are on your own here!
Try to figure out how to get a graphics file for this use.
This may involve positioning the cursor over a graphic element being displayed by Netscape
Navigator, right clicking the mouse, and using "Save Image As"...
Back to SCEN103 Homepage.
Comments, suggestions, or requests to firstname.lastname@example.org.
Last updated Jan. 26, 1998.
Copyright George Watson, Univ. of Delaware, 1996.