Sponsored Content
Full Discussion: Lower ASCII characters.
Top Forums UNIX for Beginners Questions & Answers Lower ASCII characters. Post 303037266 by jim mcnamara on Saturday 27th of July 2019 06:37:30 PM
Old 07-27-2019
Control B in standard ASCII (STX) is decimal 02 or ^B according to the list of ASCII values. Not a smiley face.
Windows has different keyboard setups from UNIX. In UNIX they are called locales. What you see is standard, the Windows smiley or whatever is Windows only, for what you are doing.

I am assuming you are telnet to another unix box. If not, what you see when you type on a UNIX machine can be different in a DOS window. Telnet also responds to some keystrokes as well instead of just printing them. Be careful. Read your man page for telnet to see what keystrokes (or combinations) have meaning.

One way to get around this:
To get colors and other effects requires that the both terminals in the conversation use ANSI escape sequences:
Codes:
ansi codes
Getting terminal to work for you:
ANSI escape code - Wikipedia

Last edited by jim mcnamara; 07-27-2019 at 07:42 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

stupid question about ascii characters

i know it's out there, but I cannot remember how to check if a given ascii character string contains all digits or not ... any ideas? ie...function("123") --> OK function("NOT_A_NUMBER") --> returns error thanks!! (2 Replies)
Discussion started by: jalburger
2 Replies

2. Shell Programming and Scripting

Replace characters in a string using their ascii value

Hi All, In the HP Unix that i'm using when i initialise a string as Stalled="'30¬G'" Stalled=$Stalled" '30¬C'", it is taking the character ¬ as a comma. I need to grep for 30¬G 30¬C in a file and take its count. But since this character ¬ is not being understood, the count returns a zero. The... (2 Replies)
Discussion started by: roops
2 Replies

3. HP-UX

Hex characters of ascii file

Hi, Whats the command or how do you display the hexadecimal characters of an ascii file. thanks Bud (2 Replies)
Discussion started by: budrito
2 Replies

4. Shell Programming and Scripting

Multibyte characters to ASCII

Hello, Is there any UNIX utility/command/executable that will convert mutlibyte characters to standard single byte ASCII characters in a given file? and Is there any UNIX utility/command/executable that will recognize multibyte characters in a given file name? The typical multibyte... (8 Replies)
Discussion started by: jerardfjay
8 Replies

5. UNIX for Dummies Questions & Answers

Sed - Lower case single characters

Hello, I have a file where I am supposed to convert all the single i characters to uppercase, but when I try, it converts all the i's inside of words to uppercase as well. I tried doing: cat filename | sed 's/i/I/g' but that obviously does not work. Any help would be greatly... (6 Replies)
Discussion started by: zlindner
6 Replies

6. UNIX for Dummies Questions & Answers

Perl - converting selected characters to upper/lower case

Using STDIN, how can I use perl to take an input string, with all lower case letters in the first five characters, and convert them to uppercase... then take all uppercase letters in the second five characters and convert them to lowercase. Example: MichaelSmith to michaELSMIth Thank you! (2 Replies)
Discussion started by: doubleminus
2 Replies

7. Shell Programming and Scripting

convert ascii values into ascii characters

Hi gurus, I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Discussion started by: sandeeppvk
10 Replies

8. Shell Programming and Scripting

New line characters in Ascii file

I am having a file(1234.txt) downloaded from windows server (in Ascii format).However when i ftp this file to Unix server and try to work with it..i am unable to do anything.When i try to open the file using vi editor the file opens in the following format ... @ @ @ @ @ @ @ @... (4 Replies)
Discussion started by: appu2176
4 Replies

9. Shell Programming and Scripting

Removing these non-ASCII characters from a file

Hi, I have many text files which contain some non-ASCII characters. I attach the screenshots of one of the files for people to have a look at. The issue is even after issuing the non-ASCII removal commands one of the characters does not go away. The character that goes away is the black one with a... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies

10. Shell Programming and Scripting

Grep to remove non-ASCII characters

I have been having an encoding problem that I need to solve. I have an 4-column tab-separated file: I need to remove all of the lines that contain the string 'vis-à-vis' achiever-n vis-à-vis+ns-j+vp oppose-v 1 achiever-n vis-à-vis+ns-the+vg assess-v 1 administrator-n ... (4 Replies)
Discussion started by: owwow14
4 Replies
xmatrix(6x)							XScreenSaver manual						       xmatrix(6x)

NAME
xmatrix - simulates the computer displays from the movie SYNOPSIS
xmatrix [-display host:display.screen] [-window] [-root] [-install] [-visual visual] [-delay usecs] [-density percentage] [-top | -bottom | -both] [-small | -large] [-trace] [-mode mode] [-phone number] [-fps] DESCRIPTION
The xmatrix program draws the 2D "digital rain" effect, as seen on the computer monitors in the Wachowski brothers' film, "The Matrix". Also see glmatrix(6x) for a 3D rendering of the similar effect that appeared in the title sequence of the movie. OPTIONS
xmatrix accepts the following options: -window Draw on a newly-created window. This is the default. -root Draw on the root window. -install Install a private colormap for the window. -visual visual Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. -delay usecs The delay between steps of the animation, in microseconds: default 10000. -density percentage The approximate percentage of the screen that should be filled with characters at any given time. Default 75%. When running in a window, typing + will increase the density and typing - will decrease it. Typing 0 will momentarily drain the screen. -top | -bottom | -both If -top is specified, the characters will only drop in from the top of the screen as sliding columns of characters. If -bottom is specified, then instead of sliding columns, the characters will appear as columns that grow downwards and are erased from above. If -both is specified, then a mixture of both styles will be used. The default is -both. When running in a window, typing [ will switch to top-mode, typing ] will switch to bottom-mode, and typing will switch to both- mode. -small | -large These options specify the sizes of the characters. The default is -large. -mode trace Start off with a representation of a phone number being traced. When the number is finally found, display The Matrix as usual. This is the default. -phone number The phone number to trace, if -trace is specified. -mode crack Start off by shutting down the power grid. -mode binary Instead of displaying Matrix glyphs, only display ones and zeros. -mode hexadecimal Instead of displaying Matrix glyphs, display hexadecimal digits. -mode dna Instead of displaying Matrix glyphs, display genetic code (guanine, adenine, thymine, and cytosine.) -mode ascii Instead of displaying Matrix glyphs, display random ASCII characters. -mode pipe Instead of displaying random characters, display the output of a subprocess, as ASCII. -program sh-command The command to run to generate the text to display. This option may be any string acceptable to /bin/sh. The program will be run at the end of a pty or pipe, and any characters that it prints to stdout will be placed in the feeders for xmatrix. If the program exits, it will be launched again after xmatrix has processed all the text it produced. For example: xmatrix -program 'echo Hello World' xmatrix -ascii -program 'ps -eo comm | rev' xmatrix -program 'od -txC -w6 /dev/random' xmatrix -program 'cat /dev/random' ENVIRONMENT
DISPLAY to get the default host and display number. XENVIRONMENT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. SEE ALSO
glmatrix(6x), X(1), xscreensaver(1) COPYRIGHT
Copyright (C) 1999-2003 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. AUTHOR
Jamie Zawinski <jwz@jwz.org>, 25-Apr-99. X Version 11 5.15 (28-Sep-2011) xmatrix(6x)
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy