Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI output of global config on PowerShell is not formatted properly #562

Open
orecham opened this issue Dec 22, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@orecham
Copy link
Contributor

orecham commented Dec 22, 2024

Required information

Operating system: Windows 10

iceoryx2 version: main

Observed result or behaviour:

In PowerShell:

iox2 config show system
←[4;92mposix system configuration←[0m

 ←[4;92msystem info←[0m
  ←[37mPosixVersion                                      ←[0m ←[94m200809←[0m
  ←[37mPageSize                                          ←[0m ←[94m4096←[0m
  ←[37mNumberOfClockTicksPerSecond                       ←[0m ←[94m0←[0m
  ←[37mNumberOfCpuCores                                  ←[0m ←[94m16←[0m

 ←[4;92mlimit←[0m
  ←[37mMaxLengthOfHostname                               ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxLengthOfLoginName                              ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfSupplementaryGroupIds                  ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfOpenFiles                              ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfSimultaneousProcessesPerUser           ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxLengthOfArguments                              ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfOpenStreams                            ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfSymbolicLinks                          ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxLengthOfTerminalDeviceName                     ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfBytesInATimezone                       ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfSemaphores                             ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxSemaphoreValue                                 ←[0m ←[94m2147483646←[0m
  ←[37mMaxNumberOfOpenMessageQueues                      ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxMessageQueuePriority                           ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxNumberOfThreads                                ←[0m ←[94m1024←[0m
  ←[37mMaxSizeOfPasswordBuffer                           ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxSizeOfGroupBuffer                              ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxPathLength                                     ←[0m ←[94m260←[0m
  ←[37mMaxFileNameLength                                 ←[0m ←[94m[ unlimited ]←[0m
  ←[37mMaxUnixDomainSocketNameLength                     ←[0m ←[94m108←[0m
  ←[37mMinStackSizeOfThread                              ←[0m ←[94m1048576←[0m

 ←[4;92moptions←[0m
  AdvisoryInfo                                       false
  CpuTime                                            false
  Fsync                                              false
  Ipv6                                               false
  MemLock                                            false
  MemLockRange                                       false
  MessagePassing                                     false
  PrioritizedIo                                      false
  PriorityScheduling                                 false
  RegularExpressions                                 false
  Spawn                                              false
  ProcessSporadicServer                              false
  SynchronizedIo                                     false
  ThreadStackAddress                                 false
  ThreadStackSize                                    false
  ThreadCpuTimeClock                                 false
  ThreadExecutionScheduling                          false
  ThreadProcessSharedSynchronization                 false
  MutexPriorityInheritance                           false
  MutexPriorityProtection                            false
  RobustMutexPriorityInhertiance                     false
  RobustMutexPriorityProtection                      false
  ThreadSporadicServer                               false
  Trace                                              false
  TraceEventFilter                                   false
  TraceInherit                                       false
  TraceLog                                           false
  TypedMemoryObjects                                 false

 ←[4;92mfeatures←[0m
  ←[37mBarriers                                          ←[0m ←[94mtrue←[0m
  AsynchronousIo                                     false
  ClockSelection                                     false
  JobControl                                         false
  ←[37mMappedFiles                                       ←[0m ←[94mtrue←[0m
  MemoryProtection                                   false
  MonotonicClock                                     false
  RawSockets                                         false
  ←[37mReaderWriterLocks                                 ←[0m ←[94mtrue←[0m
  RealtimeSignals                                    false
  SavedUserAndGroupIds                               false
  ←[37mSemaphores                                        ←[0m ←[94mtrue←[0m
  ←[37mSharedMemoryObjects                               ←[0m ←[94mtrue←[0m
  Shell                                              false
  ←[37mSpinLocks                                         ←[0m ←[94mtrue←[0m
  ←[37mThreadSafeFunctions                               ←[0m ←[94mtrue←[0m
  Threads                                            false
  ←[37mTimeouts                                          ←[0m ←[94mtrue←[0m
  ←[37mTimers                                            ←[0m ←[94mtrue←[0m
  OpenRealtimeOptionGroup                            false
  OpenRealtimeThreadsOptionGroup                     false

 ←[4;92mprocess resource limits←[0m
  ←[37mMaxCoreFileSize                            ←[0m soft:  ←[94m0                       ←[0m hard:  ←[94m0←[0m
  ←[37mMaxConsumableCpuTime                       ←[0m soft:  ←[94m0                       ←[0m hard:  ←[94m0←[0m
  ←[37mMaxDataSegmentSize                         ←[0m soft:  ←[94m0                       ←[0m hard:  ←[94m0←[0m
  ←[37mMaxFileSize                                ←[0m soft:  ←[94m0                       ←[0m hard:  ←[94m0←[0m
  ←[37mMaxNumberOfOpenFileDescriptors             ←[0m soft:  ←[94m0                       ←[0m hard:  ←[94m0←[0m
  ←[37mMaxStackSize                               ←[0m soft:  ←[94m0                       ←[0m hard:  ←[94m0←[0m
  ←[37mMaxSizeOfTotalMemory                       ←[0m soft:  ←[94m0                       ←[0m hard:  ←[94m0←[0m

Expected result or behaviour:

Clean formatting of system configuration is printed.

Conditions where it occurred / Performed steps:

In PowerShell on Windows:

iox2 config show system
@orecham orecham added the bug Something isn't working label Dec 22, 2024
@orecham orecham self-assigned this Dec 22, 2024
@orecham orecham changed the title Formatting of global config output on powershell CLI output of global config on PowerShell is not formatted properly Dec 22, 2024
@orecham
Copy link
Contributor Author

orecham commented Dec 22, 2024

To be done after #468 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant