bugGNU Screen - Bugs: bug #58527, MacOS 1500000 baud problem?

 
 

bug #58527: MacOS 1500000 baud problem?

Submitter:  None
Submitted:  Mon 08 Jun 2020 01:33:07 AM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.99.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 08 Jun 2020 02:23:47 AM UTC, comment #1: 

I'm running an old version (10.13.6) and my SDK is old too (10.6) but from the file /Developer/SDKs/MacOSX10.6.sdk/usr/include/sys/termios.h it only goes to 230400...
#define B0      0
#define B50     50
#define B75     75
#define B110    110
#define B134    134
#define B150    150
#define B200    200
#define B300    300
#define B600    600
#define B1200   1200
#define B1800   1800
#define B2400   2400
#define B4800   4800
#define B9600   9600
#define B19200  19200
#define B38400  38400
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
#define B7200   7200
#define B14400  14400
#define B28800  28800
#define B57600  57600
#define B76800  76800
#define B115200 115200
#define B230400 230400
#define EXTA    19200
#define EXTB    38400
#endif  /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */

All that said, stty took your value:

$ stty 1500000
$ stty       
speed 1500000 baud;
lflags: echoe echoke echoctl pendin
iflags: iutf8
oflags: onocr onlret
cflags: cs8 -parenb
erase  
^H     

dave kerns <dtkerns>
Mon 08 Jun 2020 01:33:07 AM UTC, original submission:  

Hi,

Is screen on MacOS uncapable of doing B1500000 ?
~~
% make
gcc -c -iquote. -DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"' -DBUILD_DATE='"2020-06-08 03:06:45"' -g -O2 -Wall -Wextra -std=c11 tty.c -o tty.o
tty.c:1090:12: error: use of undeclared identifier 'B1500000'
        {1500000, B1500000},
                  ^
1 error generated.
make: * [tty.o] Error 1
%
~~

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dtkerns (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code