|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Function keys in htop?I apologise if this is a stupid question, but I have been searching for the past hour and am about to blow my brains out because I can't find the answer.
How do you pass function keys (F1,F2,etc) on to htop through screen? Neither 'F3' nor 'C-a F3' brings up search in htop as it should. This is in gnome-terminal 2.26.0 through a SSH session (if that matters). In case it is useful, from bash prompt inside screen I get the following: $ echo "$TERM" screen $ echo "$TERMCAP" SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :vb=\Eg:G0:as=\E(0:ae=\E(B:\ :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ :po=\E[5i:pf=\E[4i:k0=\E[10~:k1=\EOP:k;=\E[21~:\ :F1=\E[23~:F3=\EO2P:F4=\EO2Q:F5=\EO2R:F6=\EO2S:\ :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=:\ :K2=\EOE:kB=\E[Z:*4=\E[3;2~:*7=\E[1;2F:#2=\E[1;2H:\ :#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:%i=\E[1;2C:\ :kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:\ :kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km: Please help me. It is driving me crazy not being able to use htop in screen. Thanks, SMaddox _______________________________________________ screen-users mailing list screen-users@... http://lists.gnu.org/mailman/listinfo/screen-users |
|
|
Function keys in htop?I apologise if this is a stupid question, but I have been searching for the past hour and am going crazy because I can't find the answer. How do you pass function keys (F1,F2,etc) on to htop through screen? Neither 'F3' nor 'C-a F3' brings up search in htop as it should. This is in Ubuntu 9.04, gnome-terminal 2.26.0, through a SSH session (if that matters). In case it is useful, from bash prompt inside screen I get the following: $ echo "$TERM" screen $ echo "$TERMCAP" SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#24:co#80:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :vb=\Eg:G0:as=\E(0:ae=\E(B:\ :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ :po=\E[5i:pf=\E[4i:k0=\E[10~:k1=\EOP:k;=\E[21~:\ :F1=\E[23~:F3=\EO2P:F4=\EO2Q:F5=\EO2R:F6=\EO2S:\ :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=:\ :K2=\EOE:kB=\E[Z:*4=\E[3;2~:*7=\E[1;2F:#2=\E[1;2H:\ :#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:%e=\E[5;2~:%i=\E[1;2C:\ :kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:\ :kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km: Please help me. It is driving me crazy not being able to use htop in screen. Thanks, SMaddox _______________________________________________ screen-users mailing list screen-users@... http://lists.gnu.org/mailman/listinfo/screen-users |
|
|
Re: Function keys in htop?SMaddox wrote:
> I apologise if this is a stupid question, but I have been searching for > the past hour and am going crazy because I can't find the answer. > > How do you pass function keys (F1,F2,etc) on to htop through screen? > Neither 'F3' nor 'C-a F3' brings up search in htop as it should. On IRC, it was determined that SMaddox's trouble was the default profile set up by "screen-profiles" provided on his Ubuntu 9.04 system. -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. Maintainer of GNU Wget and GNU Teseq http://micah.cowan.name/ _______________________________________________ screen-users mailing list screen-users@... http://lists.gnu.org/mailman/listinfo/screen-users |
|
|
[OT] Function keys in htop?On Sun, Sep 06, 2009 at 10:45:37PM EDT, SMaddox wrote:
> I apologise if this is a stupid question, but I have been searching > for the past hour and am going crazy because I can't find the answer. > > How do you pass function keys (F1,F2,etc) on to htop through screen? > Neither 'F3' nor 'C-a F3' brings up search in htop as it should. What would be nice would be to patch the code and provide sensible alternate mappings - h,j,k,l instead of arrow keys, Ctrl-U and Ctrl-D to page up and down, etc. I might start using htop more often :-) CJ _______________________________________________ screen-users mailing list screen-users@... http://lists.gnu.org/mailman/listinfo/screen-users |
|
|
Assistance with backtick and captionI'm trying to get GNU screen to show the output of "uptime" for the host being accessed in the current window, but unfortunately, no matter what window I go in, it shows the uptime for the host I originally launched screen in ("adminhost").
Does anyone know how to get this to update from the current host I'm on? Here's my screenrc: escape ^Ww sessionname dswan shell /bin/ksh backtick 1 5 5 uptime backtick 2 10 10 hostname caption always "%2` %1`" screen -t adminhost screen -t host1 ssh host1 screen -t host2 ssh host2 screen -t host3 ssh host3 _______________________________________________ screen-users mailing list screen-users@... http://lists.gnu.org/mailman/listinfo/screen-users |
| Free embeddable forum powered by Nabble | Forum Help |