Sponsored Content
Top Forums UNIX for Advanced & Expert Users Understanding terminal display of (awkward) characters Post 96522 by danielff on Friday 20th of January 2006 04:32:45 PM
Old 01-20-2006
If your locale setting doesn't make use of extended ASCII characters, more displays them as M-x.
You have to use more -v to see those characters. Check the more man page because the option can be different on your system.
danielff
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

terminal display

I want to display a system warning message at the prompt of every live terminal on a sun solaris 8 machine using CDE. I know this can be done on a console, but what about dtterm and xterm regular windows? Does anyone know how this is done? What about a single terminal? Clear skies,... (2 Replies)
Discussion started by: seismic_willy
2 Replies

2. Shell Programming and Scripting

date and time to display on the terminal

hi all, am trying to 'grep' some text from a log file and use the 'cut' command to read from that line i just grep'ed to extract date/time and response times. code sniplet i am using is : grep -i 'text to grep' Out.log | while read LINE; do ... (11 Replies)
Discussion started by: cesarNZ
11 Replies

3. Shell Programming and Scripting

Terminal-specific characters in password

Good morning! I am using a shell script to back up user email files to a remote location. The problem is, one (and apparently more than one) users have the symbol "@" in their password. As you can see from the line: /sbin/mount_smbfs... (5 Replies)
Discussion started by: PittWolfBW
5 Replies

4. Shell Programming and Scripting

How to have color coded Terminal display,(like linux)

Hi all, I would like to know how to have a color display in the terminal... In the sense that, In many linux terminals,we have color coded for each file type, green for executable ,blue for dirs and so on... I wanted to know how i can have the same arrangement in solaris(b-79a) I am not... (5 Replies)
Discussion started by: wrapster
5 Replies

5. Windows & DOS: Issues & Discussions

Display running 'app' in terminal titlebar?

Hi. I was, not too long ago, an OS X home user. One of the things I remember from using the Apple-installed Terminal is: whenever an executable that took more than a split second to do its thing was running, its name would appear in the title bar in a way similar to "Terminal: ssh" or "Terminal:... (0 Replies)
Discussion started by: SilversleevesX
0 Replies

6. Shell Programming and Scripting

How to display message when starting a terminal

Hello all, I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal? Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies

7. UNIX for Advanced & Expert Users

Unix terminal display related issue

Want few input related to unix environment and terminal settings: 1. Am trying to find a way to keep the unix terminal display intact even after opening and closing a vi/less file. Currently if I open a vim file in the unix terminal and then close the file,it displays the contents of vim file on... (4 Replies)
Discussion started by: talktovkjain
4 Replies

8. UNIX for Dummies Questions & Answers

Questions About Using Escape characters ('\') In Terminal

I have been looking at people posting commands like : $ sudo apt-get install git gnupg flex bison gperf build-essential \ zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ libgl1-mesa-dev g++-multilib mingw32 tofrodos... (2 Replies)
Discussion started by: Ryuinferno
2 Replies

9. Shell Programming and Scripting

Display-performance in terminal, bash or python?

Heyas I've been working on my project TUI (Text User Interface) for quite some time now, its a hobby project, so nothing i sit in front of 8hrs/day. Since the only 'real' programming language i knw is Visual Basic, based upon early steps with MS-Batch files. When i 'joined' linux 3 years ago,... (7 Replies)
Discussion started by: sea
7 Replies
wctype(3)						     Library Functions Manual							 wctype(3)

NAME
wctype - Gets a handle to classify wide characters LIBRARY
Standard C Library (libc) SYNOPSIS
#include <wctype.h> wctype_t wctype( const char *property); The following prototype for wctype() does not conform to current industry standards and is supported only for backward compatibility: #include <wchar.h> wctype_t wctype( char *property); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: wctype(): XSH5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Points to a string that identifies a character class, or property. DESCRIPTION
The wctype() function obtains a handle for valid property names for wide characters, as defined in the current locale. The handle can then be used as the wc_prop parameter in a subsequent call to the iswctype() function to check whether a wide character has this property. (See the iswctype(3) reference page.) Values returned by the wctype() function are valid until the setlocale() function modifies the value of the LC_CTYPE environment variable. The property parameter can have a value equal to one of the basic character classes or to any other character class that is defined for a locale. The characters included in each class are specified in the locale definition file (see the localedef(1) and locale(4) reference pages for more information). The basic character classes are as follows: A combination of the classes alpha and digit. Alphabetic (letter) characters. This class automatically includes characters in the upper and lower classes. Blank char- acters, such as the space or tab character. Control characters. This class does not include characters in the alpha or print class. Numeric digit characters. This class includes the following characters: 0 1 2 3 4 5 6 7 8 9 Graphic characters for printing. This class does not include characters in the space or cntrl class but includes all characters in the alpha, digit, and punct classes. Lowercase characters. This class does not include characters in the cntrl, digit, punct, or space class. At a minimum, the lower class includes the 26 lowercase US-ASCII characters. These are: a b c d e f g h i j k l m n o p q r s t u v w x y z Print characters. This class includes characters in the graph and space classes but does not include characters in the cntrl class. Punctuation characters. This class does not include characters in the space, alpha, digit, or cntrl class. Space characters. At a minimum, this class includes the space, form-feed, newline, carriage-return, tab, and vertical-tab characters. Uppercase characters. At a minimum, this class includes the 26 uppercase US ASCII characters. These are: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Hexadecimal characters. This class includes the following characters: 0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f For the list of supplemental properties that can be defined in Unicode locales, see the locale(4) reference page. On Tru64 UNIX systems, Unicode character properties are defined only in locales whose names end in .UTF-8. RETURN VALUES
On successful completion, the wctype() function returns a value of type wctype_t, which is a handle for valid property names in the current locale. If the property parameter specifies a character class that is not valid for the current locale, the function returns the value 0 cast to wctype_t. RELATED INFORMATION
Commands: localedef(1) Files: locale(4) Functions: ctype(3), iswctype(3), setlocale(3), towupper(3), wctrans(3) delim off wctype(3)
All times are GMT -4. The time now is 01:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy