[TUT] DOS TUT in a CLI (running smoothly different though) :-) - Off-topic

DOS 6.2 Tutorial in a Command Line Interface;
At the risk of revealing my age, ...
Once, a long, long time ago (unpack it and you can start guessing ) a good digital_friend send me this directory. I think I obtained it at first via FidoNet Then later I obtained this newer attached version via BBS
Though zipped it before upping it of course.
[TUT] A nice compiled dos Tutorial 2010-August-8th here on xda-developers.com
Screenshots;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Of course one can unpack it and run it, though ...
Maybe this ADMiN at WORK method is something to write down <g>
Code:
@ECHO OFF
REM below the dos screen is set to show 50 lines in a box (15" CRT monitor). Don't go about and fill in a ridiculous value; you'll get to reboot your precious session! Because you can 1st read the provided manual ;-)
[COLOR=Red]MODE 80,50[/COLOR]
C:
CD C:\PROGRA~1\DOS6T\
HTUTOR.EXE
:END
EXiT
This batch file assumes you have unpacked this zip to C:\Program Files\*
1. Copy and paste the above code in a text editor and save it with a short (8.3) name of your choice.
2. Then rename the *.txt file to *.bat and double click it. (Mine's called Htut6.bat)
3. Press a key to continue...
4. Go to the Advanced Topics for a nice overview.
When you're done and quit the program, I advice to make a shortcut to your *.bat file;
LongPress_RightMouseButton the *.bat file - wait for context menu and select Create Shortcut (move/rename it to your liking)!
Q: Are there still people using DOS? And batch files??!
A: Chef's do! Don't you?
Note;
I never used this tutorial, due to the fact that I used Novell DOS (NDOS) and later moved to JPSoftware its 4DOS (which was a collaboration between NDOS/4DOS) later it was called 4NT command line interpreter (which was making overall dos operations go so much more faster, due to batch files which could/(can) be compiled easily).
Have a nice day/night,

Related

Get ICS-STYLE Settings.apk in AndroWiz3.0 CM7!!

ICS-style Settings.apk in AndroWiz v3 CM7​
So I found this great tutorial on editing your Settings.apk to be more like the Settings in ICS with labels to organize the settings into groups.
By the way I've never done any kind of XML editing before, and this tutorial makes it really easier to understand what you're doing:laugh:
You can find the Tutorial here, written by balamu96m ---->http://forum.xda-developers.com/showthread.php?t=1576565&highlight=framework
So I've made a Settings.apk to replace if you are running AndroWiz 3.0 cm7. It has Wireless & Networks label, Device label, and Personal label.
You can download AndroWiz v3 here----->http://forum.xda-developers.com/showthread.php?t=1560491&highlight=androwiz
This ROM is super fast, and it boots up for me in 15 sec!
This may or may not work with Hashcodes Cyanogenmod7, feel free to test it out if you want though
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is what the labels should say, depending on your theme in Cyanogenmod the Labels may look slightly different. i have notice this when switching to another theme, the labels had a slightly different colored background.
I am not responsible for any damage that you do to your phone in this process
Intstructions:
Firstly always make a backup of the Settings.apk, and make a nandroid if youre feeling extra safe
I would suggest using Root Explorer
Rename to Settings.apk
Copy to SDcard
Navigate to the .apk in Root Explorer
Copy it
Paste it into a /system directory BEFORE putting it in /system/app. I put it in /system/media
If you get an error that it is read-only, press ok, and then hit the button in the right hand corner that says 'Mount R/W'. After you tap it it should now say 'Mount R/O'
Now you can paste it again
Now hold your finger on the .apk, and in the menu that pops up select 'Permissions'
Check these boxes
Code:
owner - read write
group - read
others - read
Now copy the apk to /system/app
If it asks you to replace, select 'yes'
Now go back to /system and press the 'Mount R/O' button
Close Root Browser, reboot, and enjoy!

Enable Sub Symbol On Samsung Keyboard - CUSTOM ROM METHOD.

i've seen a thread in galaxy note 2 sections where the sub symbol can be enabled on the samsung keyboard..you can see original thread here --> http://forum.xda-developers.com/showthread.php?t=2033894
But i did it in another way to make it work on my touchwiz galaxy note N7000 running 4.1.2 JB.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Before we begin,DO THIS AT YOUR OWN RISK
HOW TO :
Nandroid backup or any type of backup first incase s##t happens.
1. Using any file explorer (i'm using solid explorer which edit text files and saved them directly) then go to your /system/csc/others.xml (backup your others.xml first cause we are going to edit this file).
Now,
copy and put these lines INTO your others.xml.
HTML:
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>en_GB;en_US;de;fr;es;it</CscFeature_Sip_EnableSymbolInSecondary>
Makesure you put the above lines AFTER <FeatureSet> and BEFORE </FeatureSet>..meaning to say, in BETWEEN the codes..*u will find it easy on where to put those lines.
Save and set permissions to rw-r-r (if only your explorer doesn't set it automatically).
Next steps,
(below steps are only for users that using DBT or other csc..BTU csc user is not necessary but u may try it if those above steps didn't work)..and I don't know why is it working only when using the BTU files.weird :s.
Remember to always BACKUP!
2. And now, go to your /system/csc/BTU/system/csc and copy these 3 files: contents.db, customer.xml and sales_code.dat..(IGNORE the others.xml file cause its not needed)..
3. Copy those 3 files to your /system/csc and replace the existing files and set permissions rw-r-r and reboot..if it didnt work for you, shut off your phone for a while,and then boot.
Optional : en_GB;en_US;it;fr;de ..these are the language code that need to be added so that the symbols appeared on the keyboard in certain languages. in this case im using eng US and UK, Italian, France and Germany.
So if you want to put another language code, just add to those lines.
You may wanna check the original thread for some more features.
CHEERS.

[DEV] [WIP] Pebble emulator

After a whole lot of long evenings, odd hacking sessions and other fun things, I'm proud to present a full-system emulator for pebble.
This differs from existing solutions by actually emulating the pebble firmware using QEMU rather than simulating system calls!
It's still very much work in progess, but it currently boots a slightly modified firmware and allows navigating around the menus.
The long-term goal is to get it to a state where installing apps using libpebble is possible and hence allow using it for development.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Limitations:
Needs a full dump of the internal flash to boot (Working to allow it to boot a tintin_fw.bin directly)
Requires a modified firmware (BT initialization disabled)
Requires an SPI flash dump to be usable (Needs modified firmware to dump!)
There's currently no way to install apps
It has only been tested with firmware version 2.0.0
Sources:
https://github.com/pebbledev/qemu_pebble
DumpPebble: https://github.com/Hexxeh/DumpPebble
Dump Pebble SPI Flash: https://github.com/EnJens/DumpPebbleSPIFlash
Required patches:
On a full internal flash dump of Firmware 2.0.0 (ev2_4 - e.g. original kickstarter watch!), the following patch needs to be applied to get it running in the emulator:
patch 0x0803d910 1BE0 (Inside a full dump, the offset will be -0x8000000, e.g. offset 0x3d910)
Reserved2
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
fg said:
Does this compile and run under android? I could see this being useful on watch devices like the Omate TrueSmart
Click to expand...
Click to collapse
I doubt the CPU in the Omate is sufficiently powerful to do this right now. (I say right now, because it might theoretically be possible to optimize emulation since the cpu could directly execute most instructions...Similar to x86 on x86 emulation).
But no, this doesn't compile and run under android. It's intended for development of apps, rather than daily usage.
How do you run this under Windows? I can't seem to find a .bat or .exe file. Or does this only run with Linux?

How to restore user dictionary personaldictionary.htcudb

Okay, I am here because I have got enough pain to find out how to actually restore my user dictionary on Sense keyboard. As I am non English speaking person, I have hundreds of non english words in my dictionary and as well as shortcut english words also. So, its pain in ass when flashing a new rom and add those words from scratch. It doesnt happen eventually, and I left adding words after adding once in my whole life. Perhaps I am lazy but well.
So here is goes what HTC says.. http://www.htc.com/us/support/htc-one/howto/365638.html
It says to restore from a file which seemed a fantastic and easy idea but ALAS! There no restore option in keyboard! WTF?
So what we have to is, convert the htcudb file to a text file and restore with a app called Tweak User Dictionary
So the steps are Consifering you have a HTCUDB back file on your SD
Requirements
1.Backup of your user dictionary from HTC device. You must have the PersonalDictionary.htcudb file. To get this file go to Settings(on your HTC ROM), and then tap Language & keyboard >Tap HTC Sense Input.>Tap Personal dictionary >Back up to email.
When prompted, tap OK. You have the PersonalDictionary.htcudb file now.
2.Any office suite application.(MS Office 2010 Recommended)
3.User Dictionary Manager(UDM). Make sure you have it installed. You can find it on Google Play.
Procedure
1. Open the PersonalDictionary.htcudb file using the Word Processor. Use encoding UTF-8.
2. You will notice all your added words separated by "|" symbol. Select all data and do Ctrl+G
3. Go to Replace tab and type "|" (without qoutes ofcourse). Click on "More" button, and then click on "Special" button. Select Manual Line Break option from the drop down menu.
4.Click on REPLACE ALL button. Wait until all words are arranged in one word per line format.
5.Save the filename as wordlist.txt. Move it to your sdcard.
6.Open the TUD application. Click on Import from txt file. type the location and select OK. It will be stuck for 3.4 secs and then it will says *** words adde3d. I added 1012 words.
DONE!
To avoid all this crap above next, just simple back up with the TUD app and restore it with two clicks.
Click thanks If I have helped you a little.
And here is already addded words for some countries which is useful as well!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks to this thread: http://forum.xda-developers.com/showthread.php?t=2744848

[APP][MORTSCRIPT] A Simple HTML5-Slideshow-Creator

My intention was to embed a slideshow within a HTML-page without the need of any browser plugins to show the images, or even worse, to create such a HTML-page with a 3rd-party application I'ld have to pay for.
So I decided to write my own 32-bit "HTML5-Slideshow-Creator" to be run on Windows computers. "HTML5-Slideshow-Creator" is a utility that lets you tansform a picture gallery into a HTML5 compatible slideshow. The HTML5 page produced doesn't require an Internet connection, because the images to be presented aren't located somewhere in the cloud (AKA Complete Loss Of User Data). Hence you can consider the HTML5 page created as a "standalone" image viewer.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"HTML5-Slideshow-Creator" is realized in MortScript language:
The full project-package I've uploaded here to:
http://www.mediafire.com/download/7ohpbioan7nym46/html5-slideshow-creator.zip
The package also contains freeware "painless", a batch image resizer for Windows (does not require being installed or uninstalled).
What you also should know:
Included to "HTML5-Slideshow-Creator" is the ability to convert/optimize the images.
If image to be included into HTML5 slideshow is of file format
a) JPEG then comments and other useless information (such as EXIF information) will be removed
» The tool used is JPEGTRAN (http://linux.about.com/library/cmd/blcmdl1_jpegtran.htm)
b) BMP then it's converted to JPG: BMP files are normally uncompressed, and the compression options available are not very powerful, making the format a poor choice for distribution over the Internet.
» The tool used is BMP2JPG, a small MicroSoft utility - requires MicroSoft .NET framework.
c) PNG then it's optimized, i.e. the size of the file gets losslessly reduced. The resulting "crushed" image will have the same quality as the source image.
» The tool used is PNGCRUSH (http://pmt.sourceforge.net/pngcrush/)
Of course image optimization is optional, you can enable/disable it.
HOW TO MAKE USE OF "HTML5-Slideshow-Creator"
You unzip it, locate folder "html5-slideshow-creator"
and then therein simply run "html5-slideshow-creator.exe". That's all.
After "html5-slideshow-creator.exe" has done its work
you can deploy the ZIP-file created.

Categories

Resources