[comp.sys.mac] VT100 emulation in vi

atreides@caladan.UUCP (System Administrator) (12/23/89)

In Article <5837@uhccux.uhcc.hawaii.edu>
friedman@uhccux.uhcc.hawaii.edu (Daniel Friedman) writes:
  | I've been having problems with Red Ryder's vt100 emulation while
  | trying to edit files with vi (on an Ultrix VAX, if that matters). As I
  | move the cursor along a line, the characters on the screen tend to
  | change their positions, generally moving themselves over one position.
  | I tried ZTerm, and saw similar behavior with its emulation. However,
  | Kermit 0.98 works perfectly, and I've been told that Versaterm does
  | too on our vax.   So my question is, where does the problem lie: the
  | emulator, the vax I'm  logged on to, or me? (I searched through the
  | Red Ryder manual for a solution,  to no avail.) Would upgrading to
  | White Knight solve this problem?

I also experience the same problem with VT100 and vi with RR and the
new White Knight.  It seems to be a chronic problem.  Pasting into vi is
also a particularly finicky affair, from White Knight.

Mac Kermit is great with vi, but is a dog when it comes to Kermit
transfers.. White Knight just rips with Kermit.. so it's worth keeping it
around.. 1/2 :-)

Never had a problem with vi with either VersaTerm, Acknowledge, or
Microphone.  If vi usage is important to you, it may be worth considering
one of these, rather than wait for yet another patch from Mr. Watson.

  | Thanks, Dan Friedman (friedman@uhccux.uhcc.hawaii.edu,
  | friedman@uhccux.bitnet)

Best of luck, Dan.

--
Stuart Burden
root@caladan.uucp

atreides@caladan.UUCP (System Administrator) (12/23/89)

In a recent article folta@tove.umd.edu (Wayne Folta) writes:
  | I have two fixes that always seem to get RR and WK working with vi:

  | 1. Make sure your tabs are set correctly.  The tab stops should be
  | 9, 17, 25, ....  NOT 8, 16, 24,....  (This is the preferred solution.)

  | 2. In the shell, do "stty -tabs" to disable tabs.  (Less preferred,
  | since it slows things down, and doesn't work on non-UNIX machines.)

  | As for pasting into vi, be careful if you have auto-indent set.  If
  | you cut a bunch of stuff with leading whitespace, each line will
  | autoindent to the whitespace of the previous line, then add its own
  | whitespace.  This results in a diagonal flow across the screen. --

Thanks for the suggestions, but no-go.  I never use tabs in vi and rarely
use leading spaces when pasting text into vi.

Generally WK starts to "lose it" after entering and exiting insert mode..
but sometimes it will start to corrupt the screen just by scrolling around
in the document.

  | Wayne Folta (folta@cs.umd.edu  128.8.128.8)

--
Stuart Burden
root@caladan.uucp

friedman@uhccux.uhcc.hawaii.edu (Daniel Friedman) (12/28/89)

  I've been having problems with Red Ryder's vt100 emulation while
trying to edit files with vi (on an Ultrix VAX, if that matters). As I
move the cursor along a line, the characters on the screen tend to
change their positions, generally moving themselves over one position.
I tried ZTerm, and saw similar behavior with its emulation. However,
Kermit 0.98 works perfectly, and I've been told that Versaterm does too
on our vax.
  So my question is, where does the problem lie: the emulator, the vax I'm 
logged on to, or me? (I searched through the Red Ryder manual for a solution, 
to no avail.) Would upgrading to White Knight solve this problem?

Thanks,
Dan Friedman (friedman@uhccux.uhcc.hawaii.edu,  friedman@uhccux.bitnet)

mgodwin@rpp386.cactus.org (Mike Godwin) (12/29/89)

In article <5837@uhccux.uhcc.hawaii.edu> friedman@uhccux.uhcc.hawaii.edu (Daniel Friedman) writes:
>
>  I've been having problems with Red Ryder's vt100 emulation while
>trying to edit files with vi (on an Ultrix VAX, if that matters). As I
>move the cursor along a line, the characters on the screen tend to
>change their positions, generally moving themselves over one position.
>I tried ZTerm, and saw similar behavior with its emulation. However,
>Kermit 0.98 works perfectly, and I've been told that Versaterm does too
>on our vax.
>  So my question is, where does the problem lie: the emulator, the vax I'm 
>logged on to, or me? (I searched through the Red Ryder manual for a solution, 
>to no avail.) Would upgrading to White Knight solve this problem?

Things to try:
    o  Make sure that you are using a monospace font.
    o  Set 'relative origin mode' to OFF
    o  in fact, all I have turned ON is 'wraparound', 'autorepeat' and 'keypad'
       modes.
    o  It seems obvious, but make sure your Terminal Preference is VT100..:-)

