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
0 answers

Where are Syslog remote messages stored?

I have a client/server setup inside my organization. I was looking on the server side in /etc/rc.sysinit file and found this: Clearly, Syslog messages from server side are being redirected to the client side on IP=$LPIP and port 514. My question…
Udit Gupta
  • 3,162
  • 11
  • 43
  • 71
0
votes
1 answer

Use CommCtrl.pas or commctrl.h inside rc script

I have a resource script (*.rc) that needs to use WIZ_CXDLG from commctrl.h/CommCtrl.pas. The original version does this via #include: #include #include 1 DIALOGEX 0, 0, WIZ_CXDLG, WIZ_CYDLG //... However this doesn't…
Uli Gerhardt
  • 13,748
  • 1
  • 45
  • 83
0
votes
1 answer

Show GetOpenFileName function with custom template

I have a problem when I tried to add some custom controls to the Open File Dialog. I used the resource file shown below but it is not working. I think that there is an error somewhere but I can't correct it. How to show custom controls on the Open…
Salah Alami
  • 33
  • 2
  • 8
0
votes
0 answers

automatic reverse SSH tunneling

I need to connect to my office computer through ssh, but all the ports are blocked and there is nothing to do there. I'd like to connect with reverse SSH tunneling. For that I want to use an external server that it's always on, and I want to set up…
Javier GB
  • 1
  • 1
0
votes
1 answer

MFC LTEXT (labels) cannot be changed in Visual Studio 2013

I am working on a product update that is combining some legacy C++/MFC code with C#/WPF. It uses Visual Studio 2013, update 5. There is an existing MFC dialog that I am trying to modify. Moving elements around with the editor (Resource…
JulieC
  • 192
  • 11
0
votes
3 answers

Run Linux Shell Script On Boot

I have a Shell script that I want to run on boot. Every time that I start the device It'll run the script in the background. The script contains a while true loop and suppose to run constantly, at least until the device will be turned off. This is…
Marked One
  • 59
  • 4
  • 13
0
votes
0 answers

VSExpress and Resource Editing/XAML Designer/MFC/ATL

I recently succeeded in installing Visual Studio 2015 on a computer since my laptop always fails in installing. I have a few questions about the VS series and the product inside: Is lower "edition" of VS (of same version) faster or takes less…
ZisIsNotZis
  • 1,570
  • 1
  • 13
  • 30
0
votes
1 answer

C++ Setting dll properties via .rc file: Which attributes are shown by Windows 7?

I created a dll and set various attributes in the rc file (by following the tutorial here. If I scan the dll with exiftool, I can see all of my attributes. However, Windows 7 displays only certain attributes when I right-click on the dll, select…
Alex
  • 1,198
  • 2
  • 12
  • 26
0
votes
1 answer

How can I use configuration(macro) values in .rc files (vs2010 ro vs2013)?

I want to use some configuration(macro) variables, e.g. $(Configuration) in my .rc file. For example I want to have something like this in my .rc file. .... .... VALUE "InternalName", "MyProjectName $(Configuration)" .... .... But, the result, when…
0
votes
1 answer

Python matplotlib: Setting the default colours of the colour cycle

This article How to set the default color cycle for all subplots with matplotlib? teaches us how to use mpl.rcParams['axes.color_cycle'] = ['r', 'k', 'c'] to change the default colour 'r', 'k', 'c' cycle to red, black and cyan. However, how can I…
Mikkel Rev
  • 863
  • 3
  • 12
  • 31
0
votes
1 answer

Tor "saveconf" command returns error message always

$telnet localhost 9051 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. authenticate "xxxxxxx" 250 OK getconf controlport 250 ControlPort=9051 resetconf controlport 250 OK getconf controlport 250 ControlPort setconf…
Anonymous Platypus
  • 1,242
  • 4
  • 18
  • 47
0
votes
1 answer

rc.d script for tiddlywiki service not working

I am trying to get Tiddlywiki working in a FreeBSD jail (based on a NAS4FEE host). The rc.d script below start_postcmd and PID file functions are not working. Does anyone have any advice on why that might be the case? #! /bin/sh # # # PROVIDE:…
nadigo
  • 107
  • 6
0
votes
0 answers

Syntax error in Windows resource (.rc) file

I have a problem with a package of files, including a main.rc. I never worked with rc files, but I have to resolve a problem for a friend of mine. This is my "main.rc": #include #ifdef GCC_WINDRES VS_VERSION_INFO …
Gee
  • 1
  • 1
0
votes
1 answer

command not running in etc/rc.local ubuntu

Here is my entire rc.local file #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this…
John Curry
  • 428
  • 1
  • 5
  • 17
0
votes
0 answers

Delphi 2010: Some of resourcestrings defined in.rc file are missing in resulting .exe

Some of resources from .RC file are not available in resulting .exe with the ID's given in .RC file. I have and RC file with resourcestrings with id's 10000, 10100 etc. At some reason, when I load resource with id 10000 (LoadStr(10000)) it loads…
Aleksey Timohin
  • 591
  • 1
  • 9
  • 15