Re: Console problem

2010-02-19 Thread Jurif
 Yes you're right, i change *TERM=xterm-color* to *TERM=cons25* now it works
like charm

Thanks


On 18 February 2010 10:27, Matthew Seaman
m.sea...@infracaninophile.co.ukwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 18/02/2010 07:56, Jurif wrote:

  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.

 Sounds like you've got the wrong terminal type when logged in on the
 console.  By default, the console uses 'cons25' although this is
 frequently modified to a cons25-variant to support locales other than
 US-ASCII.  Look at /etc/ttys to see what terminal type you should be
 using.  Look at $TERM (and maybe $TERMCAP) in your environment to see
 what you actually are using.

 Unless you override the settings from your shell initialization files,
 your login session will pick up the setting from ttys(5)
 automatically.  Generally this works fine when logged in through a
 directly attached console,but can screw up if logged in via some
 console emulators or over a serial link.  Most such expect a vt100
 family terminal type, or a clone of that, particularly some variant of
 xterm nowadays.

 If for some reason you can't get everything to agree on what the
 terminal type should be, one trick is to run screen(1) or tmux(1),
 which will give you an xterm type for your session.

 If you really need the console to use xterm rather than cons25, then
 you can setup a kernel config file and build a new kernel  kernel to
 enable that.  This however is a last resort, and is hardly ever
 necessary.

 The difference you get when logging in via SSH is that it is the local
 terminal type on the system you're logging in from that gets used.
 Again, this should be handled automatically, and so long as /etc/termcap
 has a suitable entry, things will just work.

Cheers,

Matthew

 - --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAkt9CAYACgkQ8Mjk52CukIyy4QCfX/R07952t3bxRCWPGxLVx+//
 4PoAn2BKhQsLpEdIbHIMhAhwZd19EpMF
 =qb1V
 -END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Console problem

2010-02-17 Thread Jurif
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


The MAC portacl Module

2010-02-14 Thread Jurif
Hi!

I'd like to set security.mac.portacl.rules but my kernel doesn't include it

--$ sysctl security.mac.portacl.rules
sysctl: unknown oid 'security.mac.portacl.rules'


What options i need to add to kernel config file before i recompile kernel
to add support for this mac portacle ?

Regards,

Jurif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


The MAC portacl Module

2010-02-12 Thread Jurif
Hi!

I'd like to set security.mac.portacl.rules but my kernel doesn't include it

--$ sysctl security.mac.portacl.rules
sysctl: unknown oid 'security.mac.portacl.rules'


What options i need to add to kernel config file before i recompile kernel
to add support for this mac portacle ?

Regards,

Jurif
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Disk label problem

2010-02-04 Thread Jurif
Hi!

Few days ago some annoying things happened. At first I had FreeBSD 7  box
with one disk(SATA). When i added another dish (SATA)  my  box stuck when
booting up.

Somethink like this comes up:
Mountroot

And i need manualy mount disk because disk label has beed changed and then
edit fstab file.

Now i'd like to know if is possible to lock existing hard disk label to
prevent this in the future if i add another harddrive ?

Best Regards,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org