Sponsored Content
Operating Systems Solaris Solaris, vi (not vim), key bindings Post 302403157 by RTM on Thursday 11th of March 2010 04:56:56 PM
Old 03-11-2010
I would think that your issue would be fixed (or close to being fixed) if the TERM is set correctly for whatever you are using to connect to the SUN server.
Normally, I have to type the following for the backspace key to work (even when my TERM is correctly set for vt100). This normally has nothing to do with vi - does this on the command line too.

stty erase ^?

(Note that the ^? is what backspace produces - once the system knows that is what erase should be equal to, it works - I'm using Putty to connect).
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

key bindings

I'm using AIX 5.2 with ksh, I think it's ksh88 by default, and not ksh93. I would like to enable my arrow keys to ressamble bash behaviour. I don't know to what sequence of characters they're bound now. They do something but it's rather useless behaviour, meaning, unexpected and not very... (1 Reply)
Discussion started by: rein
1 Replies

2. Solaris

Mouse button bindings

Hello, On one of our Solaris machines the user has managed to destroy his mouse key bindings. Usally if he clicks the middle button it presents some applications but now it just minimises the CDE panel to the top. I have compared his /usr/dt/config/C/sys.dtwmrc with another machine that is... (0 Replies)
Discussion started by: Mr Pink
0 Replies

3. Solaris

Solaris 10 in vmware : vim hangs

Hello, I downloaded the vmware image of Solaris 10 Update 3 from the Sun site. I have a problem with vim when I edit a file while being connected through SSH to my vm: When I try to edit whatever file with vim, it freezes just after I've hit enter. vim works correctly when I run it in a... (1 Reply)
Discussion started by: Tex-Twil
1 Replies

4. UNIX and Linux Applications

vim in solaris 10

Hi I tried to install vim7.2 in solaris 10 x86 , installation completed but not able to get vim to be use. dependency binary: gtk+ , glib & ncurses install dependency binary package and then install vim7.2. #pkgadd -d vim-7.2-sol10-x86-local $ pkginfo SMCvim application SMCvim vim ... (4 Replies)
Discussion started by: bangbong
4 Replies

5. UNIX for Dummies Questions & Answers

VIM: Encryption key.

I'm having one doubt about the VIM ENCRYPTION key. I having a text file, I encrypted that file using :X vim -x filename Now, where the encrypted key is stored (path). Whether it stored in a separate file or the text file itself. If I open a the file it asked Encryption key. How it compare... (1 Reply)
Discussion started by: ungalnanban
1 Replies

6. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

7. UNIX for Dummies Questions & Answers

xemacs bindings help

Hi all , I would like to have a new binding so that if im having the cursur on a word, one shortcut click (say f3) whould find the next occurrence of the word in the text and so one. what is the right bind for it ? I tried but its wrong. thanks ! Zvika (1 Reply)
Discussion started by: zismad
1 Replies

8. Solaris

Solaris 8 ssh public key authentication issue - Server refused our key

Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks. ... (1 Reply)
Discussion started by: aixlover
1 Replies

9. UNIX for Dummies Questions & Answers

Solaris +vi (not vim) not using xterm termcap entry

Well, apparently anyway. I have a Solaris 10/08 install using vi (not vim) and when I use vi to edit a file or go into cron, the screen goes into 25/80 mode and I have to send a reset or hard reset to get it back to my screen size (190x72 in this case). vi should be using the TERM environment... (7 Replies)
Discussion started by: BOFH
7 Replies

10. Linux

GNU Screen key bindings....

After I do CTRL-" to show all of my screen sessions, I typically use the up and down arrows to navigate up and down. Suddenly this has changed, and instead only "j" and "k" seem to work for up and down. This has changed in the middle of my screen session. First one changed, and then the... (1 Reply)
Discussion started by: akbar
1 Replies
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.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy