Frank, Might be easier to install THE. The Hessling Editor and Regina Rexx. Then put it into edit mode ... COMPAT XEDIT XEDIT XEDIT
Well, better for me anyway... lol. Jeff Sent from my iPad > On Jun 27, 2018, at 10:53 AM, Frank M. Ramaekers <[email protected]> > wrote: > > In all other (z)Linux installations, vi remembered the cursor position on > last editing session. In my ClefOS 7.4 install, it always open a session > with the cursor on line 1. I've checked /etc/.vimrc and ~/.vimrc. > > From googling this I found that it was possible that a portion of /etc/vimrc > was/is commented out: > > 14 " Only do this part when compiled with support for autocommands > 15 if has("autocmd") > 16 augroup redhat > 17 autocmd! > 18 " In text files, always limit the width of text to 78 characters > 19 " autocmd BufRead *.txt set tw=78 > 20 " When editing a file, always jump to the last cursor position > 21 autocmd BufReadPost * > 22 \ if line("'\"") > 0 && line ("'\"") <= line("$") | > 23 \ exe "normal! g'\"" | > 24 \ endif > 25 " don't write swapfile on most commonly used directories for NFS > mounts or USB sticks > 26 autocmd BufNewFile,BufReadPre /media/*,/run/media/*,/mnt/* set > directory=~/tmp,/var/tmp,/tmp > 27 " start with spec file template > 28 autocmd BufNewFile *.spec 0r /usr/share/vim/vimfiles/template.spec > 29 augroup END > 30 endif > > ~/.vimrc: > 1 :set number > 2 :set ignorecase > 3 :set smartcase > 4 :set incsearch > > What am I missing? > > Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | > American Income Life Insurance Company | 254-761-6649 (732-6649) > > ---------------------------------------------------------------------- > This message contains information which is privileged and confidential and is > solely for the use of the intended recipient. If you are not the intended > recipient, be aware that any review, disclosure, copying, distribution, or > use of the contents of this message is strictly prohibited. If you have > received this in error, please destroy it immediately and notify us at > [email protected]. > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
