~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to src/stty.c

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* stty -- change and print terminal line settings
2
 
   Copyright (C) 1990-2012 Free Software Foundation, Inc.
 
2
   Copyright (C) 1990-2013 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
217
217
#ifdef CRTSCTS
218
218
  {"crtscts", control, REV, CRTSCTS, 0},
219
219
#endif
 
220
#ifdef CDTRDSR
 
221
  {"cdtrdsr", control, REV, CDTRDSR, 0},
 
222
#endif
220
223
 
221
224
  {"ignbrk", input, SANE_UNSET | REV, IGNBRK, 0},
222
225
  {"brkint", input, SANE_SET | REV, BRKINT, 0},
515
518
              program_name, program_name, program_name);
516
519
      fputs (_("\
517
520
Print or change terminal characteristics.\n\
518
 
\n\
 
521
"), stdout);
 
522
 
 
523
      emit_mandatory_arg_note ();
 
524
 
 
525
      fputs (_("\
519
526
  -a, --all          print all current settings in human-readable form\n\
520
527
  -g, --save         print all current settings in a stty-readable form\n\
521
528
  -F, --file=DEVICE  open and use the specified DEVICE instead of stdin\n\
577
584
   [-]clocal     disable modem control signals\n\
578
585
   [-]cread      allow input to be received\n\
579
586
 * [-]crtscts    enable RTS/CTS handshaking\n\
 
587
 * [-]cdtrdsr    enable DTR/DSR handshaking\n\
580
588
   csN           set character size to N bits, N in [5..8]\n\
581
589
"), stdout);
582
590
      fputs (_("\