[comp.sys.att] Two Weird Problems

jimmy@denwa.uucp (Jim Gottlieb) (05/23/89)

Two problems that are driving me crazy:

Incoming mail on some of our non-HDB sites is showing up without a
timezone in the From_ and Received: lines, causing the mail user agent
to ignore it.  It looks like

 From sharon 22 May 89 02:23:51
     (Mon) remote from kona

with a <CR> and a few spaces where the time zone should be.
It only happens 2% of the time, making tracking this down all the more
difficult.  I guess the solution is to upgrade to HDB, but I would
still like to hear from anyone who knows what this is.




Second problem:  In the last month or so I have started having problems
using vi over dial-up.  I use cu to dial into a few different systems,
and when I move the cursor to the right, several characters on my
screen get erased and I have to ^L to redraw the screen.  Again, this
problem just started happening recently.  The termcap entries on the
BSD systems I dial into have not been changed.  Again, I'm baffled.

Thanks...
-- 
                              Jim Gottlieb
  E-Mail: <jimmy@denwa.uucp> or <jimmy@pic.ucla.edu> or <attmail!denwa!jimmy>
         V-Mail: (213) 551-7702  Fax: 478-3060  The-Real-Me: 824-5454

vince@tc.fluke.COM (Craig Johnson) (05/25/89)

> From: jimmy@denwa.uucp (Jim Gottlieb)
> Message-ID: <295@denwa.uucp>
> 
> Second problem:  In the last month or so I have started having problems
> using vi over dial-up.  I use cu to dial into a few different systems,
> and when I move the cursor to the right, several characters on my
> screen get erased and I have to ^L to redraw the screen.  Again, this
> problem just started happening recently.  The termcap entries on the
> BSD systems I dial into have not been changed.  Again, I'm baffled.

I'm very familiar with this problem!  I frequently use a login on a
vt100 on tty000 to call out to a remote BSD system.  The problem is the
BSD system and the 3B1 have different default stty settings for tabs.
The BSD system thinks tab characters are OK to use and the 3B1 thinks
tabs should be expanded to spaces.  When vi is run on the remote
system, curses trys to optimize cursor positioning by issuing tabs when
appropriate.  Unfortunately, when the 3B1 expands tabs, spaces
overwrite characters on the screen.  To compound things, on the vt100
the 3B1 doesn't really know where the cursor is due to curses' direct
cursor addressing, and may end up expanding to the wrong number of
spaces.

The solution is to setup tab expansion (with stty) to be the same on
both the local and remote systems.  I execute "stty tabs" prior to
invoking cu.

I don't recall seeing this problem from the console, but I assume that
tabs expanded into spaces would at least have the same problem of over-
writing characters on the screen.


	Craig V. Johnson		...!fluke!vince
	John Fluke Mfg. Co
	Everett, WA

wtm@neoucom.UUCP (Bill Mayhew) (05/25/89)

You can exec uucico from a c program that exports the time zone and
various other things into uucico's environment.  I did this on
impulse, as I got tired of seeing mail arrive stamped with GMT
instead of the correct time.  You could also exec uucico from a
shell, but you'd be opening Pandora's security box.

As far as doing vi on a remote system via cu goes, it sounds like
the other system is timing-out on the keystrokes.  Best bet is to
use the h-j-k-l keys for cursor motion rather than the arrow keys
if the other system is heavily loaded.


Bill
wtm@impulse.UUCP