🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by williams Sun, 21 Jan 1990 03:10
Re: problem with line updates on Sun
#851
Author: williams
Date: Sun, 21 Jan 1990 03:10
51 lines
2705 bytes
In article <8725@dime.cs.umass.edu>, williams@cs.umass.edu writes...
>Well, I just started using bash 1.04 on our Suns.  There seems to
>be a problem with the line being updated when scrolling though the
>history list or when editing a line.  The part of the line after
>the cursor is not being cleared and/or updated properly.  A ^L
>always produces the corrected line.  Sometimes the recalled line
>is dropped on top of the prompt instead of after it.
> 
+From: John Robinson <jr@BBN.COM>
+
+Sounds like maybe the termcap entry (for a hardware Sun console)
+doesn't match sunview's emulation of same.  To check, maybe try to
+remove capabilities from this description until the problem stops.
+bash (readline) shuold be pretty happy with a fairly dumb terminal
+descriptor.
+
+From what I know so far, this sounds like a sunview bug!
+
+From: eirik@elf.TN.Cornell.EDU
+
+Try using shelltool instead of cmdtool; I found that the command line
+editor works in the former but not the latter.  One apparent
+difference between the two is that only cmdtool has a scrollbar.  I
+guess there are differences in the emulation as well.  The default
+sunview configuration puts its shell in a cmdtool, so I'd guess that's
+what you are using.
+
+If this helps, it might be good to post a followup that mentions it as
+a workaround; I am sending this only to you.  I suspect that getting
+the command line editor to work right in a cmdtool would involve
+fixing a termcap; I doubt this is a bug in bash.

As the gentlemen above have pointed out, it seems to be termcap problem.
Screen is updating done properly in shelltool, but not in command tool.

Shelltool has TERM=sun and no TERMCAP.

Cmdtool has TERM=sun-cmd and TERMCAP=sun-cmd:te=\E[>4h:ti=\E[>4l:tc=sun:

The entry for sun-cmd in /etc/termcap is :te=\E[>4h:ti=\E[>4l:tc=sun:
The comment for this entry is "Sun Microsystems Workstation console with
scrollable history".

If I change TERM to sun and unset TERMCAP when in the command tool window, the
updating is still not done correctly.

Is the cause of this problem obvious to anyone?  Is there another workaround
then using shelltool - being able to scroll back and look at output is a handy feature!

Thanks!
Leo Pinard  c/o  williams@cs.umass.edu  leo@aai.uu.net  uunet!aai!leo
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads