<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Oh, man. Apologies to OP. I got caught up in the conversation about tmux/screen. Then, today, I ran into the problem on a FreeBSD box I was setting up and realized I ignored the original question.<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">You can probably use those emacs-y alternatives like CTRL+A to go the beginning of the line and CTRL + E to the end.<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">You can use 'cat' to figure out what key is being sent. Just type 'cat', hit enter and then if you press Home or Up Arrow or whatever, you'll see the code that needs to be mapped, like in '/etc/inputrc' or '~/.inputrc' or in ZSH I use 'bindkey'.<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hope that helps! (:<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 11:33 PM, George Larson <span dir="ltr"><<a href="mailto:george.g.larson@gmail.com" target="_blank">george.g.larson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Agreed about tmux. I use tmux and gnu-screen literally every day on multiple machines. It's tmux where I can get it and screen as a fallback. <br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">While we're at it, I don't use Windows much I recently I've started thinking I might like MobaXterm more then PuTTY. <br>
[ <a href="http://mobaxterm.mobatek.net" target="_blank">http://mobaxterm.mobatek.net</a> ]<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 10:14 PM, Jeff Stebelton <span dir="ltr"><<a href="mailto:jeff.stebelton@gmail.com" target="_blank">jeff.stebelton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Heres a doc I put together today with the common commands from a web site I found.</p><div>
<div>
<div style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I second the tmux suggestion. I'm not a hard core user but thats why I second it. Really quite easy to get started but powerful enough to satisfy the heavy duty user with all kinds of customization, scripting etc. </p>
<div class="gmail_quote">On Mar 5, 2014 9:29 PM, "Chris Clonch" <<a href="mailto:chris@theclonchs.com" target="_blank">chris@theclonchs.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<div>On 03/05/2014 09:23 AM, Joshua Kramer
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello Everyone,<br>
<br>
I have an odd conflict between screen (the terminal multiplexer)
and Putty, and this is something I've never seen before.<br>
<br>
The environment is RedHat 5.8. It's worth noting that when I
was using CentOS 5.x on a daily basis, I used Putty and screen
all the time without encountering this problem.<br>
<br>
Normally, when you login via putty with bash as your shell, you
can hit the up-arrow for the last command. This sends the ascii
code for ESC, then [A, and it goes across to bash (or whatever
other program) just fine. When you try this via screen, it
looks like the terminal manager in screen takes "the ascii code
for ESC, then [A" and turns it into the actual character string
^[[A, which is Caret + [ + [ + A.<br>
<br>
I was always able to sort out these kinds of issues on my own
systems by setting TERM=xterm and the Putty terminal emulation
to xterm. That doesn't work in this case. Where should I start
looking for possible solutions to this problem?<br>
</div>
</blockquote>
<br>
My guess is an issue with term settings between Putty, screen and
your shell. It has been ages since I've ran screen so my memory is
a little fuzzy, but I believe screen would set your TERM to
"screen". You might check to see if you have term definition for
screen:<br>
<br>
<code>find /usr/share/terminfo -type f</code><br>
<br>
Not sure if it is an option, but you might switch to tmux from
screen. So many improvements over screen it is hard to start.<br>
<br>
<a href="http://tmux.sourceforge.net/" target="_blank">http://tmux.sourceforge.net/</a><br>
<br>
-Chris<br>
<br>
</div>
<br>_______________________________________________<br>
colug-432 mailing list<br>
<a href="mailto:colug-432@colug.net" target="_blank">colug-432@colug.net</a><br>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
<br></blockquote></div>
</div>
</div></div><br>_______________________________________________<br>
colug-432 mailing list<br>
<a href="mailto:colug-432@colug.net" target="_blank">colug-432@colug.net</a><br>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><a href="http://j0rg3.com" target="_blank">-= c0d3 :: j0rg3 - all code, no cruft =-</a><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://j0rg3.com" target="_blank">-= c0d3 :: j0rg3 - all code, no cruft =-</a><br>
</div>