- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VI EDITOR
Operating System - HP-UX
1753500
Members
4098
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2002 08:42 AM
тАО01-30-2002 08:42 AM
VI EDITOR
Say I want to put in some characters like
??
??
??
??
??
??
??
??
??
??
??
in the vi editor - is it possible ?
And if it is how do I do it? Or what is the criteria so that I can process those characters using C++ or any other programming language!
Any help would be appreciated.
??
??
??
??
??
??
??
??
??
??
??
in the vi editor - is it possible ?
And if it is how do I do it? Or what is the criteria so that I can process those characters using C++ or any other programming language!
Any help would be appreciated.
- Tags:
- vi
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2002 09:36 AM
тАО01-30-2002 09:36 AM
Re: VI EDITOR
There are several criteria that must be met inorder to input characters above 127. (See locale(1) and other referenced man pages.)
a/ The locale must recognize the characters as isprint().
b/ The terminal emulator must be internationalized (I10N'd) & localized. It must be capable of loading an appropriate font for the given locale.
c/ The tty/pty used by the terminal must be set to allow 8-bit character display (stty cs8 -strip -parity).
d/ The application (vi in this example) must be I10N'd.
Provided that these are met, the HP X server supports a "compose" feature using "mute"/"dead" keys [ALT]+[RTYUI].
[ALT+R] usldead_acute
[ALT+T] usldead_grave
[ALT+Y] usldead_asciicircum
[ALT+U] usldead_diaeresis
[ALT+R] usldead_asciitilde
So, for example, to generate, one would type [ALT+R]-[e], or [ALT+R]-[SHIFT][e] for .
This assumes a PS/2 or USB US English keyboard (see /etc/kbd_lang) being used directly on an HP X server.
While inputing from other sources should theoretically be possible, it would depend on the capabilities of the terminal / X emulation being used.
a/ The locale must recognize the characters as isprint().
b/ The terminal emulator must be internationalized (I10N'd) & localized. It must be capable of loading an appropriate font for the given locale.
c/ The tty/pty used by the terminal must be set to allow 8-bit character display (stty cs8 -strip -parity).
d/ The application (vi in this example) must be I10N'd.
Provided that these are met, the HP X server supports a "compose" feature using "mute"/"dead" keys [ALT]+[RTYUI].
[ALT+R] usldead_acute
[ALT+T] usldead_grave
[ALT+Y] usldead_asciicircum
[ALT+U] usldead_diaeresis
[ALT+R] usldead_asciitilde
So, for example, to generate
This assumes a PS/2 or USB US English keyboard (see /etc/kbd_lang) being used directly on an HP X server.
While inputing from other sources should theoretically be possible, it would depend on the capabilities of the terminal / X emulation being used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2002 06:15 PM
тАО02-01-2002 06:15 PM
Re: VI EDITOR
Hello,
your terminal line must permit 8bit characters, too:
stty cs8 -istrip
AND you'll need the proper fonts (I do expect you to use X-Windows/CDE, right?).
You might have to use "xmodmap" to set up some so-called "dead" keys for the accents, to be able to enter the characters with accents/tildas/tremas (diacritical characters)...
HTH,
Wodisch
your terminal line must permit 8bit characters, too:
stty cs8 -istrip
AND you'll need the proper fonts (I do expect you to use X-Windows/CDE, right?).
You might have to use "xmodmap" to set up some so-called "dead" keys for the accents, to be able to enter the characters with accents/tildas/tremas (diacritical characters)...
HTH,
Wodisch
- Tags:
- stty
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP