09-21-2005
Garbage characters in display
I recently left managment and came back to AIX administration. So I am a bit rusty to say the least. The issue I am having is with the term settings when I either simply telnet to my AIX unit or even when I use an emulator like puTTY or a VAR provided one. Once I am logged into AIX I get a lot of garbage characters throughout the screen. I've tried setting TERM = VT100, TERM=IBM3151, TERM=DG4250. None of them work right. It seems I remember there is a little command line fix that you can also incorporate into your .profile, that fixes this, but for the life of me I can't remember it or find it anywhere. Any assistance would be really appreciated!!!
9 More Discussions You Might Find Interesting
1. AIX
Hi,
Does anybody have a command to share that will display EBCDIC files as character?
I have od -x -A d
which will display hex as follows
f0f1 f4f3 f0f0 f0f0 f0f6 f1f4 f6f3 f3f0
f3f9 f8f3 f1f6 f8f2 f860 d1e4 d360 f2f0
f0f5 4000 0000 5014 8c00 0000 0000 0c00
0000 0000 0d00 0000 5014 8c00... (1 Reply)
Discussion started by: LouPelagalli
1 Replies
2. UNIX for Advanced & Expert Users
Gurus,
I've been on computers for a while, but I've yet to have the behind-the-scenes knowledge. I'm not sure if this is so much a Unix question as it is a nitty gritty computer one.
We received a customer file which had a "funny apostrophe." When displaying the file via more, the character... (1 Reply)
Discussion started by: effigy
1 Replies
3. Programming
Hi Dear,
I have written a small C/C++ aplication which is using ncurses library. When the application runs, some times some unknown characters are displayed on the screen. It happens some times and on some pc's. I have used "mvwprintw" for displaying text of my own will and proper use of... (1 Reply)
Discussion started by: iali
1 Replies
4. Shell Programming and Scripting
I have a file that evidently has some special characters in it. Is there a Unix command that I can use tp display the file so I can see the octal or hex values? (2 Replies)
Discussion started by: BCarlson
2 Replies
5. Shell Programming and Scripting
Hi All,
I have a series of number which indicates the coordinates
where 0104 indicates X-coord = 01 and Y-coord = 04 and i want characters to form up in accordance to the coordinates given.
Can any expert give me an example of 2D array code using csh or awk or perl such that the code can... (16 Replies)
Discussion started by: Raynon
16 Replies
6. Shell Programming and Scripting
Using sed or awk, I need to display text between two words/characters. Below are two example inputs and the desired output. In a nutshell, I need the date-range value between the quotes (but only the first occurance of date-range as there can be more than one).
Example One Input:
xml-report... (1 Reply)
Discussion started by: cmichaelson
1 Replies
7. UNIX and Linux Applications
I don't know if this is the correct thread to post. If not tell me please.
I have a script to make some queries to a Spanish Dictionay (Real Academia Espaņola) as follows:
lynx -dump --nolist "buscon.rae.es/draeI/SrvltGUIBusUsual?TIPO_ HTML=2&LEMA="$1
It works this way:
./rae word
... (1 Reply)
Discussion started by: agasamapetilon
1 Replies
8. Shell Programming and Scripting
I have a file with one or two lengthy lines like....
masterUserID = 'S' OR masterUserID = 'S' OR masterUserID = 'S' (many many more times)
How do I display only the first few hundred characters from each line. (1 Reply)
Discussion started by: shantanuo
1 Replies
9. UNIX for Dummies Questions & Answers
how do i Display only the first two characters of all the lines from a file.? (1 Reply)
Discussion started by: ritusubash
1 Replies
LEARN ABOUT OPENSOLARIS
profile
profile(4) File Formats profile(4)
NAME
profile - setting up an environment for user at login time
SYNOPSIS
/etc/profile
$HOME/.profile
DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence.
/etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement
of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special
actions for the root login or the su command.
The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 022
# Tell me when new mail comes in
MAIL=/var/mail/$LOGNAME
# Add my /usr/usr/bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid
while :
do
if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ]
then break
elif [ -f /usr/share/lib/terminfo/?/$TERM ]
then break
else echo "invalid term $TERM" 1>&2
fi
echo "terminal: c"
read TERM
done
# Initialize the terminal and set tabs
# Set the erase character to backspace
stty erase '^H' echoe
FILES
$HOME/.profile user-specific environment
/etc/profile system-wide environment
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5)
Solaris Advanced User's Guide
NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most
global needs.
SunOS 5.11 20 Dec 1992 profile(4)