Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2008 23:20:32 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        questions@freebsd.org
Subject:   Re: screen and curses(?) output
Message-ID:  <20080717052032.GB25796@kokopelli.hydra>
In-Reply-To: <aeca57d90807131241vc15389ege9bf1c37fcda3c1c@mail.gmail.com>
References:  <aeca57d90807131241vc15389ege9bf1c37fcda3c1c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--H1spWtNR+x+ondvy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 13, 2008 at 12:41:21PM -0700, paul beard wrote:
> I have discovered the joys of screen to manage processes between/across
> logins, but I have one small problem. If I run portupgrade and a dialog is
> displayed, I can't choose any of the displayed options. A tab will move
> through them but a space bar or arrow key is the same as hitting OK with =
no
> changes. is there some setting or different termcap I should use?

I've seen the same behavior with screen.

Try tmux instead of screen.  It doesn't have that problem in default
configuration.  It basically works the same as screen, for all the
common, simple operations, but you create a new session with either of:

  tmux new
  tmux new-session

=2E . . reattach to a detached session with either of:

  tmux a
  tmux attach-session

=2E . . and the command prefix character is ^B (instead of screen's ^A).
This means that the shell command character ^A (to bring you to the
beginning of the command line, just as ^E brings you to the end) actually
works in tmux, whereas it doesn't in GNU Screen.

Also . . . I first switched to tmux because it's:

  small on hard drive
  lighter on system resources
  distributed under the BSD license

=2E . . so if those things matter to you, you might consider the switch
(aside from the obvious fact that it solves your little problem with the
configuration dialogs during portupgrades).

I hope that helps.

--=20
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Marvin Minsky: ". . . anyone could learn Lisp in 1 day, except that if
they already knew Fortran, it would take 3 days."

--H1spWtNR+x+ondvy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkh+1qAACgkQ9mn/Pj01uKXZVgCeJqVzlfW5MDHPyrCEWJbA1K3V
regAoPqLYxBfi2lsip67B4q72+6qrQmq
=uRkP
-----END PGP SIGNATURE-----

--H1spWtNR+x+ondvy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080717052032.GB25796>