10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I want to run putty.exe in Solaris server.My main aim is to invoke the putty.exe in Solaris server from a web application(.jsp) deployed in the server so that putty terminal should open.
Thanks in advance (11 Replies)
Discussion started by: chaithanyaa
11 Replies
2. Shell Programming and Scripting
I have to run some shell scripts in Windows using Cygwin. I am able to achieve that using
%BASH% --login -i "/cygdrive/d/script.sh"
, where %BASH% is an environment variable in Windows set to
C:\cygwin\bin\bash.exe.
I have a created a Cygwin environment variable $EXE_PATH =... (3 Replies)
Discussion started by: HemanthJayasimh
3 Replies
3. Shell Programming and Scripting
Hi
I have a open source tool called table text comparator
Link to download that tool: http://www.nirsoft.net/utils/csv_file_comparison.html
I wish to run this tool in our unix servers. In windows O.S i just have to unzip and i can use this tool by running the .exe file. So i want to know how... (6 Replies)
Discussion started by: Ganesh_more
6 Replies
4. OS X (Apple)
Hello all,
I am looking for some help with running a unix executable file using Apple Remote Desktop or Terminal with no user intervention. I am able to create a packate that can copy the file to the machine using ARD but I would like to copy the file and run the command with out the users... (1 Reply)
Discussion started by: dam1197
1 Replies
5. UNIX for Dummies Questions & Answers
Hi, I've got this requirement for my homework assignment, but I'm not sure how to meet it:
In the comamnd line, I need to type
$ <exec-file> <input> <output_file_name>
Like:
test 1+2 out.txt
Which should execute test.exe passing in 1+2 and directing output to out.txt.
I know how... (1 Reply)
Discussion started by: JustinT
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I am using putty to access my school unix servers.
I have recently downloaded a source file of a software in .tar format. I change the code of the program and compile it in VS8 and build an .exe file.
1) I copy the .exe file to my school account but I could not make it work. How... (2 Replies)
Discussion started by: hkullana
2 Replies
7. UNIX and Linux Applications
hi friends
i want to know if its possible to run windows exe files in unix.... i know the file system in windows and unix are totally different. but is there any application which allows this???? (2 Replies)
Discussion started by: vikashtulsiyan
2 Replies
8. HP-UX
Hello,
I have an test.exe file under a directory. When i execute the .exe file directory from the prompt, i get following error:
$ test.exe <enter>
ksh: test.exe: not found
How do i solve this error?
TIA,
Ramesh (1 Reply)
Discussion started by: brap45
1 Replies
9. Linux
Hai,
is there any way to run an .exe file in unix environment . i have read that WINE HQ supports this concept but its very inconsistent and upto the user risk . but i tried WINE but iam not able to configure it can any one help me in this matter
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
10. Shell Programming and Scripting
Am trying to run a exe on my unix machine from a different folder.
For instance,
i have a perl file in a folder /home/asif/runprj.pl which runs a exe in a different folder /home/projects/cobsat/a.out
and my perl file is something like this
#!/usr/bin/perl... (1 Reply)
Discussion started by: Asif Ali
1 Replies
BIO_f_base64(3) OpenSSL BIO_f_base64(3)
NAME
BIO_f_base64 - base64 BIO filter
SYNOPSIS
#include <openssl/bio.h>
#include <openssl/evp.h>
BIO_METHOD * BIO_f_base64(void);
DESCRIPTION
BIO_f_base64() returns the base64 BIO method. This is a filter BIO that base64 encodes any data written through it and decodes any data
read through it.
Base64 BIOs do not support BIO_gets() or BIO_puts().
BIO_flush() on a base64 BIO that is being written through is used to signal that no more data is to be encoded: this is used to flush the
final block through the BIO.
The flag BIO_FLAGS_BASE64_NO_NL can be set with BIO_set_flags() to encode the data all on one line or expect the data to be all on one
line.
NOTES
Because of the format of base64 encoding the end of the encoded block cannot always be reliably determined.
RETURN VALUES
BIO_f_base64() returns the base64 BIO method.
EXAMPLES
Base64 encode the string "Hello World
" and write the result to standard output:
BIO *bio, *b64;
char message[] = "Hello World
";
b64 = BIO_new(BIO_f_base64());
bio = BIO_new_fp(stdout, BIO_NOCLOSE);
bio = BIO_push(b64, bio);
BIO_write(bio, message, strlen(message));
BIO_flush(bio);
BIO_free_all(bio);
Read Base64 encoded data from standard input and write the decoded data to standard output:
BIO *bio, *b64, *bio_out;
char inbuf[512];
int inlen;
b64 = BIO_new(BIO_f_base64());
bio = BIO_new_fp(stdin, BIO_NOCLOSE);
bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
bio = BIO_push(b64, bio);
while((inlen = BIO_read(bio, inbuf, 512) > 0)
BIO_write(bio_out, inbuf, inlen);
BIO_free_all(bio);
BUGS
The ambiguity of EOF in base64 encoded data can cause additional data following the base64 encoded block to be misinterpreted.
There should be some way of specifying a test that the BIO can perform to reliably determine EOF (for example a MIME boundary).
SEE ALSO
TBA
0.9.7d 2003-11-20 BIO_f_base64(3)