* IBM extended character set
@ 2010-08-03 10:11 harry weston
2010-08-03 20:59 ` Peter Dyballa
2010-08-04 3:07 ` Eli Zaretskii
0 siblings, 2 replies; 6+ messages in thread
From: harry weston @ 2010-08-03 10:11 UTC (permalink / raw)
To: help-gnu-emacs
Hello
I have searched the 'net, but cannot find out how to incorporate into emacs the symbols from the IBM extended character set that draw boxes of single or double lines. It used to be easy on my old Epson dot-matrix printer. My failure to locate it is most likely because I don't know exactly what to look for among the ISOs and all that. I'll be very grateful for any help your can give,
Very best wishes, and thanks for offering this service, Harry Weston
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IBM extended character set
[not found] <mailman.15.1280865272.12076.help-gnu-emacs@gnu.org>
@ 2010-08-03 20:20 ` Pascal J. Bourguignon
2010-08-03 20:22 ` Xah Lee
1 sibling, 0 replies; 6+ messages in thread
From: Pascal J. Bourguignon @ 2010-08-03 20:20 UTC (permalink / raw)
To: help-gnu-emacs
harry weston <harryweston@btinternet.com> writes:
> I have searched the 'net, but cannot find out how to incorporate
> into emacs the symbols from the IBM extended character set that draw
> boxes of single or double lines. It used to be easy on my old Epson
> dot-matrix printer. My failure to locate it is most likely because I
> don't know exactly what to look for among the ISOs and all
> that. I'll be very grateful for any help your can give,
These characters are in unicode, and emacs 23 uses unicode, so you can
insert them directly. That is, you can bind them to your X keyboard
with xmodmap.
For example, I have in my ~/.xmodmap:
!------------------------------------------------------------
! Numerical Keypad
!------------------------------------------------------------
! Second line:
!keycode 77 = Num_Lock Pointer_EnableKeys
keycode 77 = Num_Lock
keycode 106 = KP_Multiply XF86_ClearGrab
keycode 63 = KP_Divide XF86_Ungrab
keycode 82 = KP_Subtract KP_Subtract 0x1002500 0x1002550
! Third line:
keycode 79 = KP_Home KP_7 0x100250C 0x1002554
keycode 80 = KP_Up KP_8 0x100252C 0x1002566
keycode 81 = KP_Prior KP_9 0x1002510 0x1002557
! Fourth line:
keycode 83 = KP_Left KP_4 0x100251C 0x1002560
keycode 84 = KP_Begin KP_5 0x100253C 0x100256C
keycode 85 = KP_Right KP_6 0x1002524 0x1002563
keycode 86 = KP_Add KP_Add 0x1002502 0x1002551
! Fifth line:
keycode 87 = KP_End KP_1 0x1002514 0x100255A
keycode 88 = KP_Down KP_2 0x1002534 0x1002569
keycode 89 = KP_Next KP_3 0x1002518 0x100255D
! Sixth line:
keycode 90 = KP_Insert KP_0
keycode 91 = KP_Delete KP_Decimal
keycode 104 = KP_Enter
So I can insert:
┌─┬─┐
│ │ │
├─┼─┤
│ │ │
└─┴─┘
╔═╦═╗
║ ║ ║
╠═╬═╣
║ ║ ║
╚═╩═╝
by typing: Mode_switch KP_1, etc.
Of course, you can also insert these characters directly in emacs:
(insert (string #x250C #x2500 #x2500 #x2500 #x2510 10
#x2502 32 32 32 #x2502 10
#x2514 #x2500 #x2500 #x2500 #x2518 10))
┌───┐
│ │
└───┘
For example, you could bind them to keys.
--
__Pascal Bourguignon__ http://www.informatimago.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IBM extended character set
[not found] <mailman.15.1280865272.12076.help-gnu-emacs@gnu.org>
2010-08-03 20:20 ` Pascal J. Bourguignon
@ 2010-08-03 20:22 ` Xah Lee
2010-08-03 20:54 ` B. T. Raven
1 sibling, 1 reply; 6+ messages in thread
From: Xah Lee @ 2010-08-03 20:22 UTC (permalink / raw)
To: help-gnu-emacs
On Aug 3, 3:11 am, harry weston <harrywes...@btinternet.com> wrote:
> Hello
>
> I have searched the 'net, but cannot find out how to incorporate into emacs the symbols from the IBM extended character set that draw boxes of single or double lines. It used to be easy on my old Epson dot-matrix printer. My failure to locate it is most likely because I don't know exactly what to look for among the ISOs and all that. I'll be very grateful for any help your can give,
>
> Very best wishes, and thanks for offering this service, Harry Weston
you'll need to give us some details. e.g. do you have a image
(screenshot) of the character? Most people today isn't familiar with
ibm charsets.
also, am certain that all ibm charsets in any version should be in
unicode. So, your problem is simply finding the right unicode, if i
understand it correctly. Not sure what you mean by “incorporate”.
you might find your char in the “shapes” file in the following:
• xub Unicode Browser mode for Emacs
http://xahlee.org/emacs/unicode-browser.html
the following might help on some issues of input, code point, etc.
• Emacs and Unicode Tips
http://xahlee.org/emacs/emacs_n_unicode.html
Xah
∑ http://xahlee.org/
☄
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IBM extended character set
2010-08-03 20:22 ` Xah Lee
@ 2010-08-03 20:54 ` B. T. Raven
0 siblings, 0 replies; 6+ messages in thread
From: B. T. Raven @ 2010-08-03 20:54 UTC (permalink / raw)
To: help-gnu-emacs
Xah Lee wrote:
> On Aug 3, 3:11 am, harry weston <harrywes...@btinternet.com> wrote:
>> Hello
>>
>> I have searched the 'net, but cannot find out how to incorporate into emacs the symbols from the IBM extended character set that draw boxes of single or double lines. It used to be easy on my old Epson dot-matrix printer. My failure to locate it is most likely because I don't know exactly what to look for among the ISOs and all that. I'll be very grateful for any help your can give,
>>
>> Very best wishes, and thanks for offering this service, Harry Weston
>
> you'll need to give us some details. e.g. do you have a image
> (screenshot) of the character? Most people today isn't familiar with
> ibm charsets.
>
> also, am certain that all ibm charsets in any version should be in
> unicode. So, your problem is simply finding the right unicode, if i
> understand it correctly. Not sure what you mean by “incorporate”.
>
> you might find your char in the “shapes” file in the following:
>
> • xub Unicode Browser mode for Emacs
> http://xahlee.org/emacs/unicode-browser.html
>
> the following might help on some issues of input, code point, etc.
>
> • Emacs and Unicode Tips
> http://xahlee.org/emacs/emacs_n_unicode.html
>
> Xah
> ∑ http://xahlee.org/
>
> ☄
Box drawing characters are at code points 2500 to 2580 hex. A good free
tool that shows character coverage of ttf fonts is Babelmap. It is also
a general purpose Unicode exploration tool. It shows official glyph
names even if you don't have a font to display the glyphs themselves.
http://www.babelstone.co.uk/Software/BabelMap.html
There must be something like this for Linux.
ucs-insert function will insert arbitray unicode glyphs into buffer:
(ucs-insert "2530") -> ┰
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IBM extended character set
2010-08-03 10:11 IBM extended character set harry weston
@ 2010-08-03 20:59 ` Peter Dyballa
2010-08-04 3:07 ` Eli Zaretskii
1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2010-08-03 20:59 UTC (permalink / raw)
To: harry weston; +Cc: help-gnu-emacs
Am 03.08.2010 um 12:11 schrieb harry weston:
> I have searched the 'net, but cannot find out how to incorporate
> into emacs the symbols from the IBM extended character set that draw
> boxes of single or double lines.
Do you mean ibm850 or ibm866? Or cp437 or such?
--
Greetings
Pete
"What do you think of Western Civilisation?"
"I think it would be a good idea!"
– Mohandas Karamchand Gandhi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: IBM extended character set
2010-08-03 10:11 IBM extended character set harry weston
2010-08-03 20:59 ` Peter Dyballa
@ 2010-08-04 3:07 ` Eli Zaretskii
1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2010-08-04 3:07 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Tue, 3 Aug 2010 10:11:17 +0000 (GMT)
> From: harry weston <harryweston@btinternet.com>
>
> I have searched the 'net, but cannot find out how to incorporate into emacs the symbols from the IBM extended character set that draw boxes of single or double lines. It used to be easy on my old Epson dot-matrix printer. My failure to locate it is most likely because I don't know exactly what to look for among the ISOs and all that. I'll be very grateful for any help your can give,
These characters are already supported by Emacs, they are on Unicode
codepoints u+2500 to u+25ff. You can insert them with C-x 8 RET,
e.g. "C-x 8 RET 2500 RET"
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-04 3:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 10:11 IBM extended character set harry weston
2010-08-03 20:59 ` Peter Dyballa
2010-08-04 3:07 ` Eli Zaretskii
[not found] <mailman.15.1280865272.12076.help-gnu-emacs@gnu.org>
2010-08-03 20:20 ` Pascal J. Bourguignon
2010-08-03 20:22 ` Xah Lee
2010-08-03 20:54 ` B. T. Raven
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.