On Tue, 21 Mar 2000, csmith wrote:
> I have ftp` ed into a site from the linux command line and have issued
> the ls command, but I have 3 to 4 screens full of files, needless to say
> I can't read them as they go by, and I can't pipe it to more or less and
> the commands I issue to save it`s output to a file don't work. How can
> I read the file listing on the remote machine.
I'd highly recommend ncftp for stuff like this, but barring that, if you
run ftp from an xterm or similar, you can enable xterm with a scrollbar by
running it as:
xterm -ls
You can also set the number of lines xterm will save in its scrollback
buffer with a command line option:
xterm -ls -sl 1000
This will give you 1000 lines of output that you can scroll through with
your scroll bar. If you forgot to enable the scrollbar at the command
prompt, you can enable it by holding down the ctrl key and middle clicking
the mouse in the xterm window, and selecting `enable scrollbar' in the
menu that pops up. There are several other nice options that pop up here
as well, and pressing ctrl+other mouse button yeilds different menus that
let you set the font size, as well.
Note that this is the default behavior... this can be changed using X
resources and/or command line options.
You can also enable the scrollbar by default by adding a line to your
.Xdefaults file such as:
xterm*scrollbar: true
but that's a whole other nightmare... If you aren't familiar with X
resources, I suggest you first read the manpage for xterm, and then go
look for a book called `X User Tools' published by O'Reilly. It's
recently out of print, but you can still find it occasionally if you look
hard enough.
--
-----------------------------------------
| Derek Martin |
| Linux/Unix Geek |
| WORK: [EMAIL PROTECTED] |
| HOME: [EMAIL PROTECTED] |
-----------------------------------------
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************