Re: Gnome-Terminal - Why Can't I Get Escape Sequences to Work?
From: Thomas Dickey (dickey_at_saltmine.radix.net)
Date: 03/11/05
- Previous message: Martin Riddle: "Re: best way to administer SAMBA"
- In reply to: Ric K.: "Re: Gnome-Terminal - Why Can't I Get Escape Sequences to Work?"
- Next in thread: Ric K.: "Re: Gnome-Terminal - Why Can't I Get Escape Sequences to Work?"
- Reply: Ric K.: "Re: Gnome-Terminal - Why Can't I Get Escape Sequences to Work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 11 Mar 2005 02:20:40 -0000
In alt.os.linux.redhat Ric K. <ric@duntemail.com> wrote:
> Thomas,
> From my searching of the Net I've found that you're pretty much the master
> of this stuff. Thank you for taking the time to help. My brain still
> mainly runs in "WinXP mode" so much of this is foreign to me.
> Where do I use control/left mouse click to access a menu? I've tried the
> desktop and in a terminal window.
> I've tried reading the manual and much of what you've published. I'm
> certain that my main problem is I'm still thinking in Windows terms. Could
> I trouble you to guide me a bit? I expect that there must be at least one
> file to modify and perhaps a command line argument or two (typing out
> everything with exact capitalizations and spaces between commands is killing
> me).
> First- will it matter whether I use xterm, gnome-terminal, or aterm? Do one
> set of modifications affect all or should I focus on one program?
They're all different. xterm uses the X toolkit resource mechanism.
("man X" and "man xterm" tell all of the details). aterm recognizes
a small subset of that. gnome-terminal - menus (though occasionally
someone comments that there are files that can be edited).
> Next- am I missing command line arguments? Generally I've been using
> gnome-terminal launched direct from the GUI icon. Then I use about four
> macros to enter my Telnet instructions and passwords to get into the SCO EMS
> menu. Eventually I hope to master some scripting to do this all for me.
> Finally, which files will I have to modify to get my keyboard to generate
> the F8, F10, PF1, PF2, PF3, and PF4 that SCO EMS requires? I'm also lost as
> to exactly what I'm changing in these files. Some Web sites are telling me
> to use octal codes, some keycodes, and still others ascii combinations
> filled with slashes and brackets.
like this -
Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\
Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\
Shift <KeyPress> Select:select-cursor-start() \
select-cursor-end(PRIMARY, CUT_BUFFER0) \n\
You can specify stuff like that, but it gets tedious to setup.
The real question is what the application expects. Most aren't hardcoded,
but expect to match some terminfo entry.
> I've seen "oldXtermFFkeys" in the manual but I can't figure out how to use
> it. Is it a command line argument? Do I write it as "oldXtermFFkeys" or as
It's a resource value. You could for example specify it on the command
line
xterm -xrm '*oldXtermFKeys:true'
but usually it's in a resource file. The system app-defaults (resource) file
/usr/X11R6/lib/X11/app-defaults/XTerm
is customizable. But you can set $XAPPLRESDIR to point to your own
directory and use similar resource files there (however, a lot of systems
mis-use xrdb to load all of the resource files, making them essentially
static rather than dynamic).
> "Old Function-Keys"? I've opened the XTerm file you indicated and I see a
> line mentioning SCO and another for "old function keys". What exactly do I
> do to enable/disable these line(s)?
-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
- Previous message: Martin Riddle: "Re: best way to administer SAMBA"
- In reply to: Ric K.: "Re: Gnome-Terminal - Why Can't I Get Escape Sequences to Work?"
- Next in thread: Ric K.: "Re: Gnome-Terminal - Why Can't I Get Escape Sequences to Work?"
- Reply: Ric K.: "Re: Gnome-Terminal - Why Can't I Get Escape Sequences to Work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]