[illumos-Developer] more & less
Samuel Younge
samuel.younge at 31415.org
Thu Dec 16 21:51:51 PST 2010
I did some testing on the operation of 'less' in single user mode.
It is working, however when you start it, it gives you the following
warning:
WARNING: Terminal is not fully functional.
None the less, it seems to be working.
I tested this on a Dec. 3rd build of illumos in single user mode.
Therefore, 'more' can be removed, so there is one less closed bin
object.
All eyes aim on 'pax'.
>
> --- Original message ---
> Subject: [illumos-Developer] more & less
> From: Ben Taylor <bentaylor.solx86 at gmail.com>
> To: <developer at lists.illumos.org>
> Date: Thursday, 16/12/2010 10:12 AM
>
> On Sun, 2010-12-05 at 12:22 -1000, Samuel Younge wrote:
>
>>
>>>
>>> The only bizarre 'more' dependency in illumos that I am aware of is
>>> that 'less' does not work by default after transitioning to single
>>> user mode.
>>> This is strange as both 'more' and 'less' exist in the /usr/bin PATH.
>>> I am not sure what that is about, I have not taking the time to
>>> investigate, but illumos does need a functional pager for single user
>>> mode.
>>> That is a minor issue though, I suspect.
>>
>> That's a strange one. less shouldn't have any external dependencies,
>> so
>> I don't know why it wouldn't work in single user mode. Can you
>> describe
>> what actually happens when you try to use it.
>>
>> I'd guess that resolving any problem here would be a requirement for
>> making less a replacement for either /bin/more or xpg4/bin/more.
>>
>> - Garrett
>
> I remember having a discussion with Jürgen Keil a couple of years
> back
> on this exact issue, as I had put less into my mini-root when I was
> debugging some problematic Solaris 10 installs.
>
> Jürgen said the issue was that stderr was not correctly set for
> single user
> mode, and required to exec the shell with appropriate redirection.
> I'll see
> if I can find it in my archives.
>
> Ben
>
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.illumos.org/pipermail/developer/attachments/20101216/36155365/attachment.html>
More information about the Developer
mailing list