Re: Trapping home and end keys in 2.1
Posted in 1996
> > Bryan Tonnet wrote: > > > > eg if HOME is Esc[7~, and you wanted that to be F9, you could change > > the termcap to read; > > > > k9=\\E[7~ (cant remember my sytax, but it looks OK) > > Or k8=\\E[7~ depending on the platform. :-) > > Cheers, Something else you might try: In termcap set ho="Hi mom" then press HOME and see what happens. If indeed that gives you something then all you have to do is have a null ho string. cheers j. _____________________________________________________________________________ Jack Parker - Hewlett Packard, DMD/IS Boise, Idaho, USA jparker@boi.hp.com Currently on loan to PLD/PE _____________________________________________________________________________ If anything can go wrong, fix it. To hell with Murphy. _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________