Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #271027

Re: stty permanently undef "start"

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: stty permanently undef "start"
Date 2024-07-10 16:30 +0200
Message-ID <IYGut-19k3-3@gated-at.bofh.it> (permalink)
References <IYG1r-18Vq-3@gated-at.bofh.it> <IYG1r-18Vq-1@gated-at.bofh.it> <IYGb7-19dU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 10 Jul 2024 at 16:00:48 (+0200), Nicolas George wrote:
> Greg Wooledge (12024-07-10):
> > You could -- but if you do so, you should definitely surround it with
> > a check for stdin being a terminal (test -t 0 or equivalent).
> 
> Does bash execute .bashrc when it is not interactive?

Someone might source .bashrc from a binary in order to
access functions that are defined within it.

> Does bash think it is interactive when its input is not a tty?

That would then be irrelevant.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

stty permanently undef "start" Franco Martelli <martellif67@gmail.com> - 2024-07-10 16:00 +0200
  Re: stty permanently undef "start" Greg Wooledge <greg@wooledge.org> - 2024-07-10 16:00 +0200
    Re: stty permanently undef "start" Nicolas George <george@nsup.org> - 2024-07-10 16:10 +0200
      Re: stty permanently undef "start" Nicolas George <george@nsup.org> - 2024-07-10 16:30 +0200
        Re: stty permanently undef "start" Greg Wooledge <greg@wooledge.org> - 2024-07-10 16:50 +0200
          Re: stty permanently undef "start" Nicolas George <george@nsup.org> - 2024-07-10 17:00 +0200
            Re: stty permanently undef "start" Greg Wooledge <greg@wooledge.org> - 2024-07-10 17:10 +0200
              Re: stty permanently undef "start" Nicolas George <george@nsup.org> - 2024-07-10 17:10 +0200
                Re: stty permanently undef "start" <tomas@tuxteam.de> - 2024-07-10 18:00 +0200
                Re: stty permanently undef "start" Greg Wooledge <greg@wooledge.org> - 2024-07-10 19:40 +0200
            Re: stty permanently undef "start" songbird <songbird@anthive.com> - 2024-07-11 01:10 +0200
              Re: stty permanently undef "start" Nicolas George <george@nsup.org> - 2024-07-11 10:20 +0200
          Re: stty permanently undef "start" Franco Martelli <martellif67@gmail.com> - 2024-07-10 17:40 +0200
      Re: stty permanently undef "start" David Wright <deblis@lionunicorn.co.uk> - 2024-07-10 16:30 +0200
      Re: stty permanently undef "start" Vincent Lefevre <vincent@vinc17.net> - 2024-07-27 00:20 +0200
    Re: stty permanently undef "start" Max Nikulin <manikulin@gmail.com> - 2024-07-11 17:50 +0200
      Re: stty permanently undef "start" Greg Wooledge <greg@wooledge.org> - 2024-07-11 18:00 +0200
        Re: stty permanently undef "start" Max Nikulin <manikulin@gmail.com> - 2024-07-12 06:00 +0200
          Re: stty permanently undef "start" Max Nikulin <manikulin@gmail.com> - 2024-07-19 13:50 +0200
  Re: stty permanently undef "start" Dan Ritter <dsr@randomstring.org> - 2024-07-10 16:50 +0200
  Re: stty permanently undef "start" songbird <songbird@anthive.com> - 2024-07-11 01:00 +0200
    Re: stty permanently undef "start" Greg Wooledge <greg@wooledge.org> - 2024-07-11 01:00 +0200
      Re: stty permanently undef "start" eben@gmx.us - 2024-07-11 03:10 +0200
        Re: stty permanently undef "start" Greg Wooledge <greg@wooledge.org> - 2024-07-11 03:20 +0200
          Re: stty permanently undef "start" eben@gmx.us - 2024-07-11 03:50 +0200
      Re: stty permanently undef "start" songbird <songbird@anthive.com> - 2024-07-11 07:00 +0200

csiph-web