Subject: Re: little things that bother me
To: Justin Newcomer <liquidice5@gmail.com>
From: Andy Ruhl <acruhl@gmail.com>
List: port-cobalt
Date: 02/02/2005 13:21:56
On Wed, 2 Feb 2005 14:52:37 -0500, Justin Newcomer <liquidice5@gmail.com> wrote:
> When i am ssh'd into the qube, and i am trying to edit a file in vi or
> vim, when i go into insert mode, for some reason it inserts a capital
> A when i press the up arrow, B for down, C for right, and D for left.

I believe the arrows are not legal keys in vi. They do sometimes work.
You should become accustomed to the "proper" use of vi in command mode
to move the cursor around. The keys to do this are j for down, k for
up, h for left and l for right. The reason why this is the case is
because not all keyboards have arrow keys, so to use them wouldn't be
portable.

> one more question about netbsd on the qube. I want to be able to use
> "fortune" but for some reason i cannot get it to work what-so-ever.. i
> am not sure if it even came with the netbsd restore cd.. whenever i
> type "fortune" i get this error "-bash: /usr/games/fortune: cannot
> execute binary file"

What is the output of:

file /usr/games/fortune

Andy