Package: screen
Version: 4.0.3-7
Severity: normal

Running Emacs in an existing Screen session, I wanted to configure it
to open URLs in w3m in new screens (windows).  Normally one can do
this on the command line, if STY is set, by simply invoking screen(1)
without the -m switch:

    $ echo $STY
    3763.pts-0.Clio
    $ screen w3m google.com
    $

Unfortunately, screen exists immediately if stdin is not a tty, even
though in this case it's sole purpose is to send a message to the
existing screen (a la -X):


    $ echo $STY
    3763.pts-0.Clio
    $ screen w3m google.com <.
    Must be connected to a terminal.
    $

AFAICT this should not happen, and the exit-unless-input-is-a-tty
condition should only be invoked when making an -X style popup.

I note that if I disable Screen session passwords (:password), then -X
works without a tty.  I wish to continue using a session password,
therefore I cannot simply use -X to avoid the above error.

    $ screen -X screen w3m google.com <.
    $


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  libc6                     2.7-6          GNU C Library: Shared libraries
ii  libncursesw5              5.6+20080105-1 Shared libraries for terminal hand
ii  libpam0g                  0.99.7.1-5     Pluggable Authentication Modules l

screen recommends no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to