Magicloud Magiclouds writes:
> On Tue, Nov 23, 2010 at 6:24 PM, Jochen Schulz wrote:
>> Camaleón:
>>> On Tue, 23 Nov 2010 17:29:49 +0800, Magicloud Magiclouds wrote:
>>>
But I do not know how it gets the width of the screen.
>>>
>>> Well... gathering information about the running terminal i
On Tue, Nov 23, 2010 at 6:24 PM, Jochen Schulz wrote:
> Camaleón:
>> On Tue, 23 Nov 2010 17:29:49 +0800, Magicloud Magiclouds wrote:
>>
>>> But I do not know how it gets the width of the screen.
>>
>> Well... gathering information about the running terminal is possible:
>>
>> s...@stt008:~$ stty -
Jochen Schulz writes:
> Camaleón:
>> On Tue, 23 Nov 2010 17:29:49 +0800, Magicloud Magiclouds wrote:
>>
>>> But I do not know how it gets the width of the screen.
>>
>> Well... gathering information about the running terminal is possible:
>>
>> s...@stt008:~$ stty -a | grep column
>> speed 384
Camaleón:
> On Tue, 23 Nov 2010 17:29:49 +0800, Magicloud Magiclouds wrote:
>
>> But I do not know how it gets the width of the screen.
>
> Well... gathering information about the running terminal is possible:
>
> s...@stt008:~$ stty -a | grep column
> speed 38400 baud; rows 63; columns 86; line
On Tue, 23 Nov 2010 17:29:49 +0800, Magicloud Magiclouds wrote:
> On Tue, Nov 23, 2010 at 5:24 PM, Camaleón wrote:
>>> I meant code-wise, just using printf would give a wrap output, right?
>>
>> Ah... I haven't read the source code.
>>
>> Do you see any call to the standard printf() function? It
On Tue, Nov 23, 2010 at 5:24 PM, Camaleón wrote:
> On Tue, 23 Nov 2010 17:03:12 +0800, Magicloud Magiclouds wrote:
>
>> On Tue, Nov 23, 2010 at 4:33 PM, Camaleón wrote:
>
Sorry, I meant to know how it could be "not wrapping". The source
somehow confused me.
>>>
>>> Then "ps aux | less -S
On Tue, 23 Nov 2010 17:03:12 +0800, Magicloud Magiclouds wrote:
> On Tue, Nov 23, 2010 at 4:33 PM, Camaleón wrote:
>>> Sorry, I meant to know how it could be "not wrapping". The source
>>> somehow confused me.
>>
>> Then "ps aux | less -S" to get no wrapping+horizontal scroll? :-?
>>
> I meant co
On Tue, Nov 23, 2010 at 4:33 PM, Camaleón wrote:
> On Tue, 23 Nov 2010 16:12:50 +0800, Magicloud Magiclouds wrote:
>
>> On Tue, Nov 23, 2010 at 3:48 PM, Camaleón wrote:
>>> On Tue, 23 Nov 2010 14:38:33 +0800, Magicloud Magiclouds wrote:
>>>
The output of `ps`, is trunked by the width of the
On Tue, 23 Nov 2010 16:12:50 +0800, Magicloud Magiclouds wrote:
> On Tue, Nov 23, 2010 at 3:48 PM, Camaleón wrote:
>> On Tue, 23 Nov 2010 14:38:33 +0800, Magicloud Magiclouds wrote:
>>
>>> The output of `ps`, is trunked by the width of the terminal,
>>> without
>>> wrapping like `ls`.
>>
>> (.
Sorry, I meant to know how it could be "not wrapping". The source
somehow confused me.
On Tue, Nov 23, 2010 at 3:48 PM, Camaleón wrote:
> On Tue, 23 Nov 2010 14:38:33 +0800, Magicloud Magiclouds wrote:
>
>> The output of `ps`, is trunked by the width of the terminal, without
>> wrapping like `l
On Tue, 23 Nov 2010 14:38:33 +0800, Magicloud Magiclouds wrote:
> The output of `ps`, is trunked by the width of the terminal, without
> wrapping like `ls`.
(...)
You can force wrapping with "-w" (or "w") modifier:
ps auxw
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-r
11 matches
Mail list logo