l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2004 Dec 19 18:40

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Xterm and terminal types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Xterm and terminal types



On Mon, Dec 13, 2004 at 02:20:31PM -0800, Josh Parsons wrote:
> On Fri, 10 Dec 2004, Rod Roark wrote:
> 
> > > As I recall, vte (the terminal widget used by gnome-terminal) was designed
> > > to read a termcap file and configure itself...
> >
> > Would that be a source tweak?  I can't find any command line...
> 
> OK, here's all I know.  The README for vte says:
> 
> "You could say that VTE is something of a research project of mine, based
> on the simple question:  'if programs can use a termcap file (through
> either libtermcap or curses or ncurses) to determine how to drive a
> terminal, why can't a terminal emulator use a termcap file to determine
> how to behave?'"

My answer:

Termcap may only describe a subset of the capabilities of the
terminal - because the client programs that use termcap may only need
a subset of the terminal features to be fully expressive. However,
some application hardcoded for that particular terminal type might use
more of that terminal's tricks than termcap specifies. So it would
send things that VTE couldn't understand (because they weren't
specified in the termcap).

Hence the question is: is what I said here true or false?


> Some source spelunking finds an API function:
> 
> /**
>  * vte_terminal_set_emulation:
>  * @terminal: a #VteTerminal
>  * @emulation: the name of a terminal description
>  *
>  * Sets what type of terminal the widget attempts to emulate by scanning
>  * for control sequences defined in the system's termcap file.  Unless you
>  * are interested in this feature, always use "xterm".
>  *
>  */
> void
> vte_terminal_set_emulation(VteTerminal *terminal, const char *emulation)
> 
> grepping for "vte_terminal_set_emulation" in gnome-terminal finds nothing,
> so I guess you're right, source tweaks would be needed.  If you don't want
> to modify gnome-terminal, there is also a sample terminal application that
> comes with vte itself, which might be easier to hack on.
> 
> ---
> Josh Parsons
> Philosophy Department
> 1238 Social Sciences and Humanities Bldg.
> University of California
> Davis, CA 95616-8673
> USA
> 
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.