Re: RDS! ed in FreeBSD
- Posted by "C. K. Lester" <euphoric at cklester.com> Oct 16, 2003
- 487 views
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?