Re: How to increase scrollback for FreeBSD-4.10

2004-08-17 Thread Mike
stheg olloydson wrote:
you said:

I have a FBSD-4.10 system that I log into using PuTTY (on a Win2K 
workstation).  I am able to set PuTTY's  scrollback to 1200 lines.

Hello,
Unfortunately, I do not have a solution to your problem. I just wanted
to pass along some information concerning PuTTY from a security news
letter to which I subscribe:

04.31.4 CVE: Not Available
Platform: Third Party Windows Apps
Title: PuTTY Remote Buffer Overflow
Description: PuTTY is a free Telnet and SSH client. It has been
reported that PuTTY is subject to a pre-authentication buffer overflow
that can allow malicious servers to execute code on a client machine
as it attempts to negotiate connection. PuTTY 0.54 and previous
versions are vulnerable.
Ref:
http://www.coresecurity.com/common/showdoc.php?idx=417idxseccion=10 

Note that the URL may have wrapped.
Regards,
Stheg
Stehg
Thanks for the security note/update on putty!  I'm using version 5.5 now.
Michael



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread Mike
Greetings:
I have a FBSD-4.10 system that I log into using PuTTY (on a Win2K 
workstation).  I am able to set PuTTY's  scrollback to 1200 lines.

When I'm on the 4.10 box the scrollback is about 200 lines. If possible 
I'd like to set the  scroll back to 600 lines or so (at least).

Question: How do I increase the scrollback on 4.10?
Note: The video card on the 4.10 box is a Voodoo3-2000 (16 Mb) card.
I searched the FBSD mail archives going back to 2003 and could not find 
a single reference.  I also googled and could not turn up anything 
specific to FBSD.

Hints?
Thanks,
Michael
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread Michael Clark

 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 16, 2004 8:59 AM
 To: freebsd-questions
 Subject: How to increase scrollback for FreeBSD-4.10?
 
 
 Greetings:
 
 I have a FBSD-4.10 system that I log into using PuTTY (on a Win2K 
 workstation).  I am able to set PuTTY's  scrollback to 1200 lines.
 
 When I'm on the 4.10 box the scrollback is about 200 lines. 
 If possible 
 I'd like to set the  scroll back to 600 lines or so (at least).
 
 Question: How do I increase the scrollback on 4.10?
 
 Note: The video card on the 4.10 box is a Voodoo3-2000 (16 Mb) card.
 
 I searched the FBSD mail archives going back to 2003 and 
 could not find 
 a single reference.  I also googled and could not turn up anything 
 specific to FBSD.
 
 Hints?
 
 Thanks,
 Michael

kbdcontrol

http://groups.google.com/groups?q=FreeBSD+Console+increasehl=enlr=ie=UTF-
8selm=5q1lq7%24bjg%241%40nikko.utsunomiya-u.ac.jprnum=2

Michael Clark
Nemschoff Chairs Inc
mclark at nemschoff dot com
CompTIA A+, Network+, Server+, MCP
Voice: (920) 457 7726 x294
Fax:  (920) 453 6594


CONFIDENTIALITY NOTE: This electronic transmission, including all
attachments, is directed in confidence solely to the person(s) to whom it is
addressed, or an authorized recipient, and may not otherwise be distributed,
copied or disclosed. The contents of the transmission may also be subject to
intellectual property rights and all such rights are expressly claimed and
are not waived. If you have received this transmission in error, please
notify the sender immediately by return electronic transmission and then
immediately delete this transmission, including all attachments, without
copying, distributing or disclosing same. 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread Matthew Seaman
On Mon, Aug 16, 2004 at 06:58:57AM -0700, Mike wrote:

 When I'm on the 4.10 box the scrollback is about 200 lines. If possible 
 I'd like to set the  scroll back to 600 lines or so (at least).
 
 Question: How do I increase the scrollback on 4.10?

That depends on the console program you're using.  For an xterm(1),
the following in ~/.Xdefaults will give you 8k scrollback lines:

xterm*saveLines:8192

(Remember to run '/usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefaults' out
of .xsession or .xinit so that gets set every time you log in)

