NetBSD-Desktop archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Ensuring TERM is set in single user [Was: Simple editor (ee?)]



On Mon, 9 Feb 2009, Andrew Doran wrote:

On Sat, Feb 07, 2009 at 05:30:12PM +0000, David Brownlee wrote:

I think it's a good idea, and I would support importing it into the base
system. I hadn't considered it before. Thinking back to the first time I
used unix, probably the most daunting thing was trying to edit files.

It's BSD licensed, right? I would say that that main requirement is that it
works with the cursor keys! I noticed this in the manual page:

    For ee to work properly, the environment variable TERM must be set to
    indicate the type of terminal being used.   For example, for an HP 700/92
    terminal, the TERM variable should be set to "70092".  See your System
    Administrator if you need more information.

It's a load of old rubbish because everything is a vt100. If the person at
the keyboard is using an odd terminal or whatever they are likely to know
enough to set TERM, or can learn it pretty easily.

        That shouldn't matter, as the correct TERM should be set at
        every point *especially* when booting up in single user.
        (That, along with defaulting command line editing on, is something
        we need to make sure happens).

--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index