From: karl@freefriends.org (Karl Berry)
Cc: dirt@gtk.org
Subject: terminal escapes in Info files?
Date: Sun, 26 Oct 2003 07:20:55 -0500 [thread overview]
Message-ID: <200310261220.h9QCKsb15110@f7.net> (raw)
Dear Emacs developers,
Alper Ersoy (GTK developer, cc'd here) suggested to me that we enhance
Info format by allowing terminal escapes. For example, @strong{this is
bold} in the Texinfo source could then end up getting displayed in
standout mode.
I can imagine two ways to implement this:
1) write ANSI terminal escape codes directly in the Info file. (Even on
non-ANSI terminals, if there are any left, these could be translated to
appropriate termcap sequence.)
2) use the mechanism we created for @image to write a generic command in
the Info file, something like
^H^[display bold^H^]this is bold^H^[end display^H^]
In either case, the escapes would only be enabled with an option to
makeinfo for now, to provide for a phase-in period.
So here are my questions:
- what do you-all think of the idea in general?
- is one of (1) or (2) significantly easier to implement in Emacs?
(2) is already implemented in standalone Info, via the --raw-escapes
option, but this is not a determining factor in my mind.
I know that Emacs's terminal-mode will interpret terminal escapes, but
I don't know how easily that (or any other such support) can be
integrated into info read.
- would anyone like to volunteer to implement this for Emacs :)?
Neither Alper nor I can do it. We can handle the makeinfo/standalone
info changes, of course.
Thanks,
karl
P.S. Here are some references, FWIW:
- A list of escapes:
http://www.isthe.com/chongo/tech/comp/ansi_escapes.html
- Documentation on using escapes in bash prompts:
http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/c341.html
- ANSI support in various terminals:
http://search.cpan.org/~rra/ANSIColor-1.07/ANSIColor.pm#NOTES
next reply other threads:[~2003-10-26 12:20 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-26 12:20 Karl Berry [this message]
2003-10-26 12:40 ` terminal escapes in Info files? Simon Josefsson
2003-10-26 15:40 ` Alex Schroeder
2003-10-27 7:02 ` Richard Stallman
2003-10-27 19:29 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2003-10-28 1:26 Karl Berry
2003-10-28 10:51 ` Alper Ersoy
2003-10-28 13:48 ` Oliver Scholz
2003-10-30 10:42 ` Alper Ersoy
2003-10-28 16:19 ` Stefan Monnier
2003-10-29 19:02 ` Richard Stallman
2003-10-29 19:47 ` David Kastrup
2003-10-29 21:43 ` Eli Zaretskii
2003-10-29 22:39 ` David Kastrup
2003-10-30 6:03 ` Eli Zaretskii
2003-10-30 18:00 ` Richard Stallman
2003-10-29 19:01 ` Richard Stallman
2003-10-29 19:45 ` Alper Ersoy
2003-10-29 19:42 ` Eli Zaretskii
2003-10-30 18:00 ` Richard Stallman
2003-10-29 19:02 ` Richard Stallman
2003-10-28 16:50 Karl Berry
2003-10-28 16:51 Karl Berry
2003-10-28 16:59 ` Stefan Monnier
2003-10-28 17:16 ` Eli Zaretskii
2003-10-28 17:56 ` Stefan Monnier
2003-10-28 20:34 ` Eli Zaretskii
2003-10-28 17:46 Karl Berry
2003-10-28 18:08 ` Stefan Monnier
2003-10-29 12:20 ` Oliver Scholz
2003-10-29 14:21 ` Eli Zaretskii
2003-10-29 16:24 ` Oliver Scholz
2003-10-29 17:29 ` Robert J. Chassell
2003-10-29 18:09 ` Stefan Monnier
2003-10-30 1:13 ` Robert J. Chassell
2003-10-30 6:10 ` Stephen J. Turnbull
2003-10-30 22:06 ` Robert J. Chassell
2003-11-03 12:19 ` Stephen J. Turnbull
2003-10-30 16:36 ` Stefan Monnier
2003-10-29 18:40 ` Oliver Scholz
2003-10-29 19:09 ` Oliver Scholz
2003-10-29 20:02 ` Luc Teirlinck
2003-10-29 20:47 ` Oliver Scholz
2003-10-29 22:58 ` Luc Teirlinck
2003-10-30 2:37 ` Robert J. Chassell
2003-10-30 2:55 ` Robert J. Chassell
2003-10-29 17:45 ` Eli Zaretskii
2003-10-29 18:00 ` Reiner Steib
2003-10-29 18:43 ` Oliver Scholz
2003-10-30 4:19 ` Richard Stallman
2003-10-30 6:11 ` Eli Zaretskii
2003-10-31 0:07 ` Richard Stallman
2003-10-28 20:06 Karl Berry
2003-10-28 21:23 ` Stefan Monnier
2003-10-28 23:41 ` Miles Bader
2003-10-28 20:06 Karl Berry
2003-10-28 20:09 Karl Berry
2003-10-29 12:52 ` Oliver Scholz
2003-10-29 14:14 ` Eli Zaretskii
2003-10-29 14:31 ` Andreas Schwab
2003-10-29 17:51 ` Alper Ersoy
2003-10-29 18:53 ` Alper Ersoy
2003-10-29 18:11 ` Eli Zaretskii
2003-10-29 21:08 ` Andreas Schwab
2003-10-29 21:18 ` Alper Ersoy
2003-10-29 21:40 ` Eli Zaretskii
2003-10-29 15:28 ` Oliver Scholz
2003-10-31 2:29 ` Thien-Thi Nguyen
2003-10-29 19:02 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310261220.h9QCKsb15110@f7.net \
--to=karl@freefriends.org \
--cc=dirt@gtk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.