For the system console, you'll need to play with the syscons(4)
history size.  Modify your kernel configuration to set

options SC_HISTORY_SIZE=N

where N is the number of lines of scroll back you want (default 100).
Then build and install a new kernel in the usual way:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

There doesn't seem to be any way of achieving the same effect via
sysctl(8), which is unfortunate.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpNChokvi650.pgp
Description: PGP signature


Re: How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread Matthew Seaman
On Mon, Aug 16, 2004 at 03:09:30PM +0100, Matthew Seaman wrote:
 On Mon, Aug 16, 2004 at 06:58:57AM -0700, Mike wrote:
 
  When I'm on the 4.10 box the scrollback is about 200 lines. If possible 
  I'd like to set the  scroll back to 600 lines or so (at least).
  
  Question: How do I increase the scrollback on 4.10?
 
 That depends on the console program you're using.  For an xterm(1),
 the following in ~/.Xdefaults will give you 8k scrollback lines:
 
 xterm*saveLines:8192
 
 (Remember to run '/usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefaults' out
 of .xsession or .xinit so that gets set every time you log in)
 
 For the system console, you'll need to play with the syscons(4)
 history size.  Modify your kernel configuration to set
 
 options SC_HISTORY_SIZE=N
 
 where N is the number of lines of scroll back you want (default 100).
 Then build and install a new kernel in the usual way:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
 
 There doesn't seem to be any way of achieving the same effect via
 sysctl(8), which is unfortunate.

Except of course, for the kbdcontrol(1) program which I am reminded
does all that sort of stuff.  Changing SC_HISTORY_SIZE will let you
alter the default size of the history buffer, kbdcontrol(1) lets you
override that to whatever value you want.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0L7HCs5ELr.pgp
Description: PGP signature


RE: How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread JJB
[EMAIL PROTECTED] wrote:
 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 16, 2004 8:59 AM
 To: freebsd-questions
 Subject: How to increase scrollback for FreeBSD-4.10?


 Greetings:

 I have a FBSD-4.10 system that I log into using PuTTY (on a Win2K
 workstation).  I am able to set PuTTY's  scrollback to 1200
lines.

 When I'm on the 4.10 box the scrollback is about 200 lines.
 If possible
 I'd like to set the  scroll back to 600 lines or so (at least).

 Question: How do I increase the scrollback on 4.10?

 Note: The video card on the 4.10 box is a Voodoo3-2000 (16 Mb)
card.

 I searched the FBSD mail archives going back to 2003 and
 could not find
 a single reference.  I also googled and could not turn up
anything
 specific to FBSD.

 Hints?

 Thanks,
 Michael

 kbdcontrol



Scroll Lock History
While your system boots, probe messages scroll across the consoles
screen so fast that you can not read them. Or when you list the
contents of a large directory the same thing happens. The messages
may have scrolled off your screen, but they are still in the screen
buffer. You can redisplay the messages from the screen buffer. You
hit the keyboard 'scroll lock' button, (IE: top row right side) and
then use the keyboard up arrow button to scroll back through the
screen buffer to redisplay the message lines. The 'page up' and
'page down' buttons also work to move backward and forwards through
the screen buffer one full screen page at a time. Hit the 'scroll
lock' button again when you are finished to return to the command
line prompt.

The default size of the screen buffer is to small to contain all the
boot messages, so it should be increased to 200 lines.


This is how you increase the size of the screen buffer.


Add the -h 200 option onto the allscreens_flags= statement you
already added to the /etc/rc.conf file

ee /etc/rc.conf

and add this statement,

allscreens_flags=–h 200  # -h size of scroll lock buffer in number
of lines

Save the changed file and ‘reboot’ your system for your edit changes
to take effect.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread doug
On Mon, Aug 16, 2004 at 03:09:30PM +0100, Matthew Seaman wrote:
 On Mon, Aug 16, 2004 at 06:58:57AM -0700, Mike wrote:
 
  When I'm on the 4.10 box the scrollback is about 200 lines. If possible 
  I'd like to set the  scroll back to 600 lines or so (at least).
  
  Question: How do I increase the scrollback on 4.10?
 
 That depends on the console program you're using.  For an xterm(1),
 the following in ~/.Xdefaults will give you 8k scrollback lines:
 
 xterm*saveLines:8192
 
 (Remember to run '/usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefaults' out
 of .xsession or .xinit so that gets set every time you log in)
 
 For the system console, you'll need to play with the syscons(4)
 history size.  Modify your kernel configuration to set
 
 options SC_HISTORY_SIZE=N
 
 where N is the number of lines of scroll back you want (default 100).
 Then build and install a new kernel in the usual way:
 
xterm like programs allow the -sl switch lines.  I've had problems with
numbers approaching 32767 but have never nailed down exactly how many
lines I can save.  I safely use -sl 3 for xterm, rxvt, aterm, and
gnome-terminal.

This would be an excellent topic to include in the fortune file:
freebsd-tips


-- 
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread Giorgos Keramidas
On 2004-08-16 09:21, [EMAIL PROTECTED] wrote:
 On Mon, Aug 16, 2004 at 03:09:30PM +0100, Matthew Seaman wrote:
  On Mon, Aug 16, 2004 at 06:58:57AM -0700, Mike wrote:
   When I'm on the 4.10 box the scrollback is about 200 lines. If
   possible I'd like to set the scroll back to 600 lines or so
   (at least).
  
   Question: How do I increase the scrollback on 4.10?
 
  That depends on the console program you're using.  For an xterm(1),
  the following in ~/.Xdefaults will give you 8k scrollback lines:
 
  xterm*saveLines:8192

 xterm like programs allow the -sl switch lines.  I've had problems with
 numbers approaching 32767 but have never nailed down exactly how many
 lines I can save.  I safely use -sl 3 for xterm, rxvt, aterm, and
 gnome-terminal.

I use screen most of the time in my terminal sessions, which also
includes a nice option for scrollback.  Putting the following in my
~/.screenrc file works like a charm:

defscrollback 1

This is IMHO a bit more preferable than using syscons scrollback,
because syscons allocates memory inside the kernel for the scrollback
buffer IIRC.  I tend to prefer userspace allocations when possible, like
the xterm -sl or screen's scrollback.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to increase scrollback for FreeBSD-4.10?

2004-08-16 Thread Mike
Giorgos Keramidas wrote:
On 2004-08-16 09:21, [EMAIL PROTECTED] wrote:
On Mon, Aug 16, 2004 at 03:09:30PM +0100, Matthew Seaman wrote:
On Mon, Aug 16, 2004 at 06:58:57AM -0700, Mike wrote:
When I'm on the 4.10 box the scrollback is about 200 lines. If
possible I'd like to set the scroll back to 600 lines or so
(at least).
Question: How do I increase the scrollback on 4.10?
That depends on the console program you're using.  For an xterm(1),
the following in ~/.Xdefaults will give you 8k scrollback lines:
   xterm*saveLines:8192
xterm like programs allow the -sl switch lines.  I've had problems with
numbers approaching 32767 but have never nailed down exactly how many
lines I can save.  I safely use -sl 3 for xterm, rxvt, aterm, and
gnome-terminal.

I use screen most of the time in my terminal sessions, which also
includes a nice option for scrollback.  Putting the following in my
~/.screenrc file works like a charm:
defscrollback 1
This is IMHO a bit more preferable than using syscons scrollback,
because syscons allocates memory inside the kernel for the scrollback
buffer IIRC.  I tend to prefer userspace allocations when possible, like
the xterm -sl or screen's scrollback.
 
Greetings:
Thank you for the tips!!!
I went and tried this using this kdbcontrol command in my .cshrc:
# added to increase scrollback to 1000
/usr/sbin/kbdcontrol -h 1000
This gave me 1,000 lines when I'm logged into the console however, it 
resulted in a Inapproriate ioctrl for device error when using xterm 
(xfterm4) under xfce4.

So I removed the kdbcontrol from my .cshrc and used a -sl 3000 
option to launch xfterm4.

So launching xfterm4 -sl 3000 now does the trick!
Regards,
Michael

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]