Re: RDS! ed in FreeBSD

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:

>
> C. K. Lester wrote:
>
>> When I try to run ed in FreeBSD, I can't seem to use my arrow keys. 
>> They take me straight to the menu. What's up with that? :)
>
>
> On Linux or FreeBSD you'll find that some of the special
> keys don't work, or they produce a different key code
> than what ed is expecting. Each Linux/FreeBSD system
> seems to be a bit different, especially if you use Telnet.
>
> You should run
>    exu euphoria/bin/key.ex
> and make a note of the key codes for any keys
> you want to use. Then you have to make a few changes
> to the keycodes assumed for platform LINUX
> near the top of ed.ex. 

The key codes I got from key.ex are the same that are already in
ed.ex(!), namely

    left arrow = 260
    up arrow = 259
    right arrow = 261
    down arrow = 258

What should I try?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu