[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help with screen



Hi all,

I have been user the Screen program for over a year now and have encountered
a problem I am having trouble getting around.  I am using the screen-3.9.4-1
deb found in potato.

I am using a dos telnet client which is a dec vt102 terminal emulator. 
Screen handles this fine but I recently extented the vt102 terminfo/termcap
entries to incorperate the functions of the pc keyboard.  In other words, I
created a vt102-pc terminal entry to support 48 function keys, arrows, etc
etc.  Screen seems to override these settings however and my arrows don't
work.  I even tried creating a screen.vt102-pc terminal entry to no avail. 
The entry is below.

vt102-pc|dec vt102 with PC keyboard extentions, 
	use=vt102, kbs=^H, 
	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
	kend=\E[4~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
	kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, kf15=\E[13;2~, 
	kf16=\E[14;2~, kf17=\E[15;2~, kf18=\E[17;2~, 
	kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, kf21=\E[20;2~, 
	kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[23~, 
	kf26=\E[24~, kf27=\E[25~, kf28=\E[26~, kf29=\E[28~, 
	kf3=\E[13~, kf30=\E[29~, kf31=\E[31~, kf32=\E[32~, 
	kf33=\E[33~, kf34=\E[34~, kf35=\E[35~, kf36=\E[36~, 
	kf37=\E[23;2~, kf38=\E[24;2~, kf39=\E[25;2~, kf4=\E[14~, 
	kf40=\E[26;2~, kf41=\E[28;2~, kf42=\E[29;2~, 
	kf43=\E[31;2~, kf44=\E[32;2~, kf45=\E[33;2~, 
	kf46=\E[34;2~, kf47=\E[35;2~, kf48=\E[36;2~, kf5=\E[15~, 
	kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
	khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,

When I press the home key outside of screen, it receives \e[H, when inside
screen, it receives \e[1~ which happens to be the vt100 home key.  Is there
any way to turn off this translation?  To force screen to use whatever
terminal I am in?

Thanks in advance,
Shane

-- 
Shane Wegner: shane@cm.nu
Personal website: http://www.cm.nu/~shane	Fax: (604) 930-0529
PGP: keyid:       2048/1C0FFA59			ICQ UIN: 120000
     Fingerprint: C6 5F B3 85 0B 11 30 F3
                  52 89 0C 6C 49 08 94 7B

Attachment: pgpqfZ4yWUtSD.pgp
Description: PGP signature


Reply to: