On Thu, Apr 2, 2009 at 12:58 AM, Chris <atst...@gmail.com> wrote: > On Thu, Apr 2, 2009 at 3:55 PM, Nick Guenther <kou...@gmail.com> wrote: >> On Thu, Apr 2, 2009 at 12:52 AM, Chris <atst...@gmail.com> wrote: >>> On Thu, Apr 2, 2009 at 3:46 PM, Nick Guenther <kou...@gmail.com> wrote: >>>> On Thu, Apr 2, 2009 at 12:37 AM, Chris <atst...@gmail.com> wrote: >>>>> I am trying to get the shell history with page-up but looks like it's >>>>> not working. I'm running -current with the default ksh and added >>>>> HISTSIZE=50 and export HISTSIZE to ~/.profile. >>>>> >>>>> Does anyone know how to get it? >>>> >>>> I've never seen it not work. Does it work for you on -RELEASE? Does it >>>> work if you don't set HISTSIZE at all? >>> >>> No, it doesn't work either way. Maybe I should mention that it's only >>> a test machine so I didn't create a swap partition (it has only one 6 >>> GB / partition) - could this be the reason why? >>> >>> Thanks. >> >> >> I doubt it but I don't know the code off by heart. A more likely >> reason is your terminal settings, what's $TERM? > > You are right: it's something to do with the $TERM environment > variable. I ssh to the box from inside GNU screen so $TERM shows > screen; OTOH, if I log on to the box directly, $TERM shows vt220. > > Should I export term vt220 in .profile? >
Oh you're using screen? Does the problem show up when you don't use screen?