CentOS 7 ssh vi
Folks,
I am using a CentOS 7 machine and using konsole. When I ssh to a slackware machine and start vi, it doesn't start correctly, doesn't seem to start full screen. So I use vim which starts full screen. But in vim, I can't highlight, copy and paste. This works fine on CentOS 6 to slackware. And it works fine connecting CentOS 7 to CentOS 6. It's a long-shot, but... has anyone else run into this? |
I haven't run into what you have going on.
I'm willing to find out why with my 2 machine's as I'm running the same to distributions as you. I'm not on a server yet so I may not be able to ssh my CentOS 7 machine to Slackware or vice versa. If there is something I can run for you to test? With VM you can hold down Ctrl-Alt-Enter keys at the same to get full screen. I'm not sure if that will work in Vim but it can't hurt to try- Why you can't highlight, copy and paste in vim has me baffled. (you should be able to) Perhaps the PDF will be of some use. http://www.eandem.co.uk/mrw/vim/usr_doc/doc_a4m.pdf |
Z,
Thanks for the reply, at the moment I'm not doing anything about this because I don't know what to do. But, to replicate the issue: Open up a terminal on your CentOS 7 machine (I'm using Konsole 2.10.5). ssh to the Slack machine. On the Slack machine, vim a file. Now use the mouse to highlight text. Usually the text is copied by just highlighting, but not here ... So .... If I click 'Edit' up top, the copy is greyed out. If I right click the text, no menu, it undoes some of the highlighting. I know that highlighting text is a tricky thing, right now I'm just working around this. |
Quote:
|
No, LAMP is Linux + Apache + Mysql + PHP, which is a web server.
SSH is a secure shell, which requires the SSH Daemon be running on the target machine. |
Thanks szboardstretcher
I found a Commandline SSH User Guide- (read that a while) http://rcc.its.psu.edu/user_guides/r...nectivity/ssh/ |
Probably if you did a default install of Slackware ssh will be up and running.
|
Quote:
I did perform a default install-- |
Maybe try a different terminal to get full screen.
Or check the terminal variables against 6. Just an idea/suggestion:- |
Probably your TERM variable is not being set correctly when you log in via ssh. What does "echo $TERM" tell you when you log in? Try setting it to something conservative and sensible, like "vt100", then running vi.
|
All times are GMT -5. The time now is 07:28 AM. |