You are not logged in.

#1 2008-02-11 15:59:46

satimis
Member
Registered: 2007-03-03
Posts: 186

How to adjust terminal/console frame width

Hi folks,


Archlinux 86-64 2007-08-2


I have 20" wide LCD screen.  How to adjust the window frame size of terminal/console allowing typing to its end rather than after typing a few words the cursor jumps to the beginning overtyping the same line?  TIA


B.R.
satimis

Offline

#2 2008-02-11 16:26:38

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: How to adjust terminal/console frame width

huh? maybe a picture would be better. U can post them to imageshack or your own server and then up them here. Please do not post full size pic's though, use thumbnail.

Offline

#3 2008-02-11 16:50:51

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: How to adjust terminal/console frame width

I'm going to take a guess here, based on what you wrote.. I think what you are describing might be either a problem with your video card/framebuffer driver, or, you may have modified your PS1 prompt incorrectly.
Did you modify your PS1?

Offline

#4 2008-02-12 05:23:12

satimis
Member
Registered: 2007-03-03
Posts: 186

Re: How to adjust terminal/console frame width

Misfit138 wrote:

I'm going to take a guess here, based on what you wrote.. I think what you are describing might be either a problem with your video card/framebuffer driver, or, you may have modified your PS1 prompt incorrectly.
Did you modify your PS1?

Hi,


Yes, PS1 is what I need.  Previously I searched on wrong terms.


After commenting out "PS1='[\u@\h \W]\$ ' " I added follows;

BLUE=`tput setf 1`
GREEN=`tput setf 2`
CYAN=`tput setf 3`
RED=`tput setf 4`
MAGENTA=`tput setf 5`
YELLOW=`tput setf 6`
WHITE=`tput setf 7`
PS1='\[$GREEN\]\u@\h \[$BLUE\]\w/\[$GREEN\] \$\[$WHITE\] '

That is what I need to display on terminal/console. 

However I still can't manage to have "black" fore-ground (black characters on typing).  I played around on following variation without result.

BLUE=`tput setf 1`
GREEN=`tput setf 2`
CYAN=`tput setf 3`
RED=`tput setf 4`
MAGENTA=`tput setf 5`
YELLOW=`tput setf 6`
WHITE=`tput setf 7`
BLACK=`tput setf 8`
PS1='\[$GREEN\]\u@\h \[$BLUE\]\w/\[$GREEN\] \$\[$BLACK\] '
BLACK=`tput setf 1`
GREEN=`tput setf 2`
CYAN=`tput setf 3`
RED=`tput setf 4`
MAGENTA=`tput setf 5`
YELLOW=`tput setf 6`
WHITE=`tput setf 7`
PS1='\[$GREEN\]\u@\h \[$BLUE\]\w/\[$GREEN\] \$\[$BLACK\] '

Advice would be appreciated.  TIA


Besides how to change the colour on "nano"?  The characters are difficult to read on typing.  I need black characters on white background


satimis

Offline

Board footer

Powered by FluxBB