[Konsole-devel] Review Request 127525: Fix FreeBSD readArguments, implement its readEnvironment, and massage SSHProcessInfo

Kurt Hindenburg kurt.hindenburg at gmail.com
Sat Jul 9 18:00:15 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127525/#review97242
-----------------------------------------------------------



The FreeBSD part committed in http://commits.kde.org/konsole/2c93676978b2267ad043ea1b5a63c0342672e9b8

I'll do the SSH part separately.

- Kurt Hindenburg


On March 30, 2016, 12:19 p.m., Tobias Berner wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127525/
> -----------------------------------------------------------
> 
> (Updated March 30, 2016, 12:19 p.m.)
> 
> 
> Review request for Konsole, Kurt Hindenburg and Raphael Kubo da Costa.
> 
> 
> Repository: konsole
> 
> 
> Description
> -------
> 
> 1. This contains multiple `ProcessInfo` related changes.                                                                                                                                      
>         * FreeBSD's `readArguments()` implementation was broken:                                                                                                                               
>           as it read the wrong `sysctl`.                                                                                                                                                       
>           Also the string processing did not work as expected.                                                                                                                           
>         * FreeBSD's `readEnvironment()` was not implemented.                                                                                                                                   
>           This provides an implementation using `libprocstat`'s                                                                                                                                
>           `procstat_getenvv`                                                                                                                                                            
>                                                                                                                                                                                              
> 2. `SSHProcessInfo` related changes:                                                                                                                                                          
>         * `_command` was only set to the last argument in the list.                                                                                                                            
>           Modify it to include every element after `_host` has been                                                                                                                          
>           set.                                                                                                                                                                               
>           Before "ssh host top -d 50" would display '50' as the command.                                                                                                                     
>           Now it should be 'top -d 50'.                                                                                                                                                      
>         * Add a new string replacement `%U` for remote tabs, which evaluates                                                                                                                   
>               to `_user@` if user is non-empty, and the emptystring otherwise.
> 
> 
> Diffs
> -----
> 
>   src/CMakeLists.txt 6798079 
>   src/ProcessInfo.cpp 1f5505a 
> 
> Diff: https://git.reviewboard.kde.org/r/127525/diff/
> 
> 
> Testing
> -------
> 
> Tested locally.
> 
> 
> Thanks,
> 
> Tobias Berner
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20160709/4987a20b/attachment.html>


More information about the konsole-devel mailing list