In the late 1997, while I was developing two console based applications, TAL and ELM-TAG, on Solaris based systems, I ended up creating a set of useful functions for text mode screen manupulation.
This small PERL program will connect to given LDAP server and it will save the selected fields as a Comma Separated Values (CSV) file which you can easily open up using Excel or a regular text editor.