VT100 mode works fine for me, I even use elm with no problems, and that usually
tests out an emulator...

Hope this helps,

-- 
Mike Godwin   UT Law School  | "I don't posture,                               
mgodwin@rpp386.cactus.org    |    and I don't sneeze,                         
(512) 346-4190               |        and I don't share my Tastee-Freeze..."   
cs.utexas.edu!rpp386!mgodwin |  [the Badger raps with some bad guys...]       

folta@tove.umd.edu (Wayne Folta) (12/29/89)

"I also experience the same problem with VT100 and vi with RR and the
"new White Knight.  It seems to be a chronic problem.  Pasting into vi is
"also a particularly finicky affair, from White Knight.

I have two fixes that always seem to get RR and WK working with vi:

   1. Make sure your tabs are set correctly.  The tab stops should be
      9, 17, 25, ....  NOT 8, 16, 24,....  (This is the preferred solution.)
   2. In the shell, do "stty -tabs" to disable tabs.  (Less preferred, since
      it slows things down, and doesn't work on non-UNIX machines.)

As for pasting into vi, be careful if you have auto-indent set.  If you
cut a bunch of stuff with leading whitespace, each line will autoindent
to the whitespace of the previous line, then add its own whitespace.  This
results in a diagonal flow across the screen.
--


Wayne Folta          (folta@cs.umd.edu  128.8.128.8)

harrys@tons61.UUCP (Harry Skelton) (12/29/89)

In article <5837@uhccux.uhcc.hawaii.edu> friedman@uhccux.uhcc.hawaii.edu (Daniel Friedman) writes:
>
>As I move the cursor along a line, the characters on the screen tend to
>change their positions, generally moving themselves over one position.
>I tried ZTerm, and saw similar behavior with its emulation. However,
>Kermit 0.98 works perfectly, and I've been told that Versaterm does too
>on our vax.
>
>Thanks,
>Dan Friedman (friedman@uhccux.uhcc.hawaii.edu,  friedman@uhccux.bitnet)


The problem is in the VAX.  I had the problem here with RR and ZT but all I 
did was to 'stty -tabs' and that took care of the problem.  Also I noted that
the ver .7x of ZT screws up the screen under vi but after switching to .8x
then all was resolved.

Personal note: although Zterm does not have scripting ablilities, not being
a modem power user, I have no need for them.  Zterm is easier to handle and 
not as complex for novice users to work with.  It also is smart in regards
to file types that are being downloaded and ZModem transfers.  RR is not and 
has no Zmodem abilities.  I have yet to get a copy of White Knight for 
evaluation.  Any BBS that has it?
-- 
Harry Skelton - Senior Systems Administrator - U.S. Dept. of Transportation
   ..!attctc!tons61!harrys ..!obdient!tons61!harrys ..!tfd!tons61!harrys
[  Views expressed by Harry Skelton are not those of the US Gov. or CBSI  ]

alh@pyrnova (Alan Holzman) (12/30/89)

There appears to be an inordinate interest and excitement regarding 
the Red Ryder / White Knight product. A few of us tried it and were 
surprised at RR's unstable and unpredictable nature and the abstruseness 
of the interface. It seems to require a person that really enjoys hacking
around with all of the various and sundry settings, gadgets, widgets and
other assorted contrivances. 
 
While we are now content with Zterm 0.85 (for UNIX VT-100 emulation and 
very fast zmodem file transfers), if you are one of the aforementioned 
personality types (or just curious), we have an offer for you to consider.
 
We have two copies of Red Ryder 10.3 (both with the doc.) that we are 
willing to sell for $ 25- each ... shipping included & no tax of course.
As there was no registration offered by Freesoft, transfer of the 
Master Disk and documentation should be acceptable. This is an 
inexpensive way to either later upgrade to White Knight or to simply
try RR for yourself. 
 
If you would like to try it, send me Email or give a call ... 

Al Holzman                 |  Internet = alh@pyrnova.pyramid.com (always)
Pyramid Technology Corp.   |  UUCP = pyramid!pyrnova!alh
1295 Charleston Road       |  Compuserve = 76665,3406 (frequently)
Mt. View, CA. 94043        |  Connect = AlHolzman (occasionally)
(415) 335-8951             |  FAX (415) 967-4344

macak@lakesys.lakesys.com (James Macak) (12/31/89)

In article <155@tons61.UUCP> harrys@tons61.UUCP (Harry Skelton) writes:
>In article <5837@uhccux.uhcc.hawaii.edu> friedman@uhccux.uhcc.hawaii.edu (Daniel Friedman) writes:

>>As I move the cursor along a line, the characters on the screen tend to
(Several lines deleted.)

>>Dan Friedman (friedman@uhccux.uhcc.hawaii.edu,  friedman@uhccux.bitnet)

>The problem is in the VAX.  I had the problem here with RR and ZT but all I 
(Several lines deleted.)
>... has no Zmodem abilities.  I have yet to get a copy of White Knight for 
>evaluation.  Any BBS that has it?

Oops.  Sorry, but White Knight 11.0x is commercial software.  Just like Red
Ryder 10.0 and later.  WK is available from the Freesoft Company.

By the way, the Z-modem transfer capability in WK 11.02 works just fine for
me, auto-start and all, just as well as Z-Term's in my limited comparison
between the two.  I still have some problems with the vt100 emulation in WK,
but nothing major.  Versaterm's emulation remains the fastest and smoothest
I've seen.

Jim

-- 

macak@lakesys.lakesys.com (James Macak)
      << All my own opinions. >>

james968@walt.cc.utexas.edu (James Hammett) (12/31/89)

In article <2bbd2b572@caladan.UUCP> atreides@caladan.UUCP (root/postmaster/etc) writes:

>I also experience the same problem with VT100 and vi with RR and the
>new White Knight.  It seems to be a chronic problem.  Pasting into vi is
>also a particularly finicky affair, from White Knight.
>
>Mac Kermit is great with vi, but is a dog when it comes to Kermit
>transfers.. White Knight just rips with Kermit.. so it's worth keeping it
>around.. 1/2 :-)

>Stuart Burden
>root@caladan.uucp

When I try to use RR to download a program the mainframe and RR behaive as if  
nothing has happened. If I monkey around I can get it to work for a few second.d
This even happens on prewired MICOM lines at 9600bd.  Since you say that RR rips
with Kermit protocol do you know what needs to be changed?  

				thanks,
				james968@sleepy.cc.utexas.edu
 

folta@tove.umd.edu (Wayne Folta) (12/31/89)

In article <2bbd2b574@caladan.UUCP> atreides@caladan.UUCP (root/postmaster/etc) writes:
"Thanks for the suggestions, but no-go.  I never use tabs in vi and rarely
                                         ^^^^^^^^^^^^^^^^^^^^^^
"use leading spaces when pasting text into vi.

There is still hope for my suggestion.  You may not use tabs, but vi does.
It is smart enough to stick them in whenever it can save in transmitted
characters.  You never have to hit the TAB key to get a tab inserted into
a file or printed to your screen--even if there is not one in your file--by
vi.  (As far as I understand vi, anyhow.)
--


Wayne Folta          (folta@cs.umd.edu  128.8.128.8)