[issue605] zshrc::status(): Print $BAUD only when set.
Frank Terbeck
bts at bts.grml.org
Fri Jan 30 21:37:44 CET 2009
Frank Terbeck <ft at grml.org> added the comment:
Frank Terbeck <ft at bewatermyfriend.org>:
> > Afaics, when using {min,run}getty -- which don't support serial use -- `$BAUD'
>
> I'd like to get rid of the AFAICS.
> DO they, or DON'T they support the feature?
Let me make a suggestion:
[snip]
There are implementations of getty that don't export $BAUD. In these
cases there is an empty value in the output of the status() function.
This fixes it by only printing the baud-information field in case
$BAUD is set to a non-empty value.
[snap]
Regards, Frank
----------
files: 0001-zshrc-status-Print-BAUD-only-when-set.patch, 0001-zshrc-status-Print-BAUD-only-when-set.patch, 0002-zshrc-status-print-f-instead-of-print.patch
messages: 1771, 1772, 1773, 1776, 1777, 1778, 1779, 1780, 1781
nosy: ft, mika, z3ttacht
priority: feature
status: chatting
title: zshrc::status(): Print $BAUD only when set.
topic: grml-etc-core, zsh
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue605>
_____________________________________
More information about the Bugs-changes
mailing list