Subject: Rare project developers
List archive
Re: [rare-dev] bfrt_python command completion not working if bf_switchd started by freerouter
Chronological Thread
- From: Alexander Gall <>
- To: <>
- Cc: <>
- Subject: Re: [rare-dev] bfrt_python command completion not working if bf_switchd started by freerouter
- Date: Fri, 18 Feb 2022 07:39:56 +0100
On Thu, 17 Feb 2022 17:06:01 +0100, mc36 <> said:
> hi,
> first of all, does tab work correctly when you press it in freerouter cli?
It works everywhere except inside the IPython shell (once bfrt_python
is executed), i.e. it also works inside the rest of bfshell/ucli. My
suspicion was that IPyhton might try to infer something by looking at
what's connected to stdin. I'll try to find out what IPython is
actually doing (so far, it doesn't seem like TERM has any effect).
--
Alex
> if yess, then it must be how bfswitchd interprets the characters...
> (as freerouter does not interpret them when you attach...)
> one way to influence it is starting freerouter with the preset environment
> variables...
> so in the startup scripts, an export TERM=linux may help...
> regards,
> cs
> On 2/17/22 15:59, Alexander Gall wrote:
>> Hi
>>
>> I noticed that when bf_switchd is started by freerouter, command
>> completion in bfr_python does not work when connecting with bfshell or
>> via "attach process bfswd". The <TAB> key is printed as an actual tab
>> character instead. This does not happen when I start bf_switchd from
>> the CLI. I suspect that this could be due to stdin being connected to
>> a pipe when the process is started by freerouter. Any ideas how to
>> fix this?
>>
--
SWITCH
--------------------------
Alexander Gall, Network
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 15, direct +41 44 268 15 22
, http://www.switch.ch
w
- [rare-dev] bfrt_python command completion not working if bf_switchd started by freerouter, Alexander Gall, 02/17/2022
- Re: [rare-dev] bfrt_python command completion not working if bf_switchd started by freerouter, mc36, 02/17/2022
- Re: [rare-dev] bfrt_python command completion not working if bf_switchd started by freerouter, Alexander Gall, 02/18/2022
- Re: [rare-dev] bfrt_python command completion not working if bf_switchd started by freerouter, mc36, 02/17/2022
Archive powered by MHonArc 2.6.19.