![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| run xclock from local solaris to remote solaris | panchpan | SUN Solaris | 9 | 06-30-2008 07:05 AM |
| jumpstart Solaris 10 on Solaris 9 server | salty | SUN Solaris | 5 | 01-22-2008 12:57 PM |
| Disk Mirror in Solaris 9 via Solaris Volume Manager | deal732 | SUN Solaris | 3 | 05-02-2007 08:43 AM |
| Running Solaris Sparc Apps on X86 Solaris | stocksj | UNIX for Dummies Questions & Answers | 1 | 12-12-2006 02:13 PM |
| trouble auto connecting ssh 3.6.1 (Solaris 8) to ssh 3.0.1 (Solaris 6) | falklandtim | SUN Solaris | 6 | 03-01-2005 05:45 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
vi under solaris
any of you guys seen when opening vi, the screen outputs very strangely. i can't actually see the file itself because the output is so altered. anyone seen this? i've tried editing TERM, EDITOR, DISPLAY... but nothing seems to work.
also to note, i am coming in through the LOM connection to this server. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Try:
TERM=vt100 export TERM on the server and set your terminal emulation setting to vt100/vt102. |
|
#3
|
||||
|
||||
|
... or if somehow you've resized the X window, try:
Code:
/usr/openwin/bin/resize |
|
#4
|
|||
|
|||
|
Usually I prefer to use vt100 unless I'm at the console.
export TERM=vt100 (for ksh) TERM=vt100;export TERM (bourne shell) examples: TERM=hp;export TERM TERM=sun;export TERM TERM=sun-cmd;export TERM normally after setting TERM, I will do a 'clear' command to test my TERM settings, if the screen clears then I'm alright, if it doesn't clear screen then TERM is wrong then you better be careful when you edit or vi anything. In vi mode if you suspect your TERM is wrong how do you know if you are typing on the right line or overwriting the correct word? If your TERM is wrong when you move the cursor using arrow keys it may sometimes garble up the screen, so how do you know if you are typing correctly? by pressing ctrl-l it will refresh the screen. But sometimes it is not so good to use arrow keys because it may give some special character esp if your TERM is incorrect. then you must know how to use the various commands in vi to move the cursor ard. Last edited by sparcguy; 06-11-2008 at 08:01 PM. |
|
#5
|
||||
|
||||
|
tried vt100 and no luck.
moved to dtterm and that seemed to work... kinda. still running into some issues every so often but its bearable for the time being. it's a fresh install and i've never had such problems but... problems = learning right. |
||||
| Google The UNIX and Linux Forums |