Questions tagged [rc]

An "rc" file is a file read at startup of a program. It is also the name of the Plan 9 Shell.

Historically, in the days when Unix and other software was distributed on tapes, a tape archive often contained a file named "rc" containing run commands or run code to compile and install the software.

rc, the Plan 9 Shell

257 questions
0
votes
1 answer

How to embed .xml file in .rc file?

I don't know how to embed xml file to rc file. I already have a .xml file and I want to embed it to my .rc file. Can guys show me how to do that? I searched the internet, asked chatgpt, and watched youtube but couldn't find my answer. Please help…
ldopperk
  • 1
  • 1
0
votes
0 answers

Can I get a upright theta (θ) in pyplot by using the rc library's latex function?

I am plotting XRD results in python. I want to use the graphs in an article. My x-axis lable is 2θ. I am using the rc library from matplotlib, which allows me to use latex in the lables, as well as to change the font to serif. When I do use the…
0
votes
0 answers

zshrc only works right in Ubuntu but not in Arch

Short description Same .zshrc file in both Operating Systems Most things work fine in Arch, only some don't Command: echo $? Output: 0 PS1="%(?.▶.✘)" shows the ✘ while starting new pts With source ~/.zshrc everything works suddenly Long…
Pixelbog
  • 236
  • 1
  • 8
0
votes
1 answer

How to a assign a new value to an Rc in Rust

Im building a data structure containing nodes, and each node might point to another. The pointers between the nodes are implemented using Rc, something like this: struct Node { ptr: Rc } I would like to be able to change the pointer 'ptr'…
barakugav
  • 59
  • 3
0
votes
0 answers

How can I solve this problem? ([nodemon] Internal watch failed: ELOOP: too many symbolic links encountered)

While developing nodes using nodemon, I checked the following problems. [nodemon] Internal watch failed: ELOOP: too many symbolic links encountered, stat I've tried several searches to solve this problem, but I haven't found the right solution…
Lucas. B
  • 1
  • 1
0
votes
0 answers

Managing configs for client-side npm modules - is there a preferred/standard way to go about this?

My primary question is whether or not the 'config' should be in a separate JSON/rc format, or if a general withCustomConfig-like function makes more sense. I realize this may be a matter of opinion, but I'm interested in hearing what more…
edoesdev
  • 21
  • 2
0
votes
0 answers

How to push custom text file to data/misc/ethernet path in AOSP

I have an text file which is contains some ethernet configurations itself. I sent it to vendor/etc path via my make file, then I tried to copy vendor/etc/config.txt to data/misc/ethernet via init.rc but it has not copied. We may not be allowed to…
0
votes
0 answers

GitLab CI: how to return command stdout to the code where it was called?

I have this piece of code in the yaml file: .setUpEnvironment: stage: provision script: - | cd ansible ansible-playbook install_app.yml <...> <... n more lines here> echo 'rc = ' $(install_app.rc) echo 'stdout =…
0
votes
1 answer

Do the correct inputrc command by a shell line code

How do we do inputrc command by a shell line code as gave failure here $ bind -x '"\C-l":next-history' bash: next-history: command not found $ Please do sincere help
user17952975
0
votes
0 answers

Matplotlib y-axis values not taking chosen chosen font with usetex

I'm trying to produce a stacked set of waveform plots to include in a paper, and my desired font is Helvetica, which is applied to the x-axis values and labels but not to the y-axis values. An additional issue I'm having is the repeated x-axis…
Brudalaxe
  • 191
  • 1
  • 8
0
votes
0 answers

Using unicode in win32 .rc file compiled with GCC

I have the same issue as in this question - the unicode characters from a resource file aren't displayed correctly (LTEXT L"żółć", - 1, 5, 5, 80, 10 results in ). However solutions in the answer to that question don't work for GCC, because 1) utf-16…
michuu
  • 315
  • 4
  • 10
0
votes
0 answers

'rc' is not recognized as an internal or external command

I am trying to create a resoure file using VS command prompt. I am using the following code: TlbExp.exe /win32 MyMenu.dll echo 1 typelib MyMenu.tlb > MyMenu.rc rc.exe MyMenu.rc I have the MyMenu.dll and the MyMenu.rc file saved in…
cs_12345
  • 5
  • 1
0
votes
0 answers

Any tools to preview the resource file .rc2/ rc3 file in visual studio of my MFC project?

Recently, I'm maintaining the project of my company. Visual Studio 2015 MFC The project contains three rc files: athena.rc athena.rc2 athena.rc3 The first .rc file includes the other two rc2 & rc3 files. I'm wondering how to preview the UI layout…
XBruce
  • 1
  • 1
0
votes
0 answers

Can set environment variables by sourcing a script from another script?

I have a script that sets some environment/global variables. It also has a function "deactivate ()" which undoes this sourcing. source_script.rc deactivate () { env_var=$old_env_var unset $old_env_var } old_env_var=$env_var export…
user16541120
0
votes
0 answers

mysql RC multi-thread first search and second delete, but some search only return 1 row

I use mysql to deal some data use multi-thread, first I search the data use id range, like: select id from xxx where id between 1 and 1000 and accountant_time = '2021-05-31 00:00:00' and enter_accounts_state = 1 and enter_ce_state = 2 …
Jerins
  • 1
  • 1