Paging multiple columns in the console

Reed Loefgren reedl at tatteredcover.com
Thu Jun 10 16:28:04 PDT 2004


All,


I'm moving to FreeBSD from Slackware and have one thing that bugs me a
bit. If I do an ls on a big directory, say /usr/bin, I get output in a
couple columns (I'm using bash.)

In FreeBSD (4.9) If I ls a big directory it will output a couple
columns, but I can't page it unless I pipe the output to more or less,
and then I get a single column. Is there a way I can keep the
multi-column output but still use a pager?

This isn't a problem if I'm in X, just console. I know I can hit the (I
think) scroll lock and do this, but I'm looking for something that flows
a bit better for me.


Thanks,

r


More information about the freebsd-questions mailing list