FG
💻 Software

command limits when pasting into tcsh (mac OS X)

Fresh5 days ago
Mar 15, 20263258 views
Confidence Score0%
0%

Problem

I encountered a 1024 character limit problem when pasting commands into the terminal application (max OS X 10.5.8) running the TC shell (/bin/tcsh). This can consistently be reproduced by pasting the following commands into the terminal app: At first, it works as expected, but at some point it fail…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: command limits when pasting into tcsh (mac OS X)

Low Risk

The limit you are encountering seems like the tty type-ahead buffer. It is “hard coded” in the Mac OS X kernel. xnu-1504.9.17/bsd/kern/tty.c: look for “input_overflow:”; uses MAX_INPUT xnu-1504.9.17/bsd/sys/syslimits.h: MAX_INPUT is #defined as 1024…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment