long ftp dir listings

2005-09-29 Thread David
Dear list,

I am often annoyed trying to get a long directory listing from my unix box
while ftp'ing somewhere. pause is hardly useful, since the listing goes
by to quickly. Occasionally, I have found a site that uses |more , but this
is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
up a long listing. Any good methods would be appreciated.

David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: long ftp dir listings

2005-09-29 Thread Dan Nelson
In the last episode (Sep 29), David said:
 Dear list,
 
 I am often annoyed trying to get a long directory listing from my unix box
 while ftp'ing somewhere. pause is hardly useful, since the listing goes
 by to quickly. Occasionally, I have found a site that uses |more , but this
 is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
 up a long listing. Any good methods would be appreciated.

If you're on a vty, hit scroll-lock and pageup. 

/usr/bin/ftp also has a pdir command that pipes the output to $PAGER
locally.  

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: long ftp dir listings

2005-09-29 Thread Mike Hernandez
On 9/29/05, David [EMAIL PROTECTED] wrote:
 Dear list,

 I am often annoyed trying to get a long directory listing from my unix box
 while ftp'ing somewhere. pause is hardly useful, since the listing goes
 by to quickly. Occasionally, I have found a site that uses |more , but this
 is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
 up a long listing. Any good methods would be appreciated.

I use zsh's built in ftp.  It's as simple as this (assuming zsh is installed):

#[probably put this in .zshrc]
zmodload zsh/zftp
autoload -U zfinit
zfinit

zfopen ftp.whatever.foo
[user  pass when prompted]
zfcd pub/example/test/etc
zfls|less

The real beauty of it is that you can use all of zsh's expansions and
the ftp stuff sits in the background while you use your shell.  For
more info man zshzftpsys

Good luck :)

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: long ftp dir listings

2005-09-29 Thread Sandy Rutherford
 On Thu, 29 Sep 2005 09:27:31 -0700, 
 David [EMAIL PROTECTED] said:

  I am often annoyed trying to get a long directory listing from my unix box
  while ftp'ing somewhere. pause is hardly useful, since the listing goes
  by to quickly. Occasionally, I have found a site that uses |more , but this
  is unusual. I often resort to using ftp in Windows DOS mode so I can scroll
  up a long listing. Any good methods would be appreciated.

If you are an Emacs user, you can use Dired and EFS (or Ange-FTP) to
browse FTP listings.  Ange-FTP only understands remote unix-style
listings.  EFS can additionally parse listings from:

VMS, CMS, MTS, MVS, ti-twenex, ti-explorer (the last two are lisp
machines), TOPS-20, DOS (running the Distinct, Novell, FTP software,
NCSA, Microsoft in both unix and DOS mode, Super TCP, and Hellsoft FTP
servers), unix descriptive listings (dl), KA9Q, OS/2, VOS, NOS/VE, CMS
running the KNET server, Tandem's Guardian OS, COKE, Mac (Running
Peter's ftpd)

In other words, pretty much anything.

Emacs + Dired works fine on a dumb terminal.  If you have X running
and you would rather avoid Emacs, then search the ports for FTP
clients with a GUI.  There are a number of them.

Sandy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]