Re: [REVIEW] move tty lock/initial up in the stack

From: Jilles Tjoelker (jilles_at_stack.nl)
Date: 06/19/04

  • Next message: Szilveszter Adam: "Re: [current tinderbox] failure on i386/i386"
    Date: Sat, 19 Jun 2004 17:55:57 +0200
    To: Poul-Henning Kamp <phk@phk.freebsd.dk>
    
    

    On Sat, Jun 19, 2004 at 10:15:58AM +0200, Poul-Henning Kamp wrote:
    > It adds two new flags to stty(1): -i and -l to manipulate the initial
    > and lock states and eliminates the tty[il]d# and cua[il]a# devices.

    > Subsequently I would like to move the tty/cua split up as well.

    > Index: bin/stty/stty.c
    > ===================================================================
    > RCS file: /home/ncvs/src/bin/stty/stty.c,v
    > retrieving revision 1.22
    > diff -u -r1.22 stty.c
    > --- bin/stty/stty.c 6 Apr 2004 20:06:53 -0000 1.22
    > +++ bin/stty/stty.c 18 Jun 2004 11:36:57 -0000
    > @@ -60,15 +60,17 @@
    ...
    > while (optind < argc &&
    > strspn(argv[optind], "-aefg") == strlen(argv[optind]) &&

    This needs to be changed to "-aefgil". This is possible because there
    are no arguments starting with "-" and containing only "[aefgil]" in the
    rest.

    (This also means you can't do "-f/dev/ttyxxx".)

    > - (ch = getopt(argc, argv, "aef:g")) != -1)
    > + (ch = getopt(argc, argv, "aef:gil")) != -1)
    > switch(ch) {
    > case 'a': /* undocumented: POSIX compatibility */

    Not really related, but stty -a has been properly documented for a long
    time ;-)

    -- 
    Jilles Tjoelker
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Szilveszter Adam: "Re: [current tinderbox] failure on i386/i386"

    Relevant Pages

    • Re: buildworld error (CVS july 4)
      ... retrieving revision 1.23.2.7 ... * compact the IP header into a structure which contains just the info. ... diff -u -r1.25.2.7 ip_fil.c ... I do not "unsubscribe" from email "services" to which I have not explicitly ...
      (freebsd-stable)
    • [Fwd: RFC.. defining __rangeof() in cdefs.h]
      ... retrieving revision 1.83 ... diff -u -r1.83 cdefs.h ... * Compiler-dependent macros to declare that functions take printf-like ... To unsubscribe, ...
      (freebsd-current)
    • [PATCH][2.6] Setup P4 thermal interrupt vector on UP
      ... The P4 thermal interrupt vector was only getting set on SMP builds. ... retrieving revision 1.63 ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] (1/22) lvalues abuse in dmasound
      ... Please replace this with the patch from CVS: ... retrieving revision 1.6 ... bye, Roman ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 2/9] convert crypto to virt_to_pageoff()
      ... convert cryptoapi to virt_to_pageoff. ... retrieving revision 1.3 ... diff -u -r1.13 tcrypt.c ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)