1 | #Posted-Date: Fri, 9 Mar 90 18:34:29 EST
|
---|
2 | #Date: Fri, 9 Mar 90 18:34:29 EST
|
---|
3 | #From: "Eirik Fuller" <wonton.tn.cornell.edu!eirik@ucsbcsl.UUCP>
|
---|
4 | #To: bfox@ai.mit.edu (Brian Fox)
|
---|
5 | #Subject: Patch to bash 1.05 for SunView
|
---|
6 | #
|
---|
7 | #I think this works:
|
---|
8 | #
|
---|
9 | Mu|sun-cmd:am:bs:km:pt:li#34:co#80:cl=^L:ce=\E[K:cd=\E[J:rs=\E[s:
|
---|
10 | #
|
---|
11 | #Another alternative is to send the ti string at startup time (and, I
|
---|
12 | #guess, the te string at exit time); that is how vi works in a cmdtool.
|
---|
13 | #The best reason to not do this is that this also disables scrolling
|
---|
14 | #which, as I understand it, is why anyone would use cmdtool in the
|
---|
15 | #first place. Sending the ti string at startup time would do strange
|
---|
16 | #things on other systems too; in xterm it would use the alternate
|
---|
17 | #screen.
|
---|
18 | #
|
---|
19 | #The problem with cmdtool, in case that is less than obvious, is that
|
---|
20 | #almost none of the capabilities advertised in /etc/termcap are enabled
|
---|
21 | #while scrolling is enabled. It has other problems too, like being
|
---|
22 | #part of an outdated proprietary windowing system, but there's probably
|
---|
23 | #no need to dwell on that. In a sense, though, the sun-cmd termcap
|
---|
24 | #entry doesn't lie about the capabilities; I think the termcap man page
|
---|
25 | #does warn about some terminals having cursor motion capabilities only
|
---|
26 | #in the "ti/te window".
|
---|
27 | #
|
---|
28 | #A general solution to this problem would require a termcap capability
|
---|
29 | #which somehow tells which features are available outside of the ti/te
|
---|
30 | #window. There is no such capability in termcap now, of course.
|
---|