bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in stty???


From: Bob Proulx
Subject: Re: bug in stty???
Date: Fri, 22 Jul 2005 18:42:08 -0600
User-agent: Mutt/1.5.9i

Anders Gr�nlund wrote:
> Hi.

Did you know that your from address is not encoded with a charset?
That means that it will not show correctly in many environments.

> Is there a bug in stty?

Not that we know about.

> I've tried to set my terminal settings with:
> 
> "stty rows 50 columns 160"
> 
> but the only result is that the terminal freezes.

That seems really strange.

> I have a 2.6.12-gentoo-r4 kernel and an HP Omnibook 6000.

It works for me on every type of machine I tried.  (shrug)

But you should not ever need to set the stty row settings manually.
Since SIGWINCH is now standard in operating system kernels when you
resize the window the terminal will ask for the current size.
Therefore even if you set the size with an stty operation it will be
overwritten the next time you resize the window.  You simply should
not need to set those values manually.

If you have xutils installed which includes 'resize' then you can get
an affect which I will guess is what you are looking for this way.

  resize -s 50 160

That will resize most terminals.  Although many terminals do not
support that functionality.  YMMV.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]