DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th February 2010
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Default Console problem

Hi!

I have some problems with console (freebsd 7.2). When i press up arrow keyboard button to repeat previous command (history) and try to edit this line can't because overwrite text... Also have issue with text editor like emacs when type or press enter "25E" string apear again and again

All this things doesn't happen if i connect to box via SSH (pseudo terminal). In pseudo terminal all works perfect.

Regards,

Jurif
__________________
If anything can go wrong, it will. If it can't, it will anyway
Reply With Quote
  #2   (View Single Post)  
Old 18th February 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You probably have some messed up terminal settings, what is the TERM environment variable set to? Try setting it to cons25.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 18th February 2010
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Default

Yes you're right, i change TERM=xterm-color to TERM=cons25 now it works like charm
__________________
If anything can go wrong, it will. If it can't, it will anyway
Reply With Quote
  #4   (View Single Post)  
Old 20th February 2010
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Default

I removed TERM variable from my .bash_profile to pick up the setting from ttys automatically.

So now all editor works fine but tmux doesn't works from pseudoterminal.

Quote:
[abuser@gw:~] $ echo $TERM
vt100
[abuser@gw:~] $
Quote:
[abuser@gw:~] $ tmux new
open terminal failed: terminal does not support il1 or il
[abuser@gw:~] $

If i try to set TERM manualy to cons25 then tmux works but emacs doesn't works properly


Can you help me ?
__________________
If anything can go wrong, it will. If it can't, it will anyway
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
log in to console and startx in os x questionguy Other BSD and UNIX/UNIX-like 11 25th August 2009 05:27 AM
X kills console text IdOp OpenBSD General 12 12th May 2009 06:12 PM
Setting up the serial console PeterSteele FreeBSD General 6 3rd November 2008 04:42 PM
Console Resolution Problem kienjakenobi FreeBSD General 19 12th September 2008 12:20 PM
Console Fonts JMJ_coder General software and network 6 10th September 2008 09:57 PM


All times are GMT. The time now is 11:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick