When attempting to browse directories on a Solaris remote host only the home directory is shown.
This is due to passing the -w flag to ls:
/usr/xpg4/bin/ls --color=never -al -w /home/spm/some/dir/. 2>/dev/null
The Solaris variants of ls do support "-w" but it expects a parameter:
-w cols
--width cols
Multi-column output where the column width is forced to cols.
It looks like this flag is the same no matter which variant of ls is used
(/usr/bin/ls, /usr/xpg4/bin/ls, /usr/xpg6/bin/ls).
Simon
