Re: tset?

1997-03-31 Thread Lindsay Allen
When I telnet in a w shows ttypx in lieu of the usual ttyx, so I need a test to determine which is in use. Pseudocode: if my TTY is ttypx set the screen size accordingly I can do line two, thanks to your suggestions but line one has me tricked. Lindsay

Re: tset?

1997-03-31 Thread Clint Adams
doing things sometimes. Your way works, though it leaves LINES and ROWS set to the old values. No problem of course. Is there some elegant test I can do to see if I am connect to a ttyx or a ttypx I wonder? Then I could automate the thing. You could do something like: if (expr $TTY :

tset?

1997-03-30 Thread Lindsay Allen
When telnetting into a remote Debian box I want to have the screen size set automatically to 100x40 to suit my home Debian box. At the moment I am using: export LINES=40 COLUMNS=100 after I log in. As I sometimes use the first box in local mode I want the screen size to depend on how I access

Re: tset?

1997-03-30 Thread Clint Adams
As I sometimes use the first box in local mode I want the screen size to depend on how I access it and I want it to stick when I su to root. I generally put something like this in login files (as well as aliasing it to 'rs'): eval `resize` stty cols $COLUMNS rows $LINES You may find it

Re: tset?

1997-03-30 Thread Paul Wade
I have .bashrc setup for remote login differences. I also have executable scripts in my home directory to account for other differences. I usually give them single-letter names because I am not a great typist. Paul Wade - Greenbush Technologies Corporation http://www.greenbush.com/cds.html Linux

Re: How to 'tset'

1996-05-13 Thread Ben Armstrong
On Mon, 13 May 1996 [EMAIL PROTECTED] wrote: Ben Armstrong [EMAIL PROTECTED] writes: Am I missing something? I don't see a tset, but I have all of the standard packages for Debian 0.93R6. Should I be using something else instead? Ditto for me. Please summarize what you learn

How to 'tset'

1996-05-11 Thread Ben Armstrong
Am I missing something? I don't see a tset, but I have all of the standard packages for Debian 0.93R6. Should I be using something else instead? Thanks! Ben -- Ben Armstrong -. Medianet Development Group, [EMAIL PROTECTED] `-.Dymaxion Research