support
In-Reply-To: <49359BBE.8070406 at opensolaris.org>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_3170_12015924.1228276493423"
------=_Part_3170_12015924.1228276493423
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
> No it hasn't. The terminfo doesn't define the keys
> so that they get
> sent to the terminal application. As such, if I hit
> page up or page
> down in a terminal, I just get '~' characters instead
> of my cursor
> moving to the beginning and end of line.
Yes, that's extremely annoying. I expect gnome-terminal to scroll vertically
when I press any of the `Page' keys. Moving to the beginning or end of the
command line is something defined in your shell. I use ^a and ^e for that.
This is yet another default that should initially have some reasonable setting.
You can't expect beginners to begin by learning how to change all of the
settings.
One thing we do during a Custom Jumpstart installation is to replace Sun's xterm
definition with one our our own. This makes gnome-terminal behave in a
reasonable manner. Last I heard, both xterm and gnome-terminal terminal
emulators expect terminal type `xterm'. The definition that we use has been
carefully constructed to work with both of them under Solaris 9 and 10. I'll
attach a copy.
--
This message posted from opensolaris.org
------=_Part_3170_12015924.1228276493423
Content-Type: application/octet-stream; name=xterm.ti
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=xterm.ti
# Based on xterm-basic from XFree86, with modifications to suit
# the Solaris 9 xterm and gnome-terminal emulators.
xterm|xterm terminal emulator (color): for xterm and gnome-terminal,
am, .bce, km, mc5i, mir, msgr, xenl,
colors#8, cols#80, it#8, lines#24, pairs#64,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m, bold=\E[1m, .cbt=\E[Z, .civis=\E[?25l,
clear=\E[H\E[2J, .cnorm=\E[?25h, cr=^M,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
flash=\E[?5h$<100/>\E[?5l, home=\E[H, .hpa=\E[%i%p1%dG,
ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>,
.kbs=^H, kbs=\b, .kcub1=\E[D, kcub1=\EOD,
kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,
.kcud1=\E[B, .kcuf1=\E[C, .kcuu1=\E[A, kdch1=\E[3~,
kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[12~,
kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~,
kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~,
kpp=\E[5~, kslt=\E[4~,
.kdch1=\E[3~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, .meml=\El,
.memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
rmam=\E[?7l, .rmcup=\E[?1049l, rmcup=\E[?4r,
rmir=\E[4l, rmkx=\E[?1l\E>,
.rmso=\E[27m, rmso=\E[m, .rmul=\E[24m, rs1=\Ec,
rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[4%p1%dm,
setaf=\E[3%p1%dm,
setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
sgr0=\E[m\017, smacs=^N, smam=\E[?7h, .smcup=\E[?1049h,
smcup=\E[?4s\E[?4h,
smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, .smul=\E[4m,
.tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
.vpa=\E[%i%p1%dd,
------=_Part_3170_12015924.1228276493423--