Linux - perfect replacement for desktops
Brian K. White
brian at aljex.com
Sun Jul 29 19:28:49 PDT 2007
----- Original Message -----
From: "Tom Aldridge" <toma at aldridgeinc.com>
To: <brian at aljex.com>
Sent: Sunday, July 29, 2007 1:48 PM
Subject: Re: Linux - perfect replacement for desktops
> On Sat, 28 Jul 2007 05:34:31, Brian K. White helped Tom Aldridge as
> follows:
>
> > Lucky you, this is a piece of cake. :)
> >
> > Gnome-terminal will work fine, as can kde's terminal as can rxvt as
> can the stock xterm.
> > They all require slightly different handling vis-a-vis their own
> config and the fp termcap file, but there is no problem.
>
> Brian,
>
> Thanks so much! No more (cosmetic) destructive cursor! Simply not setting
> term before starting filePro, using the xterm command string you gave and
> copying the xterm termcap, worked great! One thing, how does one change
> ESC ESC for Save to F11 as my users are accustomed to that? I see with the
> vt102 I changed :L4=F11, but in the xterm termcap L4 already is F11. Is
> the save key a different code in the xterm termcap?
>
> Tom
My pleasure.
L4 is just a label. P4 is the corresponding definition of actual bytes you
want fp to recognize.
The xterm definition I supplied takes advatage of the fact that xterm is
only a little different from the linux console, and so only defines those
bits that are different and then references linux for the rest. ":tc=linux:"
basically means "find the definition for linux elsewhere in this file and
include it here"
So, if you want the change to affect both the console and the xterms (and
anyone telnetting/sshing in using a linux terminal emulator) then change the
L4 and P4 definitions in the linux entry.
If you just want to change the xterm, then insert L4 and P4 definitions in
the xterm definition, anywhere before the tc=linux. tc-linux must remain the
last item.
For L4, since it's just a label, you can put whatever you want. :L4=F11: is
fine
For P4 (or any other P*) if you want it to be F11, then while logged in in a
gnome-terminal at a command prompt, press, ctrl-v, then pres F11, it will
show you what the bytes were that the F11 key sent instead of interpreting
and acting on them normally. then make P4= that string. Under xterm, this
comes out as "^[[23~"
The ^[ part is an escape character, and termcap does know how to interpret
this string just as is, it knows ^[, \E, \033, \0x1b I think, and a raw
actual escape character even, but for several indirect reasons it's best to
only use \E
so put P4=\E[23~
Brian K. White brian at aljex.com http://www.myspace.com/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
More information about the Filepro-list
mailing list