Do you mean name completion?
That will depend of your configuration and environment, typically with ksh, you would have in your .profile:
To see if its something of the sort you were thinking about, just type:
And see if it works...
(Here its using Esc key twice...)
Enabling the arrow keys, insert key, and page up/page down keys in "vi" has to be done in a ".exrc" file in your home directory. See "man ex". The contents of the ".exrc" file depend on your terminal (or terminal emulator). For the root account I have more than one saved version and copy the one which matches the value of $TERM.
First check whether you have a ".exrc" file already to see whether you are going to edit it or create it.
The format of a .exrc file is very basic:
map key_you_press key_in_vi
map key_you_press key_in_vi
The "key_you_press" is the exact control sequence generated when you press that key. The "key_in_vi" is the key (e.g. "k") you would press in vi to get that effect.
I don't know how to generate a ".exrc" file using "vi". I use "echo" to generate mine.
For vt220 control sequences:
We have asked UNIX.com users over the years what is their favorite editor and why. Here is the top three answers.
Here is a new YT video on this question:
What Editor Does Everyone Use?
https://youtu.be/gqE8RTZZt9g
Of course, vi was the overwhelming favorite.
Credits:
1080 HD... (3 Replies)
I have a folder called "log" which has a few sub-folders say "fda" "fd7" "fdd" "fd6 .... "
I wish to fire the below command inside each subfolder starting with the folder with the latest time stamp.
grep "$greptime.*exit" Prod.$(hostname).log | grep $fdrdate_new
If the seach did not yield... (3 Replies)
Hi,
I need to mount a replicated nfs4 export on a number of AIX and Redhat hosts. To get the failover on the clients working smoothly, I need to change certain values on the AIX boxes like nfs_v4_fail_over_timeout, timeo and retrans values. Since I have no clue about Linux, I am not quite sure... (1 Reply)
Hi Guys,
I am used to configuring DHCP on Solaris and foreach subnet added I place a corresponding entry in /etc/netmasks. I am now looking at configuring DHCP on linux, is there an equivalnet entry required somewhere or is this not needed in linux
Thanks (3 Replies)
I moved to a Linux system from Windows a few months ago. Most of the programs I had been using were already native to Linux (Firefox, the GIMP, Pari, etc.) and most others I found a close enough program (Crimson Editor -> gedit, Visual Studio -> KDevelop, Primo -> Morain's ECPP).
Now I'm down... (1 Reply)
In IBM Mainframe they have something called ACF2 rule which is essentially used to control the dataset access. It is kind of a list-based access control for mainframe datasets.
Is there anything equivalent to ACF2 available in Unix ?
Thanks
Rabi (1 Reply)
Hi all,
I am preparing for a worst case scenario. Say i have a production server A, should A fails ( for whatever reason), i want another server B to take over. How can i move everything from A to B? Assuming i have regular backup of A.
I've searched in the forums, and briefly came across... (4 Replies)
Hi all...
In my Unix system a program exists called "daemon2" which is responsible to enqueue program executions. For example, if I want to make the system to enqueue lpr executions for certain users, I call daemon2 with lpr as the parameter.
Is there an equivalent in Linux?
Thanks
Jaime (0 Replies)