Solved

Unixware 7.1.1 keymap

Posted on 2001-08-22
8
332 Views
Last Modified: 2013-12-16
My terminal charcters doesnt work correctly.

I get '[A$<200>' key when I try to use the 'arrow up' key (when I try to get the 'history').

I dont know what is the best shell for the Unixware (is it cshell or kshell?).

I get a strange prompt every line, (instead of getting the username only).

Thanks!

0
Comment
Question by:frida_harush
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6448646
> I get a strange prompt every line, (instead of getting the username only).

this sounds like you have set the PROMPT variable to something that your shell doesn't support.

Which shell do you use (echo $SHELL) ?
Which one do you prefer: csh, tcsh, ksh?
0
 

Author Comment

by:frida_harush
ID: 6448673
currently I work on cshell.
I read that it is prefered to work with ksh in SCO Unixware 7.1.1 is it correct?.
I used my Digital Unix .cshrc file and it didnt helped...
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6449885
csh is ok :-)
What's prefered on Unixware doesn't matter: this is UNIX, and so the user's choice .
Any .cshrc should work (some errors just may occour if it is a .cshrc designed for tcsh).
I assume that you have a variable setting for prompt in your .cshrc which causes the strange behaviour, please check.

In csh you cannot use up, down, etc. keys, except you manage to define an alias (woulod be hard).
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:frida_harush
ID: 6449912
I have UNIX (not UNIXWare) systems where all the keys work correctly (including the up and down keys).
I looked at "stty" command in Unix, but I didn't find any part about "up" and 'doun" keys.
is there a key mapping by "stty"?
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 6450018
traditional (AT&T, Sun) csh does not support these keys. Dot. Probably you have a UNIX systems which uses tcsh as csh (symbolic link) like Linux.
You might map the keys using loadkeymap, would be hard :-(
0
 
LVL 3

Expert Comment

by:mrn060900
ID: 6698667
try setting

ksh
TERM=vt100;export TERM

then try the cursor keys...

or you could try using

h j k l .... the real mans cursor keys ;-)

Regards Mike
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question